Hapi fhir header too large

62 views
Skip to first unread message

Bharathi Krishnan Elangovan

unread,
Jul 20, 2021, 12:49:04 PM7/20/21
to HAPI FHIR
Hello,
we are hapi fhir starter in container with jetty server, we try to set max header size config in hapi.properties files, jetty.xml config and also environment var but error same. we have some context token which will be more than 8 kb.

hapi.properties
server.max-http-header-size=16KB

in mvn command:
-Djetty.httpConfig.requestHeaderSize=16000

jetty.xml
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Set name="requestHeaderSize">16000</Set>
</New>
</Configure>

kindly let me know if any other options.

Regards
Bharathi

Bharathi Krishnan Elangovan

unread,
Jul 21, 2021, 8:28:16 AM7/21/21
to HAPI FHIR
missed we are using HAPI FHIR 5.1.0
Reply all
Reply to author
Forward
0 new messages