Hi folks ,
I’ve been looking around a solution to solve my problem but can’t find something relevant.
We are publishing grafana behind HAPROXY reverse-proxy.
Everything works fine except 3 js scripts from worldping plugin.
I’ve tried without reverse-proxy it works well.
Any idea why only these 3 js scripts can’t be downloaded ?
errors from grafana app :
Plugin Error
Fetch error: 404 Not Found Instantiating http://my.domain.local/public/plugins/filters/all.js Loading http://my.domain.local/public/plugins/raintank-worldping-app/panels\endpoint-list/module.js Loading plugins/raintank-worldping-app/panels\endpoint-list/module
Plugin Error
Fetch error: 404 Not Found Instantiating http://my.domain.local/public/plugins/components/config/dsUpgrade.js Loading http://my.domain.local/public/plugins/raintank-worldping-app/panels\call-to-action/module.js Loading plugins/raintank-worldping-app/panels\call-to-action/module
errors in server log file :
t=2018-01-16T20:47:18+0100 lvl=info msg="Request Completed" logger=context userId=5 orgId=1 uname=myuser method=GET path=/public/plugins/components/config/dsUpgrade.js status=404 remote_addr=172.x.x.x time_ms=15 size=25935 referer="http://my.domain.local/dashboard/db/worldping-home?orgId=1"
t=2018-01-16T20:47:18+0100 lvl=info msg="Request Completed" logger=context userId=5 orgId=1 uname=myuser method=GET path=/public/plugins/directives/all.js status=404 remote_addr=172.x.x.x time_ms=15 size=25935 referer="http://my.domain.local/dashboard/db/worldping-home?orgId=1"
t=2018-01-16T20:47:18+0100 lvl=info msg="Request Completed" logger=context userId=5 orgId=1 uname=myuser method=GET path=/public/plugins/filters/all.js status=404 remote_addr=172.x.x.x time_ms=0 size=25935 referer="http://my.domain.local/dashboard/db/worldping-home?orgId=1"
And the server custom configuration file :
[server]
protocol = http
http_port = 34101
domain = "my.domain.local"
enforce_domain = true
root_url = %(protocol)s://%(domain)s/
router_logging = false