From time to time, a public webapp is prompting for password though all the ressources are shared publicly.
Network tab shows a "499 error, Token required", but after a refresh everything works fine and no login popup is displayed.
The webapp consumes both hosted data (from a hosted ArcGIS Server) and non-hosted data (from a federated ArcGIS Server) but the issue seems to occur only on non-hosted data that is to say data coming from the federated ArcGIS Server.
Having a look at the log from this ArcGIS Server, I have the following error:
Failed to return the service configuration 'MyFolder/MyService.MapServer'. Could not connect to the ArcGIS component at URL 'https://portalforarcgishost.company.com:7443/arcgis/sharing/rest/content/items/794480bd54ds116beefd6bba59bfa'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: Connect to portalforarcgishost.company.com:7443 [portalforarcgishost.cern.ch/100.200.300.400] failed: connect timed out
This service is configured with a referenced file geodatabase located on a volume attached to the VM so data are rather "local" so I am surprised by this timeout.
Any idea ?