Public bug reported:

---
$ lsb_release -rd
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
$  apt-cache policy plantuml
plantuml:
  Installed: 1:1.2017.15-1
  Candidate: 1:1.2017.15-1
  Version table:
 *** 1:1.2017.15-1 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status
---

PlantUML does not consider any of the system proxy environment variables
like HTTP_PROXY or HTTPS_PROXY.

Java has a system property java.net.useSystemProxies to use system proxy
varables in all http calls:
https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html


The startup script under `/usr/bin/plantuml` can be updated to change this. If 
the last line in the startup script is changed with this one, it'd be fixed:

$JAVA -jar -Djava.net.useSystemProxies=true
/usr/share/plantuml/plantuml.jar ${@}

** Affects: plantuml (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1819119

Title:
  plantuml does not use system proxy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plantuml/+bug/1819119/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to