Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 414 URI Too Long #578

Open
werwolfby opened this issue Apr 2, 2024 · 4 comments
Open

Error: 414 URI Too Long #578

werwolfby opened this issue Apr 2, 2024 · 4 comments

Comments

@werwolfby
Copy link

werwolfby commented Apr 2, 2024

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

@JohnLeyva
Copy link

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)

@werwolfby
Copy link
Author

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

@JohnLeyva
Copy link

Another workaround

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

127.0.0.1 plantuml.local

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

@werwolfby
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants