Open SJrX opened 6 months ago
Workaround for #87 #25 https://github.com/plantuml/plantuml-stdlib/issues/79
@SJrX - couldn't you provide an example of docker start shell command, i still can not pass this options to dockerized server
thanks!
just an update for workaround from above
it's much better to use JAVA_TOOL_OPTIONS
in case of docker's jetty read only version since nor JAVA_OPTIONS
neither
_JAVA_OPTIONS
works, yet JAVA_TOOL_OPTIONS
works fine
so i have ended up with sort of requestHeaderSize
set to 64k
docker run -d -p 127.0.0.1:8090:8080 -e JAVA_TOOL_OPTIONS=-Djetty.httpConfig.requestHeaderSize=65536 plantuml/plantuml-server:jetty
@SJrX please Close this
@VladimirAlexiev can you explain why you want this closed. If you are a maintainer can you close it with a rationale. It seemed to have helped at least two people.
Describe the bug This is a duplicate bug, but for some reason none of the existing bugs show up with this error so I wanted to make it searchable, with the solution.
To Reproduce Create a large plantuml diagram with a URL longer than 8 KB.
Expected behavior It should render.
Actual Behaviour Bad Message 414 reason: URI Too Long
Workaround At least for the Jetty version, you can supply the following environment variable to the container.
Additional context Add any other context about the problem here.