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 gateway
Do I have to expose my SH to internet in order to set up Splunk Mobile?
Thanks in advance !!
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
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
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