java.lang.RuntimeException: java.lang.Exception: Server returned HTTP status code 301.

803
2
11-04-2019 11:38 AM
CraigAJohnson
New Contributor II

While trying to federate ArcGIS Enterpise I received the error shown below.


java.lang.RuntimeException: java.lang.Exception: Server returned HTTP status code 301. Requested URL: https :// XXX.XXX.XXX:7443/arcgis/sharing/rest/portals/self/servers


I've also noticed while loading all the components of an Enterprise system (Portal, Server, Data Store) that it is extremely delicate and I've had to jump through many hoops to get this far.  I'm at a roadblock now.  This is also the second time I've installed all the software because of other issues.

2 Replies
JonathanQuinn
Esri Frequent Contributor

A 301 HTTP response means that the request was redirected. When do you see that error? In the portal website or are you federating through Portaladmin? Did you define the privatePortalURL in the system properties?

I've also noticed while loading all the components of an Enterprise system (Portal, Server, Data Store) that it is extremely delicate

What do you mean loading? When installing the software, things are delicate? When the software is installed and configured, things stop working?

0 Kudos
DiegoLlamasOlivares
New Contributor III

Hello Quinn,

 

I got this error when I was trying to access portaladmin. I create a ssl certificate request from ArcGIS Server admin. 

In Subject alternative Name I used my public url as suggested in esri documentation. DNS:mapas.gmtgis.net

after change and select that cert in IIS, I got the error 

Server returned HTTP status code 301. Requested URL: https://MAPAS.GMTGIS.NET:7443 and is trying to redirect to my public url instead using my full machine name with ports

 

Any idea?

 

Thanks,

 

DLL

0 Kudos