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

Error: Mixed Content when grafana behind HTTPS and server behind HTTP #29

Open
amper43 opened this issue Aug 22, 2019 · 3 comments
Open
Labels
bug Something isn't working

Comments

@amper43
Copy link
Contributor

amper43 commented Aug 22, 2019

grafana-data-exporter-panel get following error if grafana behind HTTPS and server behind HTTP
we should handle this case and show user understandable warning at least.

angular.js:12759 Mixed Content: The page at 'https://play.hastic.io/d/s1PVviNmk/nginx?orgId=1' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://<url>:10000/tasks'. This request has been blocked; the content must be served over HTTPS.
@amper43 amper43 added the bug Something isn't working label Aug 22, 2019
@Pepo-BG
Copy link

Pepo-BG commented Oct 18, 2019

Hello,
I have a similar issue:
Mixed Content: The page at 'https://dashboard.{my-domain-removed}.com/d/P7kCXDomk/grafana-data-exporter-panel?orgId=2&var-BACKEND_URL=http:%2F%2Fdashboard.{my-domain-removed}.com' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://dashboard.{my-domain-removed}.com/tasks'. This request has been blocked; the content must be served over HTTPS.

Possibly unhandled rejection: {"message":"Unexpected error"}

And in the network - tab has (blocked:mixed-content) OPTIONS request to the http://dashboard.{my-domain-removed}.com/tasks

Do you have any solution yet?
Thank you!

@rozetko
Copy link
Member

rozetko commented Oct 12, 2020

It'll be fixed with #21

@Dhyanesh97
Copy link

Dhyanesh97 commented Mar 14, 2022

Facing same issue. API endpoints are deployed as a docker container in ec2 machine and from Grafana cloud we are trying to access those endpoints using HTML, Button, AJAX plugins but getting same error as "Mixed Blocked".

API call issue

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

No branches or pull requests

4 participants