FHIR Chat · IG Publisher Proxy Issue? · IG creation

Stream: IG creation

Topic: IG Publisher Proxy Issue?


view this post on Zulip Chris Moesel (Oct 31 2018 at 13:34):

I've been using an igpublisher jar I downloaded on October 1 with no problem. Yesterday I switched to the latest build igpublisher jar and found that it now fails to connect to the tx.fhir.org:

Connect to Terminology Server at http://tx.fhir.org                              (08.0313sec)
Oct 31, 2018 8:58:59 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Malformed reply from SOCKS server
Oct 31, 2018 8:58:59 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: Retrying connect

After some trial and error, I discovered that it works if I use it on a network that doesn't require a proxy -- but when I use it from my work network, which does require a proxy, it fails.

As I noted earlier, this was working with a proxy using the older jar (downloaded Oct 1). I switched back to the older jar and confirmed that one still works. The issue is only in the newer jars.

Have there been changes in the igpublisher jar since Oct 1 that might affect how it connects to the tx.fhir.org server?

This is how I am invoking it when on a proxied network:

java -Dhttp.proxyHost=my.proxy.host.org -Dhttp.proxyPort=80 -Dhttps.proxyHost=my.proxy.host.org -Dhttps.proxyPort=80 -DsocksProxyHost=my.proxy.host.org -DsocksProxyPort=80 -Xms4g -Xmx8g -jar org.hl7.fhir.igpublisher.jar -ig ig.json

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:39):

I haven't made any knowing changes in this regard

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:40):

or maybe I did. From the publisher doco

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:40):

the publisher also supports the param -proxy=[address]:[port] for if you use a proxy (stupid java won't pick up the system settings)

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:40):

have you tried that?

view this post on Zulip Chris Moesel (Nov 13 2018 at 18:26):

Interesting... No, I haven't tried that. Since it was working via the Java system properties before, I hadn't thought to look in the documentation for changes. I should have. Sorry! I'll give it a try and report back.

view this post on Zulip Chris Moesel (Nov 16 2018 at 21:37):

Hmmm... that doesn't seem to be working either. I'm using it like this:

java -Xms4g -Xmx8g -jar org.hl7.fhir.igpublisher.jar -proxy http://my.proxy.org:80 -ig my-ig.json

I also tried it with the = (as in the doco text):

java -Xms4g -Xmx8g -jar org.hl7.fhir.igpublisher.jar -proxy=http://my.proxy.org:80 -ig my-ig.json

But either way it still gets stuck at:

Connect to Terminology Server at http://tx.fhir.org                              (09.0839sec)

Should I be sending the parameter in some other way?

view this post on Zulip Chris Moesel (Dec 21 2018 at 17:04):

GForge: https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=19815


Last updated: Apr 12 2022 at 19:14 UTC