<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Cloud Gateway - Splunk AR Device Registration Issues in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382311#M46507</link>
    <description>&lt;P&gt;What is the version of the CloudGateway on the Splunk server?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 16:37:34 GMT</pubDate>
    <dc:creator>treinke</dc:creator>
    <dc:date>2019-05-20T16:37:34Z</dc:date>
    <item>
      <title>Splunk Cloud Gateway - Splunk AR Device Registration Issues</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382310#M46506</link>
      <description>&lt;P&gt;I am Unable to register a clients Splunk AR device through the gateway.&lt;/P&gt;

&lt;P&gt;All other devices we've tested seem to work no problem, both viewing dashboards from QR codes and registering devices. The modular input scripts are all running (I have restarted splunk and also disabled/enabled them on through the UI) and the Cloud Gateway Status Dashboard all looks good/green.  Everything seems to be working except the clients iPhone.&lt;/P&gt;

&lt;P&gt;The client has provided several keys now including via screenshot (ruling out typos) but always returns &lt;CODE&gt;Invalid activation code.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Client installed the app from the App Store late last week, so it should be reasonably current.&lt;/P&gt;

&lt;P&gt;Here are the relevant bits of &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk/splunk_app_cloudgateway.log&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-20 12:41:27,331 ERROR [rest_base] [base_endpoint] [handle] [3253] Spacebridge error
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/splunk_app_cloudgateway/bin/spacebridgeapp/rest/base_endpoint.py", line 54, in handle
    res = self.get(request)
  File "/opt/splunk/etc/apps/splunk_app_cloudgateway/bin/spacebridgeapp/rest/registration_query_handler.py", line 55, in get
    return handle_query(auth_code, device_name, user, system_authtoken)
  File "/opt/splunk/etc/apps/splunk_app_cloudgateway/bin/spacebridgeapp/rest/registration_query_handler.py", line 75, in handle_query
    sb_response = sb_http.authentication_query_request(auth_code, encryption_context)
  File "/opt/splunk/etc/apps/splunk_app_cloudgateway/bin/spacebridgeapp/rest/services/spacebridge_service.py", line 57, in authentication_query_request
    response.status_code
SpacebridgeServerError: Spacebridge request error: Unknown authentication code
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-20 12:41:26,575 INFO [rest_base] [base_endpoint] [handle] [3253] in base rest class request is:{u'session': {u'user': u'tom', u'authtoken': u'MASKED'}, u'connection': {u'listening_port': 8000, u'src_ip': u'MASKED', u'ssl': False}, u'lang': u'en-US', u'output_mode': u'xml', u'query': {u'device_name': u'jw2', u'auth_code': u'NEAJF55HQN'}, u'restmap': {u'conf': {u'script': u'spacebridgeapp/rest/registration_query_handler.py', u'passPayload': u'true', u'passHttpHeaders': u'true', u'handler': u'spacebridgeapp/rest/registration_query_handler.RegistrationQueryHandler', u'match': u'/registration/query', u'capability.get': u'cloudgateway_write', u'passSystemAuth': u'true', u'requireAuthentication': u'true', u'passHttpCookies': u'true', u'output_modes': u'json', u'scripttype': u'persist'}, u'name': u'script:registration_query'}, u'cookies': [[u'splunkweb_csrf_token_8000', u'MASKED'], [u'session_id_8000', u'MASKED'], [u'splunkd_8000', u'MASKED']], u'headers': [[u'Host', u'MASKED:8000'], [u'Connection', u'keep-alive'], [u'User-Agent', u'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36'], [u'Accept', u'*/*'], [u'Accept-Language', u'en-US,en'], [u'DNT', u'1'], [u'Accept-Encoding', u'gzip, deflate'], [u'Cookie', u'splunkweb_csrf_token_8000=MASKED; session_id_8000=MASKED; splunkd_8000=MASKED']], u'rest_path': u'/registration/query', u'output_mode_explicit': False, u'server': {u'guid': u'MASKED', u'servername': u'MASKED', u'rest_uri': u'https://127.0.0.1:8089', u'hostname': u'MASKED'}, u'method': u'GET', u'system_authtoken': u'MASKED'}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 May 2019 12:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382310#M46506</guid>
      <dc:creator>tomlongfi</dc:creator>
      <dc:date>2019-05-20T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud Gateway - Splunk AR Device Registration Issues</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382311#M46507</link>
      <description>&lt;P&gt;What is the version of the CloudGateway on the Splunk server?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 16:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382311#M46507</guid>
      <dc:creator>treinke</dc:creator>
      <dc:date>2019-05-20T16:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud Gateway - Splunk AR Device Registration Issues</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382312#M46508</link>
      <description>&lt;P&gt;It is running 1.3.1 (and has done since it was installed) on top of Splunk Enterprise Server 7.2.6&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 09:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Cloud-Gateway-Splunk-AR-Device-Registration-Issues/m-p/382312#M46508</guid>
      <dc:creator>tomlongfi</dc:creator>
      <dc:date>2019-05-21T09:49:37Z</dc:date>
    </item>
  </channel>
</rss>

