Description
OpenRefine 3.4.1 on Windows (with or without integrated JRE) does not use the proxy set in openrefine.l4j.ini to connect to reconciliation service (https://lobid.org/gnd/reconcile)
To Reproduce
Steps to reproduce the behavior:
- First, set proxy in openrefine.l4j.ini using the following parameters:
-Dhttps.proxyHost=proxy-name.domain.ch
-Dhttps.proxyPort=8080
-Dhttp.proxyHost=proxy-name.domain.ch
-Dhttp.proxyPort=8080
-Dhttp.nonProxyHosts=localhost
- Then, start OpenRefine using openrefine.exe, open project, select column "CDU - GND" for reconciliation
- Then start reconciling using https://lobid.org/gnd/reconcile
- Finally, OpenRefine throws the following error
16:50:55.909 [ command] Failed to guess cell types for load {"q0":{"query":"Landquart (Fluss)","limit":3}} (0ms) org.apache.http.conn.HttpHostConnectException: Connect to lobid.org:443 [lobid.org/193.30.112.187] failed: Connection timed out:...
Current Results
The following messages are shown in OpenRefine (with verbosity "all"):
Additionally we did monitor the network traffic using wireshark and did find no connection from our localhost to our proxy but instead a connection request from our localhost to "emphytos.hbz-nrw.de" which bears the alias "lobid.org" with the IP 193.30.112.187.
This leads us to the conclusion that OpenRefine does not use the proxy settings specified in openrefine.l4j.ini.
Expected Behavior
OpenRefine connects to the Reconciliation service using the proxy specified in openrefine.l4j.ini using the parameters
-Dhttps.proxyHost=proxy-name.domain.ch
-Dhttps.proxyPort=8080
-Dhttp.proxyHost=proxy-name.domain.ch
-Dhttp.proxyPort=8080
-Dhttp.nonProxyHosts=localhost
Versions
- Operating System: Windows 10
- Browser Version: Edge or Firefox
- JRE or JDK Version: java version "1.8.0_281" Java(TM) SE Runtime Environment (build 1.8.0_281-b25) Java HotSpot(TM) 64-Bit Server VM (build 25.281-b25, mixed mode)
- OpenRefine: Version 3.4.1 [437dc4d]
Datasets
Additional context
OpenRefine runs behind a proxy that does not allow direct connections to the internet.
We tried both packages that are available for windows (windows with java and widows kit without java)
We also tested with the setting "-Djava.net.useSystemProxies=true", set the proxy-server in the java control panel and got the same results.
We also tried to run openrefine directly from the commandline and added the proxy parameters (we could not test refine.bat because the use of batch files is blocked by group policy).