Freika / dawarich

Self-hosted alternative to Google Location History (Google Maps Timeline)
https://dawarich.app
GNU Affero General Public License v3.0
2.07k stars 44 forks source link

Reverse geocoding jobs are failing #320

Closed andkulikov closed 4 days ago

andkulikov commented 6 days ago

Thanks for this project!

I recently deployed it on my local raspberry pi and imported the lopcation history from the Gogle Phone Takeout (location-history.json). It finished succesfully and now I have 110,975 Geopoints tracked. What doesn't work as expected is recerse geocoding. So far the dashboard is showing 6,087 Reverse geocoded points. around 700 points increase over the last full day, which is pretty slow. I have the latest 0.15.3 deployed with the umodified docker-compose.yml. The only tweaks I made in them is for playing with tweaking BACKGROUND_PROCESSING_CONCURRENCY to different values, which did give any improvements to me. I logs for dawarich_sidekiq containers I see a lot of errors like Geocoder::LookupTimeout and Geocoder::LookupTimeout. More logs are here: _dawarich_sidekiq_logs.txt

I am happy to debug it further, but would appreciate any guidance on what exactly I can check to help finding the root cause.

andkulikov commented 5 days ago

I switched to have 1 in BACKGROUND_PROCESSING_CONCURRENCY and after some time in started moving quicker, now I have 15,638 processed already. I also collected the logs where we have consecutive succesful and failed requests: _dawarich_sidekiq_logs(1).txt

andkulikov commented 4 days ago

Ok, so I am not sure what have changed, but in the end the error stopped occuring and all the backgroud jobs have finished sucessfuly. I will not be able to reproduce it anymore.

Freika commented 4 days ago

@andkulikov you might have been tempbanned by Nominatim for amount of requests. Ban was probably lifted and Dawarich was able to finish its job