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

If Grafana https enabled, oncall does not start, status 500 #5252

Open
StefanSa opened this issue Nov 12, 2024 · 1 comment
Open

If Grafana https enabled, oncall does not start, status 500 #5252

StefanSa opened this issue Nov 12, 2024 · 1 comment

Comments

@StefanSa
Copy link

StefanSa commented Nov 12, 2024

What went wrong?

What happened:
As soon as you activate https in Grafana, the oncall app does not start with this error message.

t=2024-11-12T20:42:27.543981299Z level=error msg="Error getting user" error="failed to parse JSON response: invalid character 'C' looking for beginning of value body=Client sent an HTTP request to an HTTPS server.\n"

t=2024-11-12T20:42:27.544508774Z level=error msg="Request Completed" method=GET path=/api/plugins/grafana-oncall-app/resources/plugin/status status=500 remote_addr=10.82.234.130 time_ms=22 duration=22.982466ms size=173 referer=https://grafana.testgroup.local:3000/plugins/grafana-oncall-app handler=/api/plugins/:pluginId/resources/* status_source=downstream

What did you expect to happen:
That oncall also works with activated https on Grafana.

How do we reproduce it?

activate https in grafana.ini

Grafana OnCall Version

v1.12.1

Product Area

Helm/Kubernetes/Docker

Grafana OnCall Platform?

Docker

User's Browser?

No response

Anything else to add?

No response

@sirvincent
Copy link

Did you try re-provisioning the plugin after activating https on grafana?
Maybe #5197 might help by provisioning with a service token (change those grafana http calls to https)

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

No branches or pull requests

2 participants