raintank / raintank-docker

raintank docker images and dev stack DEPRECATED / UNMAINTAINED
https://blog.raintank.io/docker-based-development-environment/
16 stars 4 forks source link

grafana http 500 internal server error after enabling worldping with 'changeme' #84

Open Dieterbe opened 8 years ago

Dieterbe commented 8 years ago

just brought up latest raintank-docker stack, logged in to grafana, enabled WP plugin with 'changeme' admin key, and then got this:

http-500-wp

grafana log shows some errors but not much useful:

t=2016-10-18T09:12:51+0000 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=172.19.0.1 time_ns=0 size=29
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/module.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/config.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_list.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_details.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_config.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_list.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:05+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_details.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:06+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_create.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:06+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/all.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:17+0000 lvl=info msg="Plugin state changed" logger=plugins pluginId=raintank-worldping-app enabled=true
t=2016-10-18T09:13:17+0000 lvl=info msg="Syncing plugin dashboards to DB" logger=plugins pluginId=raintank-worldping-app
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing: Home" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing: Events" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing: Probes" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing Endpoint: |--- Web" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing Endpoint: |--- Ping" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing Endpoint: |--- DNS" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing Endpoint: Summary" newRev=2 oldRev=0
t=2016-10-18T09:13:17+0000 lvl=info msg="Auto updating App dashboard" logger=plugins dashboard="worldPing Endpoint: Comparison" newRev=2 oldRev=0
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/module.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/config.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_list.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_details.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/endpoint_config.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_list.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_details.js.map status=404 remote_addr=172.19.0.1 time_ns=0 size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/probe_create.js.map status=404 remote_addr=172.19.0.1 time_ns=11ns size=19
t=2016-10-18T09:13:19+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/all.js.map status=404 remote_addr=172.19.0.1 time_ns=5ns size=19
t=2016-10-18T09:13:28+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/profile/org status=500 remote_addr=172.19.0.1 time_ns=8.309µs size=0
t=2016-10-18T09:13:28+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/profile/org status=500 remote_addr=172.19.0.1 time_ns=10.083µs size=0
Dieterbe commented 8 years ago

if then you try to go to WP homepage or something, we get 401 unauthorized ok

DanCech commented 8 years ago

The 401 is coming from grafana.net, because you aren't specifying a valid api token.