I am using a cloudflare proxy via DNS cname to route traffic to my nodejs backend. I am finding that a random amount of traffic is arriving to the backend server with a large delay 10-30 seconds. It is not happening to all traffic. I am using a configuration rule to skip most if not all cloudflare features on this host.
We get webhook events to our nodejs server and they are being received up to 30 seconds late when going through the cloudflare proxy, causing an 502 error/timeout from the sender.
I have since switched the webhook url to use the non-proxied url directly with the host of the nodejs server, and since then have not seen a timeout error. This leads me to believe the issue is with the cloudflare proxy.
Any ideas here?