Enlarging max-http-header-size
Is there any way to set custom max-http-header-size value? Maybe I can set it using setting.yml somehow?
Out of curiosity what size are you loading?
Out of curiosity what size are you loading?
Keycloak returns cookie up to 6 mb, I can't make it smaller
yeah just add this in settings.yml
server:
max-http-header-size: 10MB
yeah just add this in settings.yml
server: max-http-header-size: 10MB
I can make another .yml file with these lines and it will be merged with the main one, right?
No please add to same configs/settings.yml
max-http-header-size: 10MB
I work in k8s and get Read-only file system exception, how can I overcome this?
volumeMounts:
- name: settings
mountPath: /configs/settings.yml
subPath: settings.yml
Google says
volumeMounts:
- name: settings
mountPath: /configs/settings.yml
subPath: settings.yml
readOnly: false # Make sure this is set to false
still get "Request header is too large" error... any other thoughts about what could be wrong?
After restart of app?
After restart of app?
yes, after redeploying the chart I use the app in
This code works properly:
server:
max-http-request-header-size: 12KB
This code works properly:
server: max-http-request-header-size: 12KB
Interesting why does that work if you said header can be 6mb?
This code works properly:
server: max-http-request-header-size: 12KBInteresting why does that work if you said header can be 6mb?
the value is not the case, but the syntax also cookies are 6KB, not MB, my fault hahah