cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

handle http2 GOAWAY

Open ganey opened this issue 6 months ago • 2 comments

I've been experiencing the GOAWAY error, it comes in spikes and affects thousands of our users.

We run roughly 9 cloudflared, with 4gb ram, 4cpu each, lowest traffic is around 60 requests/s per cloudflared. We find these GOAWAY errors in the logs when we noticed a huge spike in 524 errors to our users.

Builds on top of this PR https://github.com/cloudflare/cloudflared/pull/1274

Fixes https://github.com/cloudflare/cloudflared/issues/1273

Allows http2 requests to be retried only when a GOAWAY frame is received.

GOAWAY spec: https://datatracker.ietf.org/doc/html/rfc7540#section-6.8 How GetBody is handled: https://github.com/golang/net/blob/master/http2/transport.go#L664

ganey avatar Jun 22 '25 20:06 ganey

ping @ganey

diogotorres97 avatar Jul 18 '25 10:07 diogotorres97

ping @ganey

hey, what do you need from me?

ganey avatar Jul 18 '25 11:07 ganey