Open eliezedeck opened 2 years ago
ever resolve? I seem to be hitting this maybe
@aehlke I think not. I believe I patched the origin to handle this case instead. To be honest, I don't really remember how we managed to solve this, but it may be possible that we changed the API signature.
I resolved by disabling chunked transfer resp
Hi,
We're running
cloudflared
and tunneling APIs thru it. Things are running smoothly in general.But today, we have noticed a weird error on several PUT requests, it's only now that we have noticed about it.
First, we got 502 error, and we seem to receive header
Transfer-Encoding: chunked
, something that was not in the original request (this encoding is not supported by the origin). So, I have setdisableChunkedEncoding: true
.Now the error is 411 Length Required error. I can confirm that I do send the
Content-Length: 0
on the PUT request.Here is the redacted output of the
cloudflared
running in debug mode:I've tested the tunnel to my local machine, and see the exact request that is sent to the origin, and I conclude that
Content-Length: 0
is actually removed from the original request and never sent to the origin server. That sounds like a bug to me.I have no idea what's going on, and with the 411 error, the API is actually never called. Anyone has any idea how to solve this? Thanks.
NOTE: We would like to keep using
disableChunkedEncoding: true
if it's possible