ERROR

We were unable to connect to <https://machine.domain/webadaptor>

Last Published: October 13, 2020

Error Message

Attempting to make an ArcGIS Server connection in ArcCatalog fails, returning the error message:

Error:   
We were unable to connect to <https://machine.domain/webadaptor>
Error: Proxy server got bad address from remote server (verify the server is running). (status code 504).
Image of the error message

Cause

ArcGIS Server and Portal for ArcGIS are federated and utilize SAML for authentication.

Solution or Workaround

To resolve, perform the following workaround:

  1. Launch ArcGIS Administrator as an administrator.
  2. Click Advanced > Manage Portal Connections > Add. Enter the Portal for ArcGIS web adaptor URL.
  3. Click Connect > Save.
  4. Click Apply > OK.
  5. Launch Internet Explorer. Click Settings, and select Internet Options from the drop-down list to display the Internet Options window.
  6. Select the Content tab, and click Clear SSL state.
  7. Select the General tab, and click Delete to clear the browser history.
  8. Launch ArcCatalog.
  9. In the Catalog Tree pane, expand GIS Servers, and double-click Add ArcGIS Server to launch the Add ArcGIS Server wizard.
  10. Select Use GIS services, Publish GIS services, or Administer GIS services. Click Next.
  11. Enter the ArcGIS Server web adaptor URL in the Server URL field.
  12. Leave the User Name and Password fields empty, and uncheck the Save Username/Password option, as shown in the following image. Click Finish.
Image of the Server URL field and the User Name and Password fields in the ArcGIS Add Server wizard
  1. Select the SAML login when prompted. The ArcGIS Server connection is successful.

Article ID:000022538

Software:
  • ArcMap
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options