Commit 4dd2e43
[OPIK-2303] [BE] Fix 431 Request Header Fields Too Large errors by increasing Dropwizard header size limit (#3116)
* [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>1 parent 6072753 commit 4dd2e43
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
0 commit comments