Keep getting Error: 520

0 votes
asked Nov 5 in Question / help by muteboy (220 points)

I'm having trouble with previewing PlantUML.

In the VSCode extension, I get a broken image symbol, and this error text:

Error: 520
GET https://www.plantuml.com/plantuml/svg/0/...
at ClientRequest.closeCallback (c:\Users\Matthew.Petty\.vscode\extensions\jebbs.plantuml-2.18.1\out\src\plantuml\renders\httpWrapper.js:78:27)
at ClientRequest.emit (node:events:519:28)
at TLSSocket.socketCloseListener (node:_http_client:481:9)
at TLSSocket.emit (node:events:531:35)
at node:net:346:12
at TCP.done (node:_tls_wrap:650:7)

I also tried using a local JAR instead of the online server, but that didn't seem to work

In the old online editor, it seems to work OK.

In the new online editor, I just get the broken image icon.

Can anyone help?

1 Answer

0 votes
answered 6 days ago by valexiev (1,820 points)
What's the diagram that causes this error? This SVG diagram displays ok:

https://www.plantuml.com/plantuml/svg/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vt98pKi1IW80
...