Error parsing headers: 'limit request headers fields size'

Hi folks,

I receive a lot of data through http headers (jwt token) and it seems a bit too much for Traefik.

I can't find the proper way to increase the size of my http headers. I tried:

kind: Middleware
  name: headersize
    maxRequestBodyBytes: 20000000000
    maxResponseBodyBytes: 20000000000
kind: Ingress
  annotations: default-internal-auth@kubernetescrd, default-headersize@kubernetescrd (is it how we use multiple middlewares ?)

But I still get the same error...

Any help appreciated !

Hello @rguichard,

Thanks for your interest in Traefik!

I don't think that the Buffering middleware will help your use case. It would be used more to limit the size of requests that can be forwarded to services.

Can you provide a reproducible case and the logs of Traefik?

Hi @rtribotte ,

Never mind, we found that our upstream application was the root problem... Sorry for the noise !