发布

  • [OPIK-2303] [BE] Fix 431 Request Header Fields Too Large errors by increasing Dropwizard header size limit (#3116)

    frostbyte_neo 发布于 2025-08-28 14:24:04 +00:00

    • [NA] Fix 431 Request Header Fields Too Large errors
    • Add maxRequestHeaderSize configuration to Dropwizard server config
    • Set default to 16KB (16KB) to match ALB/Nginx request line limit
    • Add environment variable SERVER_MAX_REQUEST_HEADER_SIZE for configuration
    • Update both main config.yml and test config-test.yml
    • Add comprehensive E2E test for header size validation
    • Test requests below, at, and above the configured limit
    • [OPIK-2303] Fix 431 Request Header Fields Too Large errors
    • Add maxRequestHeaderSize configuration to Dropwizard server config
    • Set default to 16KB (16KB) to match ALB/Nginx request line limit
    • Add environment variable SERVER_MAX_REQUEST_HEADER_SIZE for configuration
    • Update both main config.yml and test config-test.yml
    • Update apps/opik-backend/config.yml

    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

    • Update apps/opik-backend/src/test/resources/config-test.yml

    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

    • Update apps/opik-backend/src/test/resources/config-test.yml

    fix tests

    • Update apps/opik-backend/src/test/resources/config-test.yml

    Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com

    下载附件