Skip to content

OpenRefine 3.4.1: Reconciliation Service does not use proxy defined in openrefine.l4j.ini #3919

Closed
@ToVie

Description

@ToVie

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:

  1. 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
  2. Then, start OpenRefine using openrefine.exe, open project, select column "CDU - GND" for reconciliation
  3. Then start reconciling using https://lobid.org/gnd/reconcile
  4. 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"):
image
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

Dummy.openrefine.tar.gz

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).

Metadata

Metadata

Assignees

Labels

Good First IssueIndicates issues suitable for newcomers to design or coding, providing a gentle introduction.Priority: HighDenotes issues that require urgent attention and may be blocking progress.Type: BugIssues related to software defects or unexpected behavior, which require resolution.fetch urlsAbout fetching URLs in a projectreconciliationRelated to the reconciliation operations and other features

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions