#traefik as reverse proxy fails requests from trpc nextjs

5 messages · Page 1 of 1 (latest)

bold meadow
#

500 Internal Server Error error="net/http: HTTP/1.x transport connection broken: too many transfer encodings: [\"chunked\" \"chunked\"]"

i get this error when using trpc with traefik ^
any ideas what this even means

atomic wagon
#

trpc..

#

(╯°□°)╯︵ ┻━┻

#

You'll have to treat the upstream as a pass‑through and avoid letting it re-apply the Transfer-Encoding inline.

#

With that being said, are you writing middleware in go or?