502 bad gateway post response but no request in nginx log

I'm trying to send multiple post requests to a web server, but after a while I am getting 502 responses from cloudflare but if I check the nginx log the request was never made to the server, could this be a cloudflare proxy issue and how would I go about fixing it?
3 Replies
KaseToatz
KaseToatz9mo ago
yeah i noticed but ive been having this issue for months it just happens randomly to some requests but most of the requests go through succesfully
Beef
Beef9mo ago
if youre not using pages and this has been happening for months - doesnt sound like yesterdays issue is your problem. https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-502-bad-gateway-or-error-504-gateway-timeout. in my experience - this is usually due to origin or client being overloaded
Troubleshooting Cloudflare 5XX errors · Cloudflare Support docs
When troubleshooting most 5XX errors, the correct course of action is to first contact your hosting provider or site administrator to troubleshoot and …