Linux Web Adaptor: HTTP Status 500 - Cannot proxy request, All Cluster nodes are down

4459
7
10-25-2012 10:36 AM
by Anonymous User
Not applicable
Original User: billy@northlinegis.com
Original Date: 2012-10-25T11:36:42-0600

Hi, I have a fresh Redhat install with tomcat 7 running on port 80 acting as my web server (A). I have another Redhad install with ArcGIS Server 10.1 running smoothly (B). When I configure the web adapter on machine (A) Everything is green and says it's working. However when I visit http://(A)/arcgis/rest/services or http://(A)/arcgis/manager, I get the error "HTTP Status 500 - Cannot proxy request, All Cluster nodes are down." Both machines are completely accesable by IP and name, and have their firewalls disabled.

Screenshots attached, Any help is appreciataed.
0 Kudos
7 Replies
TripMcLaughlin
New Contributor II
SP1 yeilds same error with differen display.... looks nice, same problem... Screen Attached
0 Kudos
by Anonymous User
Not applicable
Original User: billyg123

Had same issue in IIS web Adaptor. Added server (B) to server (A) host file and fixed the problem.

It looks like the Web adaptor won't accept FQDs, so our DNS didn't know where to find it.
0 Kudos
JonasEngedal
New Contributor
I fixed the problem by using the IP address of the ArcGIS Server when configuring Web Adaptor. However, I don't know if this will lead to other problems.

/Jonas
0 Kudos
by Anonymous User
Not applicable
Original User: nknadmin

Had same issue in IIS web Adaptor. Added server (B) to server (A) host file and fixed the problem.

It looks like the Web adaptor won't accept FQDs, so our DNS didn't know where to find it.



This was the fix for us, too.  To elaborate, we use Redhat Enterprise Server v 6.5, tomcat 7, Java 1.7.  The configuration we used on the WA host was something like:

./configurewebadaptor.sh -w http://host.domain.com:8080/arcgis/webadaptor/server -g https://WIN-HOSTNAME:6443 -u arcgis -p arcisfun -a false

So the /etc/hosts file needed the WINDOWS hostname (not the dns hostname) of the Arc server.

e.g.:

123.456.789.123  WIN-HOSTNAME

This because WebAdaptor 10.2 will send the query to the WINDOWS hostname and not the dns address.  This was true even if we specified the IP address of the host to the config script.

The catalina.out log shows this:

WARNING: Exception in connecting to https://WIN-HOSTNAME:6443/arcgis/admin Error in admin request for get machines WIN-HOSTNAME

Hope this helps others.
0 Kudos
DavidJennings
New Contributor II
I was getting this error as well; however, my issue wasn't related to hostname.  

In the Tomcat logs (catalina.out) I found another error message "Unable to load web_adaptor.properties configuration file".

The user I was using to run tomcat didn't have a home directory.   When you run configurewebadaptor.sh; the script wants to create a webadaptor.config file in tomcat user's home directory.   /home/tomcat/.webadaptor/arcgis/webadaptor.config.  It the script can't write this file the script will fail; however, you'll still see the webadaptor show up in ArcGIS Manager.  

Once I created a home directory for the tomcat user.   The configurewebadaptor.sh worked.
CassandraFollett
New Contributor III

David,

Imagine my relief finding this in my google search! I also have set up Tomcat without a home directory, not knowing it would be an issue! I am going to create a home directory for Tomcat, if that fixes the issue you've resolved a week of headaches!

Edit: It did fix the issue. Thanks, David, I hope you know you helped someone three years after this post

0 Kudos
by Anonymous User
Not applicable
Original User: eiparraguirre

Thank you! It still applies for 10.2.1 ... In my case, the configuration file is being written to /opt/apache/.webadaptor/arcgis/webadaptor.config, so I had to put Tomcat's home to /opt/apache and give it the proper rights ...

Cheers, Edgar
0 Kudos