Reponse 431 "Request Header Fields Too Large"

sometimes other services on our domain set very long cookies. These cookies lead to 431 responses in our event tracking. Can we increase the HTTP Header Size in the collector? Or is there another way to fix this issue?
We run the Scala Stream Collector 1.0.0 on GCP.

Thank you!

You can override this with akka.http.server.parsing.max-header-value-length in the collector configuration - I believe the default is 8k.

Hi @mike, thank you! That resolved the issue for us.

1 Like