All Apps and Add-ons

While registering device to Splunk Cloud Gateway I am getting error 503.

sahabhi606
Path Finder

I tried to register my device, and threw below error:

503 error: Unable to register. Contact your Splunk administrator or try again later

the document says " The connection is unavailable or Splunk Cloud Gateway modular_inputs aren't working". Connection to Cloud gateway service works fine. How can I check for modular_inputs? What can be other possible root cause of this? I have attached a snapshot of the dashboard for cloud gatewayalt text

Do I have to expose my SH to internet in order to set up Splunk Mobile?

Thanks in advance !!

0 Karma
1 Solution

treinke
SplunkTrust
SplunkTrust

You do not need to have your instance exposed to the internet. Looking at the documentation, the 503 error means "The app is unable to connect to the Cloud Gateway service. The connection is unavailable or Splunk Cloud Gateway modular_inputs aren't working.". What is suggested to do is to check that the Splunk server can access the internet.

From the troubleshooting docs (references below):
To check if you have WebSocket connection, run the following curl command at the command line:

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: https://www.websocket.org"; https://echo.websocket.org

To test WebSocket connectivity between your host and Splunk Cloud Gateway, run the following curl command on command line:

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: prod.spacebridge.spl.mobi" -H "Origin: https://prod.spacebridge.spl.mobi"; -H "Authorization: c014fb4e" https://prod.spacebridge.spl.mobi/mobile

On the second source, there is also search commands to track down the internal logs to provide more details.

Sources:
https://docs.splunk.com/Documentation/Gateway/1.8.0/Registration/TroubleshootGateway
https://docs.splunk.com/Documentation/Gateway/1.8.0/Registration/TroubleshootConnectionIssues

There are no answer without questions

View solution in original post

0 Karma

treinke
SplunkTrust
SplunkTrust

You do not need to have your instance exposed to the internet. Looking at the documentation, the 503 error means "The app is unable to connect to the Cloud Gateway service. The connection is unavailable or Splunk Cloud Gateway modular_inputs aren't working.". What is suggested to do is to check that the Splunk server can access the internet.

From the troubleshooting docs (references below):
To check if you have WebSocket connection, run the following curl command at the command line:

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: https://www.websocket.org"; https://echo.websocket.org

To test WebSocket connectivity between your host and Splunk Cloud Gateway, run the following curl command on command line:

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: prod.spacebridge.spl.mobi" -H "Origin: https://prod.spacebridge.spl.mobi"; -H "Authorization: c014fb4e" https://prod.spacebridge.spl.mobi/mobile

On the second source, there is also search commands to track down the internal logs to provide more details.

Sources:
https://docs.splunk.com/Documentation/Gateway/1.8.0/Registration/TroubleshootGateway
https://docs.splunk.com/Documentation/Gateway/1.8.0/Registration/TroubleshootConnectionIssues

There are no answer without questions

View solution in original post

0 Karma

sahabhi606
Path Finder

Hi ,

I am getting [SSL: CERTIFICATE_VERIFY_FAILED] error.

File "/splunk/etc/apps/splunk_app_cloudgateway/lib/cloudgateway/private/registration/authenticate.py", line 25, in submit_auth_code
raise RestException.CloudgatewayServerError('Unable to reach cloudgateway: {0}'.format(e), 503)
CloudgatewayServerError: Unable to reach cloudgateway: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:676)

Any suggestions how to fix it.

Regards,
Abhishek

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!