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

Plantuml - 414 Request-URI Too Large #6

Open
jroszkiewicz opened this issue Feb 16, 2022 · 1 comment
Open

Plantuml - 414 Request-URI Too Large #6

jroszkiewicz opened this issue Feb 16, 2022 · 1 comment
Assignees

Comments

@jroszkiewicz
Copy link

Hey,
we have a lot of entities in project, so when I tried to create diagram by command I got an error:

Warning: file_get_contents(http://www.plantuml.com/plantuml/svg/{blablabla}): Failed to open stream: HTTP request failed!

Manual result of http request: 414 Request-URI Too Large

I know it's depends on 3rd party solutions, but maybe is any other solution?

@jawira
Copy link
Owner

jawira commented Oct 10, 2022

Hello, sorry for the delay but I totally missed this issue.
You are right, internally I use public PlantUml server, in order to avoid abuse they do not allow to convert huge diagrams.
One solution is to use .puml format using --extension option, then install PlantUml locally to convert your puml diagram to png:

// generate diagram.png
$ plantuml -tpng diagram.puml

Following version will include this in configuration, please be patient.

@jawira jawira self-assigned this Nov 9, 2022
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