dmdb
October 2, 2021, 7:32pm
1
Grafana v8.1.5 (c725a4259a)
Nginx configured like here
Set up Grafana Live | Grafana documentation
No subpath
root_url, live allowed origin both set and equal
log:
t=2021-10-02T19:11:21+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=//ws status=404 remote_addr=127.0.0.1 time_ms=5 size=33058 referer=
I can provide more info if requested. It is freshly made installation with no special customizations. It’s a bug or I miss something? Thanks in advance!
dmdb
October 3, 2021, 4:40am
2
Seems it is nginx configuration issue, because it works fine when not proxied at all
jbgo
October 3, 2021, 9:40pm
3
Hi !
Just had the problem, remove the trailing slash at the end of the proxy_pass and it will work
location /api/live {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_pass http://grafana.staged-by-discourse.com; # here
}
dmdb
October 4, 2021, 3:49am
4
Thanks! actually I replaced that to implicitly defined upstream and it worked. So I think you are right too))))