<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Getting 502 proxy error (Error reading from remote server)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120478657" />
  <subtitle>Getting 502 proxy error (Error reading from remote server)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120478657</id>
  <updated>2026-06-15T18:55:40Z</updated>
  <dc:date>2026-06-15T18:55:40Z</dc:date>
  <entry>
    <title>RE: RE: Getting 502 proxy error (Error reading from remote server)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120995274" />
    <author>
      <name>Koffi AGHOSTO</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120995274</id>
    <updated>2021-07-29T15:48:41Z</updated>
    <published>2021-07-29T15:48:37Z</published>
    <summary type="html">&lt;p&gt;Hello Christoph,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I would like to ask you question on your suggestion about this issue, I&lt;/p&gt;
&lt;p&gt;get the same error with IBM Http Server (IHS) and Liferay DXP 7.2
  with the error&lt;/p&gt;
&lt;p&gt;&amp;quot;The timeout specified has expired&amp;quot; followed by &amp;quot;Error
  reading from remote server...&amp;quot;&lt;/p&gt;
&lt;p&gt;Can you help me, please&lt;/p&gt;
&lt;p&gt;Thank you in advanced&lt;/p&gt;</summary>
    <dc:creator>Koffi AGHOSTO</dc:creator>
    <dc:date>2021-07-29T15:48:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Getting 502 proxy error (Error reading from remote server)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120480199" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120480199</id>
    <updated>2020-11-30T15:53:49Z</updated>
    <published>2020-11-30T15:53:49Z</published>
    <summary type="html">&lt;p&gt;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)&lt;/p&gt;
&lt;p&gt;Do you have a firewall between the proxy and the server?&lt;/p&gt;
&lt;p&gt;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)&lt;/p&gt;
&lt;p&gt;You should configure the same timeout in the proxy and in the tomcat connector.&lt;/p&gt;
&lt;p&gt;You can check the connection status on your server using netstat, if
  there are lots of open connections ...&lt;/p&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-11-30T15:53:49Z</dc:date>
  </entry>
  <entry>
    <title>Getting 502 proxy error (Error reading from remote server)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120478656" />
    <author>
      <name>Ronak Parekh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120478656</id>
    <updated>2021-08-16T20:35:52Z</updated>
    <published>2020-11-29T13:35:14Z</published>
    <summary type="html">&lt;p&gt;Hello Team,&lt;/p&gt;
&lt;p&gt;We are using Liferay DXP 7.2(liferay-dxp-7.2.10-ga1).&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;PFB Error:&lt;/p&gt;
&lt;p&gt;The proxy server received an invalid response from an upstream server.&lt;/p&gt;
&lt;p&gt;The proxy server could not handle the request GET/&lt;/p&gt;
&lt;p&gt;Reason&lt;strong&gt;: Error reading from remote server&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please help me how I can debug and resolve the issue.&lt;/p&gt;</summary>
    <dc:creator>Ronak Parekh</dc:creator>
    <dc:date>2020-11-29T13:35:14Z</dc:date>
  </entry>
</feed>
