-
-
Notifications
You must be signed in to change notification settings - Fork 995
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
Scenario in Ditaa that "hangs" PlantUML #1036
Comments
Thanks for the report. So maybe you can open an issue on Ditaa (not sure that this is possible). However, we did implement a workaround to avoid infinite loop. This is far from perfect but at least it protects against the timeout. Sorry we could not do better! |
As this usecase does work with the ditaa JAR, I asume it has something to do with the integration side of things? @arnaudroques Do you have any details on how/where the issue lies with the Ditaa code?
Ditaa is currently in a state of limbo. The original author has stated they are no longer in a position to maintain the project but a new maintainer has not (yet) been found. |
Closing this as the original issue is resolved by 649a13e. |
There is a scenario when using Ditaa that causes PlantUML to "hang".
I have reduced this case to a minimum example:
The online server gives:
504 Gateway Time-out The server didn't respond in time.
To reproduce locally, run:
This will give the following output:
The CPU goes to 100% and the process just keeps running.
It doesn't crash but it also doesn't time-out. (I gave up after 90 minutes...)
Compared to a normal run:
I have verified that this case does work with the latest rlease of ditaa (0.11).
Running this:
java -jar /opt/ditaa-0.11.0-standalone.jar <(echo '-=') /dev/stdout
gives the following output:
The text was updated successfully, but these errors were encountered: