I am running Openrefine on a linux server and I am having trouble with using the
Geonames reconciliation extension . Openrefine run smoothly and I can reconcile easily with Wikidata or other standard service, the only problem I do have is about the reconciliation extension for Geonames.
What I did in run the extension (without errors), add the reconciliation service, but I never get to add it and get the following error:
If I try to use curl to check if the service is running I get the expected response:
curl -vs http://0.0.0.0:5000/reconcile
* Trying 0.0.0.0...
* TCP_NODELAY set
* Connected to 0.0.0.0 (127.0.0.1) port 5000 (#0)
> GET /reconcile HTTP/1.1
> Host: 0.0.0.0:5000
> User-Agent: curl/7.58.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-Type: application/json
< Content-Length: 539
< Server: Werkzeug/0.16.0 Python/3.6.8
< Date: Wed, 06 Nov 2019 08:36:06 GMT
<
{
"defaultTypes": [
{
"id": "/geonames/name",
"name": "Place Name"
},
{
"id": "/geonames/name_startsWith",
"name": "Place Name Starts With"
},
{
"id": "/geonames/name_equals",
"name": "Exact Place Name"
},
{
"id": "/geonames/all",
"name": "All GeoNames terms"
}
],
"identifierSpace": "http://localhost/identifier",
"name": "GeoNames Reconciliation Service",
"schemaSpace": "http://localhost/schema",
"view": {
"url": "{{id}}"
}
}
* Closing connection 0
However, nothing works on Openrefine. I thought that was maybe some kind of port accessing problem, so I completely opened the port 5000 on the server and I tested the service form my local copy of Openrefine. In my local instance I am able to add the geonames reconciliation service running in the server using
http://ip.of.the.server:5000/reconcile. I tried to do the same trick in the openrefine instance running in the server (using
http://ip.of.the.server:5000/reconcile) but I still get the timeout error.