Forum Stats

  • 3,734,237 Users
  • 2,246,918 Discussions


ORDS - 502 Web server received an invalid response

Datla Avinash Varma
Datla Avinash Varma Member Posts: 902 Bronze Trophy

We are using ORDS 20 deployed on a weblogic server (12c) and assigned a manager server as target. It is working fine as expected but very randomly for one of the endpoint in production we are getting below error and after sometime it works as expected. Not able to replicate the same error in lower instances

502 - Web server received an invalid response while acting as a gateway or proxy server.</h2>

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

Verified weblogic adminserver and managed server log, don't see any errors.

same exact endpoint call with same query parameters working fine after sometime. verified backend ords query in database as well, result comes in less than 2 seconds.

How to debug and find the root cause. Could someone please help, if anyone has faced the similar issue.


  • Billy Verreynne
    Billy Verreynne Member Posts: 28,280 Red Diamond
    edited May 28, 2021 6:13AM

    Web proxy is used when your client is configured to use a web proxy (e.g. for Internet access.

    You type in the browser to access. The browser does not contact directly. Instead it sends the URL requested to the web proxy server at

    The web proxy gets the request and issues it (contacts on behalf of the client. It receives the response from and passes this back to the client.

    The 502 error is send to the client when the proxy server's request, to in this example, fails.

    It seems at your weblogic server is acting as a proxy and contacting ORDS via a http call - and this is failing at times? Never used weblogic and have no idea how it is or can be configured.

Sign In or Register to comment.