[ERROR] Cannot connect grafana cloud with local grafana instance

  • What Grafana version and what operating system are you using?
    Grafana v10.3.3 (252761264e)
  • What are you trying to achieve?
    Connect Grafana-cloud synthetic monitoring with local grafana instance
  • How are you trying to achieve it?
  1. Grafana cloud stack was created
  2. Loki and Prometheus cloud created
  3. Provisioning yaml file configured on local grafana instance
apiVersion: 1

apps:
  - type: grafana-synthetic-monitoring-app
    name: grafana-synthetic-monitoring-app
    disabled: false
    jsonData:
      apiHost: synthetic-api-eu-north-0.grafana.net
      stackId: 87343
      logs:
        grafanaName: grafana-cloud-loki
        hostedId: 82942
      metrics:
        grafanaName: grafana-cloud-prometheus
        hostedId: 145917
    secureJsonData:
      publisherToken: glc_eyJvIjoiM***
  1. nginx conf
server {
 listen 443 ssl http2;
 server_name local.local.io;

 index index.html index.htm;

 location / {
   proxy_pass http://localhost:3000/;
   proxy_set_header Host $host;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header X-Forwarded-Proto $scheme;
 }

 ssl_certificate /etc/nginx/cert/cert.crt;
 ssl_certificate_key /etc/nginx/cert/key.key;

 ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4:!RSA+3DES;
 ssl_prefer_server_ciphers on;
 ssl_protocols TLSv1.1 TLSv1.2;
}
logger=context userId=1 orgId=1 uname=admin t=2024-03-07T10:56:05.583458674+05:00 level=error msg="Request Completed" method=POST path=/api/plugin-proxy/grafana-synthetic-monitoring-app/install status=502 remote_addr=10.80.20.5 time_ms=13 duration=13.177717ms size=0 referer=https:/local.local.io/a/grafana-synthetic-monitoring-app/home handler=/api/plugin-proxy/:pluginId/*
logger=data-proxy-log userId=1 orgId=1 uname=admin path=/api/plugin-proxy/grafana-synthetic-monitoring-app/install remote_addr=10.80.20.5 referer=https://local.local.io/a/grafana-synthetic-monitoring-app/home t=2024-03-07T10:59:55.103559918+05:00 level=error msg="Proxy request failed" err="unsupported protocol scheme \"\""

I have the same issue here. Same log error. The only exception is that I am using Traefik instead of nginx.
@autemissov did you managed to get it to work?

@autemissov
I managed to make it work
Access your instance without the reverse proxy.
Click on get started and then re-proxy it.
Should work now