Error downloading GeoName cities 1000 data

I noticed that every couple of minutes microservices CPU usage was going to ~100-120%. I found this in the microservice logs
immich_microservices | /usr/src/app/dist/microservices/app.service.js:73
immich_microservices | throw error;
immich_microservices | ^
immich_microservices | Error downloading GeoNames cities1000 data: Error: getaddrinfo EAI_AGAIN download.geonames.org
immich_microservices | (Use `node --trace-uncaught ...` to show where the exception was thrown)
immich_microservices | /usr/src/app/dist/microservices/app.service.js:73
immich_microservices | throw error;
immich_microservices | ^
immich_microservices | Error downloading GeoNames cities1000 data: Error: getaddrinfo EAI_AGAIN download.geonames.org
immich_microservices | (Use `node --trace-uncaught ...` to show where the exception was thrown)
4 Replies
bo0tzz
bo0tzz2y ago
It can't resolve dns, so something about your networking setup is probably broken
TastesLikeShit
TastesLikeShitOP2y ago
Spot on! I tried pinging google.com from my container and it didnt work. I am using pihole, I am gonna look this up. Has anyone faced this issue?
jrasm91
jrasm912y ago
Not that I can recall.
TastesLikeShit
TastesLikeShitOP2y ago
I resolved this. I supply the docker host IP address as local DNS with DHCP from my router. Under ports of the pihole service one has to write docker host IP address. I don't understand the difference between this and writing just the port number so I can't explain why it works. Under environment I added DNSMASQ_LISTENING: all so all devices on lan and all containers get response from pi hole.

Did you find this page helpful?