I just configured the Insights for ArcGIS application on our 10.5 ArcGIS Server environment. After following the guides to setup the requirements I was able to access the application. When trying to add Map Services I get "an error has occured", and watching the browser developer tools I can see that the problem is that Insights is trying to connect to the hosting ArcGIS Server with the https protocol but using the 6080 port. When configuring the web adaptor, the data store and when federating the server I always used https with port 6443. I don't know why but the application keeps trying to use the wrong port.
An example of one of the requests that causes the error could be:
As you can see, it tries to use https on port 6080.
Any suggestions?
Hey Marco,
Thanks for this question. Whenever something like this happens, I always try to rule out the problem by finding out if this issue is not caused by an ArcGIS Enterprise configuration.
Let's go back a level:
1. Let's find out if Portal for ArcGIS organization's Edit Settings page has HTTPS only checked: Configure security settings—Portal for ArcGIS (10.5.x) | ArcGIS Enterprise
2. Let's also find out if ArcGIS for Server allows you to go through port 6443 & 6080 or if it set to allow HTTPS Only for your site: Configuring HTTPS only using the default self-signed certificate—ArcGIS Server Administration (Windows) | ArcGIS Enterprise
3. The third component here is the requirement of two ArcGIS web adaptors. If you're using Windows, then make sure IIS has two bindings for the web adaptors - 80 & 443.
4. Lets get to the next step: Federation between Portal for ArcGIS & ArcGIS for Server: Federate an ArcGIS Server site with your portal—Portal for ArcGIS (10.5.x) | ArcGIS Enterprise
Can we make sure what the Admin URL & Service URL for ArcGIS Server is?
By default, it is:
Admin URL: https://fullyqualifiedmachinename.com:6443/arcgis.
Service URL: https://webadaptordomain.com/<webadaptorname>.
Notice in the above service URL, we're going through the ArcGIS Server web adaptor and we're not using port 6443 or 6080 in the service URL. This allows published hosted services available as content items in Portal for ArcGIS to go through the web adaptor URL and not use the port. Incase, federation wasn't able to pick up on the service URL anomaly, this is why content that you have available are using this URL and might need to be verified again.
Thanks,
Aravind