Unable to access https://<portal>/server/rest/services

395
7
01-19-2021 07:17 PM
DeanHowell1
Occasional Contributor II

We are unable to access the https://<portal>/server/rest/services end point and just getting a runtime error.

 

DeanHowell1_0-1611112603565.png

 

Any help would be very much appreciated.

Tags (2)
Reply
0 Kudos
7 Replies
HenryLindemann
Esri Contributor

Hi Dean,

Usually I see this error when there is a web.config in the webserver root, so on windows go to c:\inetpub\wwwroot and remove the web.config file form there. you can just cut and past it into a backup folder for testing.

Kind Regards

Henry

DeanHowell1
Occasional Contributor II

Thanks Henry I will give that a go 🙂

Reply
0 Kudos
DeanHowell1
Occasional Contributor II

Thanks again @HenryLindemann but unfortunately there wasn't a web.config file in the root directory. I can see a web.config in the portal and server directories so maybe one of them is causing the issue?

Reply
0 Kudos
HenryLindemann
Esri Contributor

Hi @DeanHowell1 ok can you log into the webserver and call the url from there and see what the error is then.

Also is the ArcGIS server working correctly you can test this by entering the url on the server that the ArcGIS server is installed on https://localhost:6443/arcgis/rest and also check if you see soc.exe in the task manager

Kind Regards

Henry

DeanHowell1
Occasional Contributor II

Thanks @HenryLindemann your suggestion to see if the soc.exe led us to the issue. We had a failure before Christmas in a HA environment and the web adapter we looking for a server that had terminated in AWS. After repairing the IP address it was able to find the correct end point. Thanks again.

CalvinLietz
Esri Contributor

Hi Dean, 

I am a little confused about your URL there. Does your "portal" site have a web adaptor named "server"? Or am I misinterpreting the syntax?

Reply
0 Kudos
DeanHowell1
Occasional Contributor II

Hello @CalvinLietz , sorry for the confusion but it is the URL to the ArcGIS Server. I am not sure of the web adaptor name in this situation as was not involved in the set-up.

Reply
0 Kudos