-
-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Labels
Description
Module
geoengine_base_geolocalize
Describe the bug
Unit tests fails while trying to call OSM. No call to OSM should be made.
See: https://github.com/OCA/geospatial/actions/runs/22389969953/job/64809203166
2026-02-25 09:12:47,783 306 WARNING odoo odoo.addons.base_geolocalize.models.base_geocoder: Request to openstreetmap failed.
Code: 403
Content: b'<html>\n<head>\n<title>Access blocked</title>\n</head>\n<body>\n<h1>Access blocked</h1>\n
\n
<p>You have been blocked because you have violated the\n
<a href="https://operations.osmfoundation.org/policies/nominatim/">usage policy</a>\n
of OSM\'s Nominatim geocoding service. Please be aware that OSM\'s resources are\n
limited and shared between many users. The usage policy is there to ensure that\n
the service remains usable for everybody.</p>\n
\n
<p>Please review the terms and make sure that your\n
software adheres to the terms. You should in particular verify that you have set a\n
<b>custom HTTP referrer or HTTP user agent</b> that identifies your application, and\n
that you are not overusing the service with massive bulk requests.\n
If you do that then the block usually goes away after some hours of inactivity.</p>\n
\n
<p>Please be aware that we are providing this service as-is and without any\n
guarantees. We cannot provide support. If you need that, please have a look\n
at comercial alternatives (also listed on the usage policy page) or set up\nyour own instance of Nominatim.</p>\n
</body>\n
</head>\n'
Expected behavior
Mocking of calls to OSM. Happy green CI.
Reactions are currently unavailable