502 Bad Gateway API response

In our environment, we often getting 502 bad gateway ( The remote server returned with 502 bad gateway API Response ) . We have checked the DNS configuration and also from the AWS instance aswell … we didn’t come across with any errors in the log files … Could someone advise where and how to fix the issue …

The 502 errors are caused by a problem connecting to an upstream server - meaning your server is trying to initiate a process and this fails to work as expected or times out. In most cases of 502 errors, back-end servers are not communicating correctly. When this happens, you will see color page with Cloudflare branding and the Error 502 Bad Gateway.

Review this Community Tip for fixing 502 errors.

Yes , it happened as you said , we can see connections established with Cloudflare and getting an error with the host … How to overcome

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.