Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Getting 502 proxy error (Error reading from remote server)
Hello Team,
We are using Liferay DXP 7.2(liferay-dxp-7.2.10-ga1).
I am getting 502 proxy error(Error reading from remote server) and not able to access the server until I restart Application Server. I am not able to find root cause for this error and also I am not getting any errors in logs. I don't know whether it is due to any activity performed on server or any other reasons.
PFB 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
Please help me how I can debug and resolve the issue.
Just guessing here, it could help if you tell us which proxy(Apache, Nginx, ...) and app servers you use and how you connected them(relevant lines of config)
Do you have a firewall between the proxy and the server?
One thing that bit me before are timeouts/lost connections. e.g. the ajp connector has an infinite timeout, while e.g. Apache has a default timeout of 60 seconds (I think)
You should configure the same timeout in the proxy and in the tomcat connector.
You can check the connection status on your server using netstat, if there are lots of open connections ...
Hello Christoph,
I would like to ask you question on your suggestion about this issue, I
get the same error with IBM Http Server (IHS) and Liferay DXP 7.2 with the error
"The timeout specified has expired" followed by "Error reading from remote server..."
Can you help me, please
Thank you in advanced
Powered by Liferay™