I have the problem that an arcGIS Server service has recently started generating warnings in the log. The content of the warnings is as follows:
Exception in get user privileges Failed to return the service configuration 'ServiceName.MapServer'. Could not connect to the ArcGIS component at URL 'https://webadaptorurl/portal/sharing/rest/content/items/b0a3f18992264ca2b'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: Read timed out
Failed to return the service configuration 'ServiceName.MapServer'. Could not connect to the ArcGIS component at URL 'https://webadaptorurl/portal/sharing/rest/content/items/b0a3f18992264ca2b'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: Read timed out
The service is called in a web application.
This is a secured service. The user of the web application is logged into the portal.
The service itself has approx. 40 sublayers. Now the web application requests the individual sublayers including tokens. The token is correct and is also correctly attached to each request. The strange thing, however, is that some sublayers report back that the token is invalid. These are not always the same sublayers, but the REST interface reports this seemingly randomly to some sublayers.
The whole construct has worked reliably for years. It is not possible to pinpoint why the problem suddenly occurs. I have also not found any help in relation to ESRI products.
One reference, but not from the GIS environment, says it could have something to do with CORS or RequestHeaders.
I have no idea where to start troubleshooting.
Thank you very much,
Carsten