New Do-Agent daily cron failing to update - service unavailable
I updated my monitoring to the new agent last week.
I’m getting the following notification daily -
W: Failed to fetch https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease 503 Service Unavailable [IP: 18.104.22.168 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.”
If I run the /opt/digitalocean/do-agent/scripts/update.sh script manually it appears to work though it’s possible that I’m not seeing any output.
If I manually run “wget https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease” then it works OK with a 200 response.
Any advice on getting rid of this error would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.