net/http: auth.tiki-dsp.io sent ENHANCE_YOUR_CALM on >4KB header #34811
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
This issue could be similar with this:
#20979
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
We want to create a new realm programmatically in our idenity provider Keycloak with the go http client library.
We are using the keycloak:6.0.1 version.
The problem only arises if the HTTP authorization header is greater than 4KB. With headers under 4KB we get a success response.
To fix this problem we are testing the following:
The actual workaround is to set "http2client=0" off. Unfortunately there is no clean way to give the go http client a property which disable the http2 client support.
Currently we have no idea what the problem could be.
Maybe there is a problem between go http client and the Keycloak JBoss server implementation...
What did you expect to see?
A success response from the identity provider keycloak without to set the flag "http2client=0"
What did you see instead?
Http Code 420 enhance your calm.
Here is the http2 detailed error message. (GODEBUG=http2debug=2)
Here is also a code snippet which was causing the above mentioned issue:
The text was updated successfully, but these errors were encountered: