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 import doesn't work in local network #433

Open
romkavt opened this issue Oct 14, 2024 · 0 comments
Open

PlantUML import doesn't work in local network #433

romkavt opened this issue Oct 14, 2024 · 0 comments

Comments

@romkavt
Copy link

romkavt commented Oct 14, 2024

Starting PlantUML version 1.2024.5 and above, the PlantUML team had implemented some security constraints: the import from local network addresses, localhost, IP addresses and so on are fobidden by security policy.
This change breaks the correct work of IDEA plugin too - the diagrams with "!include" directives stops rendering from plantuml version 1.2024.5

I've raised an issue to PlantUML team:
plantuml/plantuml#1927

The current workarounds are:

  1. Rollback to PlantUML version 1.2024.4

  2. Tune the PlantUML securoty policy (Mac OS):

  • set env variable with hostnames, for example
$ export PLANTUML_ALLOWLIST_URL=https://bitbucket.yooteam.ru
  • then run idea from command-line
$ "/Applications/IntelliJ IDEA CE.app/Contents/MacOS/idea"

I suggest to implement the hosts allowlist in plugin settings.
For more information see the discussion here

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

1 participant