Glance timing out - monitor and weather
- Dominant language
- Go
- Stars
- 37.1k
- Forks
- 1.5k
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 1
Description
Just installed glance and I love it - so simple, fast, and gorgeous - so thanks in advance!
I've installed via docker on a rpi5, which is also running a few other containers (HA, mostly). I've reverse proxied my services with caddy to be available locally with a local TLD.
On first install the weather widget times out with the following error:
```
failed to retrieve any content: Get "https://api.open-meteo.com/v1/forecast?current=temperature_2m%2Capparent_temperature%2Cweather_code&daily=sunrise%2Csunset&forecast_days=1&hourly=temperature_2m%2Cprecipitation_probability&latitude=-43.533330&longitude=172.633330&temperature_unit=celsius&timeformat=unixtime&timezone=Pacific%2FAuckland": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
```
And on adding a monitor widget for a few services those time out, too. I saw your comment in another thread about monitor to compare ping times in and outside of the container and get 8ms outside of the container and 4-8s in the container, so wondered if you had a way to adjust the timeout in glance (if this is where the error is coming from) or some tips and guidance on where to go looking for this problem?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the weather and monitor timeouts from the Docker container, comparing their behavior with requests made outside the container. Trace the weather and monitor request paths and timeout handling; done means the cause is identified and the affected widgets no longer time out under the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- backend, devops, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100