-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
406 and CORS violation when using self-hosted Nominatim #336
Comments
Hi, is your Nominatim instance still served by Apache behind your reverse proxy? I encountered a similar issue today and solved it by adding It seems to be an issue noted in the Nominatim Docker repo already mediagis/nominatim-docker#133 |
Thanks, works for me. :) |
Unfortunately not work for me. The same error 406. |
@rooton have you checked the issue mediagis/nominatim-docker#133 ? Looks like it's a problem with the nominatim-docker package |
@oldwired Yes, thats definitely issue with nominatim-docker package. Firstly I have added |
hi where you add these line can you explain to me |
When trying to use the plugin with my own instance of nominatim (behind a caddy reverse proxy), which works via browser address bar and Postman, I get the following errors:
My code:
General:
Response Headers:
Request Headers:
Like I mentioned, I use a caddy reverse proxy, but that should not matter, because the it also doesn't work if I use a direct connection.
If I let caddy add an
Access-Control-Allow-Origin *
header I still get the 406 (but not the CORS violation). But when I try postman or the browser access bar for a direct get to the nominatim API the header is already present, so that can't be the problem.The text was updated successfully, but these errors were encountered: