Skip to content

increase request header size #30

Description

@spelkey-ucd

Still seem to be running into request header size issues.

ensure that both apache and quarkus limits are sufficient and match.

add QUARKUS_HTTP_LIMITS_MAX_HEADER_SIZE and maybe QUARKUS_HTTP_LIMITS_MAX_HEADER_LIST_SIZE

keycloak/keycloak#10236

check LimitRequestFieldSize and LimitRequestFields apache config

Chatgpt thinks the following is reasonable:

# Apache side
LimitRequestFieldSize 32768 #32KB
LimitRequestFields 200

# Keycloak side
-e QUARKUS_HTTP_LIMITS_MAX_HEADER_SIZE=65536 #64KB

if that doesnt work, some people had luck with disabling quarkus http2: quarkus.http.http2=false

maybe cut it in half and increase if not enough?

LimitRequestFieldSize 16384
-e QUARKUS_HTTP_LIMITS_MAX_HEADER_SIZE=32768

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions