vscode-plantuml icon indicating copy to clipboard operation
vscode-plantuml copied to clipboard

Error: 414 URI Too Long

Open werwolfby opened this issue 10 months ago • 4 comments

When working over local render server I starts to get 414, the same docker container worked before the update for the same diagrams.

werwolfby avatar Apr 02 '24 01:04 werwolfby

my renderer is also located in locahost

Wondering if it is possible to use POST instead of GET

Error: 414 URI Too Long

GET http://localhost:8080/svg/0/... at ClientRequest.closeCallback (c:\Users\XXXXXX.vscode\extensions\jebbs.plantuml-2.18.1\out\src\plantuml\renders\httpWrapper.js:78:27) at ClientRequest.emit (node:events:514:28) at Socket.socketCloseListener (node:_http_client:464:9) at Socket.emit (node:events:526:35) at TCP. (node:net:323:12)

JohnLeyva avatar Apr 12 '24 14:04 JohnLeyva

I've installed plantuml locally to mitigate the issue for now.

werwolfby avatar Apr 12 '24 14:04 werwolfby

Another workaround

Add to C:\Windows\System32\drivers\etc\hosts

127.0.0.1 plantuml.local

In settings use http://plantuml.local:8080

JohnLeyva avatar Apr 12 '24 14:04 JohnLeyva

You mean that issue is only for localhost? Then I can just use docker host name.

werwolfby avatar May 09 '24 03:05 werwolfby