plantuml does not use system proxy

Bug #1819119 reported by Hakan D
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plantuml (Debian)
Fix Released
Low
Andrej Shadura
plantuml (Ubuntu)
Fix Released
Undecided
Andrej Shadura

Bug Description

---
$ 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 ${@}

Revision history for this message
Hakan D (hakandilek-gmail) wrote :

Here I have a patch attached.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patches /usr/bin/plantuml" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: bionic
tags: added: cosmic disco
Changed in plantuml (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
Changed in plantuml (Ubuntu):
status: In Progress → Fix Committed
Changed in plantuml (Debian):
assignee: nobody → Andrej Shadura (andrew.sh)
importance: Undecided → Low
Changed in plantuml (Ubuntu):
assignee: nobody → Andrej Shadura (andrew.sh)
Changed in plantuml (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plantuml - 1:1.2018.13+ds-2

---------------
plantuml (1:1.2018.13+ds-2) unstable; urgency=medium

  [ Hakan Dilek ]
  * Use system proxy (LP: #1819119).

 -- Andrej Shadura <email address hidden> Sat, 13 Jul 2019 01:25:00 +0200

Changed in plantuml (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.