plantuml/plantuml-server

Plantuml server not working for large files

sumanthjoel opened this issue · 1 comments

Hi,
We are trying to deploy plantumlserver in our environment using the Jetty docker image (plantuml/plantuml-server:jetty). But, when trying to load large plantuml files, the browser shows the below error:
"Bad Message 431
reason: Request Header Fields Too Large"
Also, we can see the below entries in the service logs:
"2019-03-07 11:46:39.709:WARN:oejh.HttpParser:qtp693632176-10: Header is too large 8193>8192"

I tried increasing the request header size limit of the Jetty server by passing the argument "-Dorg.eclipse.jetty.server.HttpConfiguration.requestHeaderSize=32768" to the docker service, but it does not help.

Thanks,
Sumanth

Facing the same issue. I am using tomcat and the workaround I discovered was to add maxHttpHeaderSize to the Connector in libexec/conf/server.xml

   <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               maxHttpHeaderSize="32768" />