Reverse Geocode Question #701
|
I started my own reverse geocode server last night following the Dawarich and Ton Snoei guides. I have the server running, and as the Ton Snoei guide states the API is reachable in the browser at http://"my server name":2322/api?q=amsterdam. However when I put that address into the docker-compose.yml file under dawarich_app and dawarich_sidekiq and restart Dawarich every point since has been a "point without data" Is there a different format for putting this into the yml? Or is there something else that I am missing? P.S- This is the most exciting project I've found in quite a while, thank you Freika! |
Replies: 5 comments 7 replies
|
@timcrice did you try to check your specific coordinates, if photon returns a valid response for them? |
|
I set up the photon-docker within the dawarich docker-compose.yml and set the PHOTON_API_HOST to '192.168.178.20:2322' (the server IP:Port I assigned to photon. Sidekiq now reports this: This is a part of the config: did I make any errors setting this up? Opening the server IP:Port in the browser for both q=amsterdam and lat/lon gives me valid responses |
|
Did this get resolved? I am basically having the same setup with the variables |
|
The IP address you provided seems like a public IP. Are you hosting your own Photon instance? If so, the IP address should be you local IP, not the public one that your ISP gives you... |
|
Yeah, I am having same issue as well....log shows: [2025-08-24T05:55:42.494570 #8] DEBUG -- : enqueued retry: {"retry":true,"queue":"reverse_geocoding","wrapped":"ReverseGeocodingJob","args":[{"job_class":"ReverseGeocodingJob","job_id":"3f54a447-21fa-4866-8891-e674f5d8f044","provider_job_id":null,"queue_name":"reverse_geocoding","priority":null,"arguments":["Point",3041],"executions":0,"exception_executions":{},"locale":"en","timezone":"America/New_York","enqueued_at":"2025-08-24T04:23:15.072171429Z","scheduled_at":null}],"class":"Sidekiq::ActiveJob::Wrapper","jid":"b004a1977e92ba6d6443e60e","created_at":1756009395072,"enqueued_at":1756013397938,"error_message":"Socket::ResolutionError","error_class":"Socket::ResolutionError","failed_at":1756010025952,"retry_count":3,"retried_at":1756014844386} UPDATE: Actually it was a mistake on my side, I put protocol infront of the Photon instance IP, e.g. http://localhost:2322. It works fine now after removing http protocol. |


Yeah, I am having same issue as well....log shows:
[2025-08-24T05:55:42.494570 #8] DEBUG -- : enqueued retry: {"retry":true,"queue":"reverse_geocoding","wrapped":"ReverseGeocodingJob","args":[{"job_class":"ReverseGeocodingJob","job_id":"3f54a447-21fa-4866-8891-e674f5d8f044","provider_job_id":null,"queue_name":"reverse_geocoding","priority":null,"arguments":["Point",3041],"executions":0,"exception_executions":{},"locale":"en","timezone":"America/New_York","enqueued_at":"2025-08-24T04:23:15.072171429Z","scheduled_at":null}],"class":"Sidekiq::ActiveJob::Wrapper","jid":"b004a1977e92ba6d6443e60e","created_at":1756009395072,"enqueued_at":1756013397938,"error_message":"Socket::ResolutionError","…