Why do I get "Provided token does not have permission to subscribe" after restart?

235
1
05-16-2019 05:22 AM
Highlighted
New Contributor II

I'm using GeoEvent-Server with a StreamService.

GeoEvent-Server ist federated with Portal.

I can successfully publish StreamServices and use them in Portal.

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:

p965815353-923 | StreamContainer | 27 - com.esri.arcgis.discovery.arcgis-stream-container - 10.6.1 | Provided token does not have permission to subscribe.
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.
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.
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.

After republising the service with option "overwrite" they start working again.

This leads me to the following question: 

  • Where does the token come from?
  • ... where is it stored?
  • ... and why do the services get corrupted after restart?
  • ... why isn't a new token obtained automatically? 

Any help would be appreciated.

Peter

Tags (2)
Reply
0 Kudos
1 Reply
Highlighted
New Contributor

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.
Once I shared to everyone (offline development environment in my case) the errors stopped appearing.

Good luck,

Matt

Reply
0 Kudos