-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Grafana doesn't work without an Internet connection #1627
Labels
bug
Something isn't working
Comments
I'm good with the suggestions. |
OK, I will get a PR up! |
flands
added a commit
to flands/opentelemetry-demo
that referenced
this issue
Jun 26, 2024
flands
added a commit
to flands/opentelemetry-demo
that referenced
this issue
Jun 26, 2024
Addresses open-telemetry#1627 Changelog updated
Turns out this is a bit more complicated - see #1633 (comment). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Which version of the demo you are using? 1.10.0
Symptom
If you attempt to start the demo application without an Internet connection (containers already pulled down), then Grafana is not access and restarts every minute
What is the expected behavior?
If you have the demo environment containers locally, then the demo environment should work without an Internet connection.
What is the actual behavior?
The demo environment requires an Internet connection for Grafana to work even if container are already pulled down.
Reproduce
Pull version 1.10.0 and run
make start-minimal
with an Internet connection. Once running, runmake stop
. Disable your Internet. Runmake start-minmal
. Once running, attempt to access Grafana.Additional Context
If you look at the logs for Grafana without an Internet connection you will see:
Error: ✗ Get "https://grafana.com/api/plugins/grafana-opensearch-datasource/versions": dial tcp: lookup grafana.com on 127.0.0.11:53: no such host
I see several potential issues. The root cause appears to be because
src/grafana/provisioning/datasources/opensearch.yaml
hasaccess: proxy
set. If you remove this, the issue is resolved. I can make this change if everyone is aligned.Beyond this, it appears
src/grafana/grafana.ini
hascheck_for_updates = true
andcheck_for_plugin_updates = true
. I'm not sure whether this will result in Grafana being unavailable, but also seems unnecessary for the demo environments. I can make this change if everyone is aligned.The text was updated successfully, but these errors were encountered: