<?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: Why do I get &amp;quot;Provided token does not have permission to subscribe&amp;quot; after restart? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1577467#M4258</link>
    <description>&lt;P&gt;This particular problem was driving us crazy! Moving the streaming services to the root folder on our Portal fixed it!!! Nice catch on a very strange issue.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 17:35:46 GMT</pubDate>
    <dc:creator>MaxKirschling</dc:creator>
    <dc:date>2025-01-21T17:35:46Z</dc:date>
    <item>
      <title>Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/712950#M3093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using GeoEvent-Server with a StreamService.&lt;/P&gt;&lt;P&gt;GeoEvent-Server ist federated with Portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can successfully publish StreamServices and use them in Portal.&lt;/P&gt;&lt;P&gt;Nevertheless, everytime I restart GeoEventServer StreamServices aren't accessible any longer. In the log-File (karaf.log) you can see (among many other stuff) the following error-messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;p965815353-923 | StreamContainer | 27 - com.esri.arcgis.discovery.arcgis-stream-container - 10.6.1 | Provided token does not have permission to subscribe.&lt;BR /&gt; Line 14443: 2019-05-16T14:01:50,949 | ERROR | qtp965815353-99 | StreamContainer | 27 - com.esri.arcgis.discovery.arcgis-stream-container - 10.6.1 | Provided token does not have permission to subscribe.&lt;BR /&gt; Line 14844: 2019-05-16T14:01:51,415 | ERROR | qtp965815353-923 | StreamContainer | 27 - com.esri.arcgis.discovery.arcgis-stream-container - 10.6.1 | Provided token does not have permission to subscribe.&lt;BR /&gt; Line 15154: 2019-05-16T14:01:51,660 | ERROR | qtp965815353-922 | StreamContainer | 27 - com.esri.arcgis.discovery.arcgis-stream-container - 10.6.1 | Provided token does not have permission to subscribe.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After republising the service with option "overwrite" they start working again.&lt;/P&gt;&lt;P&gt;This leads me to the following question:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Where does the token come from?&lt;/LI&gt;&lt;LI&gt;... where is it stored?&lt;/LI&gt;&lt;LI&gt;... and why do the services get corrupted after restart?&lt;/LI&gt;&lt;LI&gt;... why isn't a new token obtained automatically?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 12:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/712950#M3093</guid>
      <dc:creator>PeterGrüninger</dc:creator>
      <dc:date>2019-05-16T12:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/712951#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning, for anyone who bumps into this issue, check your stream service is shared correctly. By default when publishing from the stream service it doesn't get shared.&lt;BR /&gt;Once I shared to everyone (offline development environment in my case) the errors stopped appearing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 22:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/712951#M3094</guid>
      <dc:creator>MattFoster</dc:creator>
      <dc:date>2020-05-19T22:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1075733#M3589</link>
      <description>&lt;P&gt;We got same error "&lt;SPAN&gt;Provided token does not have permission to subscribe".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sharing public to everyone not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found a token is used when wss subscribed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The service was published using a member account (with admin privilege) . We try to change to publish using initial portal admin account and it works!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 02:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1075733#M3589</guid>
      <dc:creator>DuongHB</dc:creator>
      <dc:date>2021-07-06T02:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1309707#M3986</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We encountered the same issue with GeoEvent Server version 11.1, even when publishing the services with the primary administrator account. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After numerous tests, we discovered that moving/creating the stream service in a folder other than 'root' caused the problem. We received the following error in the logs (karaf.log).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RoxaneParadis_0-1689792672202.png" style="width: 880px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75769i2024D47ED9C87B15/image-dimensions/880x99?v=v2" width="880" height="99" role="button" title="RoxaneParadis_0-1689792672202.png" alt="RoxaneParadis_0-1689792672202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Therefore, we moved all the services back to the 'admin/root' folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Subsequently, the following error appeared for all our services using the 'store latest' option: &lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;(index):150 [esri.layers.graphics.sources.connections.GeoEventConnection] websocket-connection WebSocket closed unexpectedly with error code 1011.&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;For these stream services, a restart of GeoEvent Server allowed us to restore everything&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 18:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1309707#M3986</guid>
      <dc:creator>RoxaneParadis</dc:creator>
      <dc:date>2023-07-19T18:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1577467#M4258</link>
      <description>&lt;P&gt;This particular problem was driving us crazy! Moving the streaming services to the root folder on our Portal fixed it!!! Nice catch on a very strange issue.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 17:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1577467#M4258</guid>
      <dc:creator>MaxKirschling</dc:creator>
      <dc:date>2025-01-21T17:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get "Provided token does not have permission to subscribe" after restart?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1577468#M4259</link>
      <description>&lt;P&gt;Wow I think that was our problem. I moved a stream service from my Portal root to a subfolder for organization purposes. I didn't putt 2 and 2 together to realize that was the only change I had recently made, and that this had suddenly borked our stream. We were about to start completely tearing down and rebuilding all of our services to try to figure out the problem. You definitely saved us a lot of headache. Did anyone from ESRI ever respond about this issue? I wonder if this is a bug that continues beyond 11.1?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 17:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/why-do-i-get-quot-provided-token-does-not-have/m-p/1577468#M4259</guid>
      <dc:creator>CalvinHarmin</dc:creator>
      <dc:date>2025-01-21T17:37:38Z</dc:date>
    </item>
  </channel>
</rss>

