HTTP ERROR Internal Server Error

4734
4
Jump to solution
10-26-2017 01:17 PM
EricShreve
Occasional Contributor II

I am completely stumped as to why this issue keeps appearing. I recently upgraded to ArcGIS Enterprise from AGS 10.1 and configured Portal and Server. Everything has been running on my end with publishing services and posting them on AGOL and Portal for app development. A colleague of mine was not able to see a specific map service on one of the applications that I created. After some initial testing through Google Chrome Dev Console and Fiddler I saw that the map service was highlighted red with an HTTP ERROR 500 Internal Server Error. I have logged a case number with ESRI Tech Support but yet have not received a response or a solution yet. I wanted to know if anyone else has encountered this issue and if they have resolved it? It has been a frustrating issue and I believe this may be hindering the full use of ArcGIS Enterprise. I have attached a screenshot that shows the issue that I am receiving in the Dev Console with the HTTP ERROR.  

Just Some notes:

  • ArcGIS Enterprise is set up 10.5.1
  • Windows Server 2008 R2 Enterprise.
0 Kudos
1 Solution

Accepted Solutions
EricShreve
Occasional Contributor II

I solved the problem after talking with ESRI Tech Support. I was using the rest services over port 6443 https://gisweb.azdema.gov:6443/arcgis instead of the web adaptor URL which should have actually been https://gisweb.azdema.gov:6443/server because I called my web adaptor "server" when I was adding content to AGOL.

Also, I needed to change my Portal URL because it was referencing my Fully Qualified Domain Name (Local Host) rather than the DNS Alias. All it took was updating the Properties in the Portal Admin to the DNS Alias. Easy fix I should have discovered it early. Hopefully, this is descriptive enough if someone encounters a similar error. 

View solution in original post

0 Kudos
4 Replies
DerekLaw
Esri Community Moderator

Hi Eric,

  • Can you provide more details about your configuration?
  • Is the ArcGIS Server site federated with Portal for ArcGIS?
  • What is the authentication configured on Portal?
  • Have you checked the ArcGIS Server logs for error messages?

About server logs—ArcGIS Server Administration (Windows) | ArcGIS Enterprise 

About specifying server log settings—ArcGIS Server Administration (Windows) | ArcGIS Enterprise 

Hope this helps,

RandallWilliams
Esri Regular Contributor

Hi Eric,

Additional questions:

How are these apps being built?

Are you using the Resource Proxy (proxy page) to access this service?

The service doesn't look to be a hosted feature service, and I can reach your service and view it in the JS API if I go directly to the service instead of going through the proxy page. The 500 error in your screenshot doesn't look like it's coming from the GIS Server to me, it looks like it's likely coming from a proxy page.

EricShreve
Occasional Contributor II

I solved the problem after talking with ESRI Tech Support. I was using the rest services over port 6443 https://gisweb.azdema.gov:6443/arcgis instead of the web adaptor URL which should have actually been https://gisweb.azdema.gov:6443/server because I called my web adaptor "server" when I was adding content to AGOL.

Also, I needed to change my Portal URL because it was referencing my Fully Qualified Domain Name (Local Host) rather than the DNS Alias. All it took was updating the Properties in the Portal Admin to the DNS Alias. Easy fix I should have discovered it early. Hopefully, this is descriptive enough if someone encounters a similar error. 

0 Kudos
EricShreve
Occasional Contributor II

Correction the correct URL should be without the port number so it should be https://gisweb.azdema.gov/server

0 Kudos