glance
glance copied to clipboard
glance dashboard times out
Description
When not accessing the site for a couple of hours, the monitor widgets says that all services are down (timed out) even thought they are working fine. If I keep refreshing the site for a few times, video, weather and Reddit widgets also time out. Even if I restart the container or even reinstall it, it doesn't work, the only way to fix it is to restart docker (sudo systemctl restart docker) meaning that all my services are restarted
If you're running Pi-Hole, AdGuard Home or another ad-blocking DNS service, please increase the rate limit from its settings. Glance often exceeds the default rate limits due to the amount of concurrent requests it can make.
If you're running Pi-Hole, AdGuard Home or another ad-blocking DNS service, please increase the rate limit from its settings. Glance often exceeds the default rate limits due to the amount of concurrent requests it can make.
I don't have any of those, I do use nginx though I don't know if that may be the issue
Could you provide the output of:
docker exec glance /app/glance diagnose
Maybe even run it a couple of times and see if things start failing.
Looks like the container doesn't have network access at all. Have you made any network-related modifications to the default docker-compose.yml?
the only way to fix it is to restart docker (sudo systemctl restart docker)
This is really weird. Do any of your other containers have this issue?
This container is the only one with this problem
This is the docker file:
How the dashboard looks
How the dashboard looks after i restart docker:
and after a few minutes/hours the services part will give the time-out, and a bit later the other ones
Any network-related errors from containerd?
journalctl -xeu containerd.service
Any network-related errors from containerd?
journalctl -xeu containerd.service
No network-related problems at all
Have a look at whether this might be the cause due to a VPN. Also, can you check whether you can make requests with curl:
docker exec glance apk add curl && curl -v https://www.google.com/humans.txt
If curl can't connect either then I don't think this is an issue with Glance.
If curl can't connect either then I don't think this is an issue with Glance.
curl worked fine, i just installed glance as a binary and I never had this issue again
Since it's working fine using the binary and the Dockerfile we use is extremely bare bones, I'm closing this until someone can pinpoint a bug in Glance's code that might be the cause of this.