Connection failed: GET Request Google Geocoding API

Dear all,

I m trying to get city information (name, long name and so on…) from Latitude and Longitude. For that I built a workflow creating links and then I want to read this link via GET RequestNode.
I tried all the connection types but I always get this error message:
WARN GET Request 0:625 Call #7 failed: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: java.net.ConnectException: ConnectException invoking : Connection refused: connect

But when i just copy the link and past it in the browser it works. So I think there is no problem with my API but with the Get Request Node Configuration.

Can someone help me?
Thanks in advance.

Hi there!

Can you share couple of links you created? that would be helpful in this case…

Br,
Ivan

https://maps.googleapis.com/maps/api/geocode/json?latlng=34.19828,-86.165657&key=MYAPIKEY

It looks like you need to configure a proxy in KNIME.

OK, how can I do it ?!

Hi!

Go in File --> Preferences --> General --> Network Connections and set it up there.

Br,
Ivan

1 Like

Hi,

what and how can I set it up there ?

BR,
Igna

Glad you figured it out :slight_smile:
Br,
Ivan

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.