Skip to content
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 oncall plugin OSS can't connect to grafana oncall engine self hosted "jsonData.stackId is not set" #5313

Closed
aristide-moonce opened this issue Nov 29, 2024 · 1 comment
Labels
bug Something isn't working part:helm/kubernetes/docker

Comments

@aristide-moonce
Copy link

aristide-moonce commented Nov 29, 2024

What went wrong?

What happened:

  • grafana oncall plugin is not able to connect to grafana oncall engine when using the docker compose file (hobby environment). We get the following error when trying to connect it :
Plugin is not connected
jsonData.stackId is not set

See the following screenshot :

Image

What did you expect to happen:

  • The plugin to be able to connect to the engine.

How do we reproduce it?

Just follow the getting started in the readme for the hobby environment : https://github.com/grafana/oncall?tab=readme-ov-file#getting-started

  1. Download the docker compose file :
curl -fsSL https://raw.githubusercontent.com/grafana/oncall/dev/docker-compose.yml -o docker-compose.yml
  1. Set variables :
echo "DOMAIN=http://localhost:8080
# Remove 'with_grafana' below if you want to use existing grafana
# Add 'with_prometheus' below to optionally enable a local prometheus for oncall metrics
# e.g. COMPOSE_PROFILES=with_grafana,with_prometheus
COMPOSE_PROFILES=with_grafana
# to setup an auth token for prometheus exporter metrics:
# PROMETHEUS_EXPORTER_SECRET=my_random_prometheus_secret
# also, make sure to enable the /metrics endpoint:
# FEATURE_PROMETHEUS_EXPORTER_ENABLED=True
SECRET_KEY=my_random_secret_must_be_more_than_32_characters_long" > .env
  1. Launch services:
docker-compose pull && docker-compose up -d
  1. Connect to grafana : login to http://localhost:3000 with admin/admin

  2. Enable the grafana oncall plugin and try to connect it to the backend at the address http://localhost:8080

Grafana OnCall Version

v1.13.5

Product Area

Helm/Kubernetes/Docker

Grafana OnCall Platform?

Docker

User's Browser?

No response

Anything else to add?

No response

@aristide-moonce aristide-moonce added the bug Something isn't working label Nov 29, 2024
@aristide-moonce aristide-moonce changed the title grafana oncall plugin can't connect to grafana oncall engine "jsonData.stackId is not set" grafana oncall plugin OSS can't connect to grafana oncall engine self hosted "jsonData.stackId is not set" Nov 29, 2024
@joeyorlando
Copy link
Contributor

See #4829 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working part:helm/kubernetes/docker
Projects
None yet
Development

No branches or pull requests

2 participants