Address search input leads to ban on accessing Nominatim
-
Hello, I saw there were unresolved issues on this forum about search field that spins without response.
I think I have found what is the issue root – according to this topic (https://help.openstreetmap.org/questions/55937/what-to-do-if-i-am-banned-from-accessing-nominatim) user will be banned if it sends too many requests to OSM.
I was tried to add about 35 places, and at some point, the Search field stops working. Checking the developers console I have found that requests were rejected – Failed to load resource: net::ERR_CONNECTION_REFUSED
According to OSM documentation it’s illegal to send requests on every input change because it generates too many requests on their server.
That’s why I (and other users in this forum) was not able to use Search but was able to use direct coordinates.
I hope I will be unblocked soon and will be able to use the system again.
Possible ways to fix the issue:
1) add a “search button”, to avoid requests on every input change, or add some delay (they recommend few seconds)
2) check if the search provider isn’t Google, then apply the logic from previous pointHope it will help to improve your amazing plugin!
- The topic ‘Address search input leads to ban on accessing Nominatim’ is closed to new replies.