502 Bad Gateway between Cloudflare and our API server

hi @davidsneighbour, as per ​​502/504 from your origin web server

Cloudflare returns an Cloudflare-branded HTTP 502 or 504 error when your origin web server responds with a standard HTTP 502 bad gateway or 504 gateway timeout error.

Is there anything in the Clouflare interface that we can use to debug the issue?

You can check on the Cloudflare dashboard under Analytics & Logs > Traffic > Status Code (502).

I went ahead and looked up our internal dashboards for 502 on wonderlandengine.com, and there were no errors in the past 24 hours.

If you are pushing these logs and fields to your own storage(API server), are you able to share the log with all the fields you have captured, as we can use this to investigate further?

1 Like