raintank / worldping-api

Worldping Backend Service
Other
25 stars 18 forks source link

500 Internal Server Error ! #30

Closed woodsaj closed 8 years ago

woodsaj commented 8 years ago

Issue by gugansankar Thursday Jan 21, 2016 at 13:57 GMT Originally opened as https://github.com/raintank/grafana/issues/551


First of all, Thanks for this great project.

I tried to setup this on my local lab. After logged in, If I click add probe/other options, getting 500 Internal Server Error. I just followed the steps what mentioned on the README file.

Please help me to fix the below error,

2016/01/21 19:11:31 [I] Database: sqlite3 2016/01/21 19:11:31 [I] Migrator: Starting DB migration 2016/01/21 19:11:31 [I] Creating json dashboard index for path: /home/gugan/raintank/src/github.com/grafana/grafana/public/plugins/raintank/dashboards/litmus 2016/01/21 19:11:31 INF 1 (localhost:4150) connecting to nsqd searching for sessions for collector 0 2016/01/21 19:11:31 [I] Listen: http://0.0.0.0:3000 2016/01/21 19:11:37 [I] Completed /api/org/quotas 404 Not Found in 3.841734ms 2016/01/21 19:11:53 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:11:53 [I] Completed /metrics/find 500 Internal Server Error in 121.084134ms 2016/01/21 19:11:54 [I] Completed /render 500 Internal Server Error in 113.994888ms 2016/01/21 19:11:54 [I] Completed /render 500 Internal Server Error in 114.298102ms 2016/01/21 19:12:00 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:12:00 [I] Completed /metrics/find 500 Internal Server Error in 43.164218ms 2016/01/21 19:12:00 [event.go:26 GetEvents()] [E] Failed to query events: Post http://elasticsearch:9200/events*/_search?size=50&sort=timestamp%3Adesc: dial tcp: lookup elasticsearch on 127.0.1.1:53: no such host 2016/01/21 19:12:00 [I] Completed /api/events 500 Internal Server Error in 262.006293ms 2016/01/21 19:13:05 [I] Completed /api/org/quotas 404 Not Found in 1.390812ms 2016/01/21 19:13:50 http: proxy error: dial tcp 198.105.244.11:8888: i/o timeout 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 30.001565498s 2016/01/21 19:16:55 http: proxy error: dial tcp 198.105.244.11:8888: i/o timeout 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 30.001491158s 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 92.055789ms 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 107.467192ms 2016/01/21 19:16:55 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 105.155539ms 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 108.522666ms 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 97.675381ms 2016/01/21 19:16:55 [I] Completed /render 500 Internal Server Error in 121.677452ms 2016/01/21 19:17:31 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:17:31 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:17:31 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:17:31 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host 2016/01/21 19:17:31 [I] Completed /render 500 Internal Server Error in 64.275508ms 2016/01/21 19:18:08 [endpoint.go:64 UpdateEndpoint()] [E] Failed to update endpoint: database table is locked 2016/01/21 19:18:08 [I] Completed /api/endpoints 500 Internal Server Error in 24.852948ms 2016/01/21 19:18:08 [I] processing monitorUpdated event.

woodsaj commented 8 years ago

Comment by gugansankar Friday Jan 22, 2016 at 11:55 GMT


Please someone help me , what is an issue here ?.

woodsaj commented 8 years ago

Comment by Dieterbe Friday Jan 22, 2016 at 21:02 GMT


not sure what's the cause, but once your docker stack works (per other ticket) this shoould resolve itself.

woodsaj commented 8 years ago

the "2016/01/21 19:17:31 http: proxy error: dial tcp: lookup graphite-api on 127.0.1.1:53: no such host" shows that this is just a configuration issue or graphite issue. The graphite address defined in the configuration file can not be resolved.

If you are using raintank/raintank-docker and still having issues, then open an issue there.