-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Reverse geocoding always fails Geocoder::ResponseParseError
#333
Comments
I can confirm this issue. No more Reverse Geocoding after update to 0.15.4 |
What does everyone have set for their I know that I had to play around with variations such as:
@Freika is this possibly because of using the new Geocoder library code #300 (comment) ? It works great for me without Maybe now only http works and not https? |
@Freika I can confirm that while it now works to contact a photon server via I think maybe the call to Geocoder needs to specify whether or not to use https now? dawarich/config/initializers/geocoder.rb Line 15 in 0fcc7bd
Changing it to this seems to make it work for HTTPS endpoints?
Although please test it yourself, I'm not 100% sure. The options for Geocoder seem to be here: The If that is the fix, then there will need to be more code to either parse the |
I am having the same issue. I am trying to use |
Yes, it should, as that is the same issue. Nominatim requires HTTPS and the current code is defaulting to HTTP with no method to force HTTPS. Assuming my PR works and is accepted, it puts HTTPS back as the default, with an option to turn it off, so things should work again. |
Add use_https option to photon call to fix Issue #333
Should be fixed in https://github.com/Freika/dawarich/releases/tag/0.15.5, let me know if you're still having this problem |
Describe the bug
All reverse geocoding tasks fail with
Geocoder::ResponseParseError
.Version
0.15.4
Logs
Additional context
Happens with both default geocoder (Nominatim) and self-hosted Photon instance (served over HTTPS from a remote server). It is happening only since the latest 0.15.4 update.
Here is an example query from my Photon instance in case it could be the issue (probably not since Nominatim fails as well):
/reverse?lon=2&lat=50
The text was updated successfully, but these errors were encountered: