Skip to content

internet-monitoring - grafana context deadline exceeded #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erikssod opened this issue Mar 5, 2022 · 4 comments
Closed

internet-monitoring - grafana context deadline exceeded #349

erikssod opened this issue Mar 5, 2022 · 4 comments

Comments

@erikssod
Copy link

erikssod commented Mar 5, 2022

Internet-monitoring failed to load after reboot. Bringing up the container in attached mode shows the following error message:

> docker-compose up
...
grafana_1     | Error: ✗ Get "https://grafana.com/api/plugins/repo/flant-statusmap-panel": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
internet-monitoring_grafana_1 exited with code 1

This repeats until stopping the containers.

As as test, https://grafana.com/api/plugins/repo/flant-statusmap-panel can be manually downloaded to the pi with wget; so definitely accessible.

Error persists when rebuilding everything from a fresh SD card.

@erikssod erikssod changed the title internet-monitoring - grafana context deadline axceeded internet-monitoring - grafana context deadline exceeded Mar 5, 2022
@ndraiman
Copy link

ndraiman commented Mar 6, 2022

Just started happening to me as well.
Found this related issue: #8

Solved it by adding: nameserver 127.0.0.1 to /etc/resolv.conf.

example of resolv.conf file:

# Generated by resolvconf
nameserver 127.0.0.1

Note though that any edits to /etc/resolv.conf will revert on reboot!!
To make it persistent. you'll need to edit /etc/dhcpcd.conf and add the following:

interface eth0
static domain_name_servers=127.0.0.1

Alternatively edit via raspberry UI:
image

Note that I'm using network cable to connect the raspberrypi to the router, hence the eth0 interface,
you'll need to use the relevant network interface for you.

@erikssod
Copy link
Author

erikssod commented Mar 8, 2022

Thanks, this post solved it.

@PhakornKiong
Copy link

#349 (comment)

This solves the issue, also need to reboot after updating the config.

@jeffkruczynski
Copy link

Wondering if anyone here might be able to help with this issue in a different environment.

I am trying to get Powerwall-Dashboard running on Synology. This uses grafana, but I can't get the grafana docker to keep running. It quits every time with this error:
Error: ✗ Get "https://grafana.com/api/plugins/repo/grafana-piechart-panel": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
(I have a discussion open on the grafana page as well)

I can wget that url on Synology, so I don't think it's a firewall issue, but it seems like a network issue in that the grafana container can't talk to the outside world. But I'm over my head here — since the grafana image is created from the Powerwall-Dashboard docker, I'm not sure where I would look to troubleshoot this. Any ideas?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants