i had no any problem but last two days i hve getting this type of error err HttpError: request to http://nominatim.openstreetmap.org/reverse?lat=-11.9795359&lon=-77.0425113&format=json&addressdetails=1 failed, reason: connect ECONNREFUSED 140.100.167.100:80 name: 'HttpError', message: 'request to ' + 'http://nominatim.openstreetmap.org/reverselat=-11.9795359&lon=-77.0425113&format=json&addressdetails=1 ' + 'failed, reason: connect ECONNREFUSED 140.100.167.100:80', code: 'ECONNREFUSED' asked 17 Jan '22, 08:07 gabu hetal |
Is your server capable of following 301 redirects and to handle secure connections (as http://nomi... redirects to https:nomi... and uses ssl)? Did you read the documentation at https://nominatim.org/release-docs/latest/ ? E.g. it recommends to include an email parameter with your contact address. Did you read and follow the Nominatim Usage Policy found here: https://operations.osmfoundation.org/policies/nominatim/ ? E.g. did you include an unique user agent, did you follow the rate limiting? If not, you will get blocked. In general it's not recommended to use the public Nominatim instances that are funded by donations if you need higher usage volumes or want to include them in an app or commercial use case. The Nominatim wiki page lists some third-party providers (see https://wiki.openstreetmap.org/wiki/Nominatim#Alternatives.2FThird-party_providers ) for that, alternatively you could run your own Nominatim instance. answered 17 Jan '22, 09:08 Spiekerooger |