Load balancer sometimes returns 502 or 404

The load balancer sometimes returns “We’re sorry, but something went wrong.” or “The page you were looking for cannot be served.” error even though the origin servers are healthy. There was no error reported from the origin server and there was no DOWN alert from CF.

Is this is the LB issue?

Screen Shot 2021-10-23 at 15.48.09
Screen Shot 2021-10-23 at 15.57.12

This doesn’t look like a Cloudflare-generated error page.

@erictung you are right, this is a similar issue as proxy - Dokku & Nginx - Connection failed while connecting to upstream (code 111) - Stack Overflow, most probably from dokku or nginx.

1 Like

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