Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-29-2022 10:16 AM
Tried to execute the following cypher query:
CALL apoc.spatial.geocodeOnce('21 rue Paul Bellamy 44000 NANTES FRANCE');
Got the following error:
Failed to invoke procedure apoc.spatial.geocodeOnce: Caused by: java.lang.RuntimeException: Can't read url or key https://nominatim.openstreetmap.org/search.php?format=json&q=21+rue+Paul+Bellamy+44000+NANTES+FRANCE as json: connect timed out
Can someone please help me out? Do I have to add any additional library for this query apart from APOC (which I have already installed)?
Eagerly waiting for a response at the earliest.
Thanks.
01-31-2022 08:19 AM
The apoc.spacial.geocodeOnce
should work without additional libraries.
However, the problem seems due to the openstreetmap url, but I just tried and it works.
Maybe was a temporary problem of https://nominatim.openstreetmap.org
API?
I'm quite sure that trying again now should work.
Otherwise, can you provide your Apoc version?
02-08-2022 03:00 AM
The API works fine but when I query through Neo4j, I get this error.
APOC Version - 4.3.0-rc01
02-09-2022 12:18 AM
I just tried with the same version, and it works.
I would suggest you to update to the latest 4.3.x
apoc version, because this version is very old and unstable, but I'm not sure it could be helpful.
In case it doesn't work, can you provide your neo4j.conf
and apoc.conf
? Or the docker configuration, if you are using it?
All the sessions of the conference are now available online