globalbioticinteractions / nomer

maps identifiers and names to other identifiers and names
GNU General Public License v3.0
18 stars 3 forks source link

How to use nomer behind a proxy? #121

Closed zedomel closed 3 months ago

zedomel commented 1 year ago

Hi @jhpoelen

I'm using a machine which is behind a HTTP(S) proxy. I tried to set up java proxy settings but it did not work:

export JAVA_OPTS="-Dhttp.proxyHost=proxyHost -Dhttp.proxyPort=proxyPort -Dhttps.proxyHost=proxyHost -Dhttps.proxyPort=proxyPort"

where proxyHost and proxyPort are replaced by the proxy's host and port respectively.

Any idea how make it to work?

thanks josé

jhpoelen commented 1 year ago

@zedomel thanks for asking. I'll hope to have a look at this sooner rather than later.

In an ideal world, how would you want to configure your host/port proxy?

jhpoelen commented 1 year ago

In the dev version of Nomer, I've enabled using the system properties when configuring the http client. So, your JAVA_OPTS approach should now be picked up by Nomer dev.

@zedomel if you need this urgently, please holler and I'll prepare a release for you.

zedomel commented 1 year ago

Thank you @jhpoelen

I can use the dev version. Don't worry.

thanks

jhpoelen commented 1 year ago

@zedomel I just realized the http client config is embedded in the globi libs. So, I've to have make a release of globi libs first, then upgrade nomer version.

Apologies for the confusion

jhpoelen commented 1 year ago

@zedomel just upgraded Nomer to globi lib v0.24.4 with http proxy support. Please let me know if the current dev version of Nomer works behind a proxy using the System properties you used earlier.

jhpoelen commented 1 year ago

If it does . . . do you mind translating https://www.globalbioticinteractions.org/pt/ ? Gotta make sure these interactions are a little easier to find in São Paulo :wink:

jhpoelen commented 1 year ago

@zedomel thanks against for translating the https://www.globalbioticinteractions.org/pt !

Were you able to get your proxy to work with Nomer v0.4.0 ? I just released the version with the updated globi-libs that should add support for proxies.

jhpoelen commented 3 months ago

closing stale issue, @zedomel please comment or re-open is issues remain.