powered by Jive Software

502 proxy error trying to access the admin panel

I restarted the Jumpbox earlier this afternoon. After it came up, I was able to login to Openfire just fine using Spark, but I’m no longer able to access the admin panel through my web browser. Any help would be appreciated. Error message below:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server


Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.14 (Ubuntu) Server at x.x.x.x Port 80

After messing around with this for the past 24 hours, I finally figured out that the admin console port settings had been modified in the config. The admin console port was set to 443, though it had been that way for months, the server had not been restarted, so the settings didn’t take effect. From the looks of things, Apache was not talking to the instance of Tomcat on the correct port. There was essentially a proxy mismatch, and would not respond to client GET requests. After resetting the admin console ports in the /storage/openfire/conf/openfire.xml file, I restarted the Jumpbox again, and everything came up just fine… THANK GOODNESS!!!