{"action":"opened","issue":{"url":"https://api.github.com/repos/AcalephStorage/consul-alerts/issues/45","labels_url":"https://api.github.com/repos/AcalephStorage/consul-alerts/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/AcalephStorage/consul-alerts/issues/45/comments","events_url":"https://api.github.com/repos/AcalephStorage/consul-alerts/issues/45/events","html_url":"https://github.com/AcalephStorage/consul-alerts/issues/45","id":58356493,"number":45,"title":"Consul-alert panics","user":{"login":"lyrixx","id":408368,"avatar_url":"https://avatars.githubusercontent.com/u/408368?v=3","gravatar_id":"","url":"https://api.github.com/users/lyrixx","html_url":"https://github.com/lyrixx","followers_url":"https://api.github.com/users/lyrixx/followers","following_url":"https://api.github.com/users/lyrixx/following{/other_user}","gists_url":"https://api.github.com/users/lyrixx/gists{/gist_id}","starred_url":"https://api.github.com/users/lyrixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyrixx/subscriptions","organizations_url":"https://api.github.com/users/lyrixx/orgs","repos_url":"https://api.github.com/users/lyrixx/repos","events_url":"https://api.github.com/users/lyrixx/events{/privacy}","received_events_url":"https://api.github.com/users/lyrixx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-20T14:01:22Z","updated_at":"2015-02-20T14:01:22Z","closed_at":null,"body":"```\r\ntime=\"2015-02-20T13:58:42Z\" level=warning msg=\"Unable to retrieve node name.\"\r\npanic: interface conversion: interface is nil, not string\r\n\r\ngoroutine 13 [running]:\r\ngithub.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper.(*Candidate).retrieveNode(0xc20800d900)\r\n        /usr/local/go/src/github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper/skipper.go:141 +0x257\r\ngithub.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper.(*Candidate).campaign(0xc20800d900)\r\n        /usr/local/go/src/github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper/skipper.go:99 +0x36\r\ngithub.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper.(*Candidate).campaign(0xc20800d900)\r\n        /usr/local/go/src/github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper/skipper.go:131 +0x994\r\ngithub.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper.(*Candidate).campaign(0xc20800d900)\r\n        /usr/local/go/src/github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper/skipper.go:131 +0x994\r\ncreated by github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper.(*Candidate).RunForElection\r\n        /usr/local/go/src/github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/darkcrux/consul-skipper/skipper.go:46 +0x32\r\n\r\ngoroutine 1 [chan receive]:\r\nmain.daemonMode(0xc2080abc80)\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:110 +0x111e\r\nmain.main()\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:49 +0x13c\r\n\r\ngoroutine 5 [syscall]:\r\nos/signal.loop()\r\n        /usr/local/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init�1\r\n        /usr/local/go/src/os/signal/signal_unix.go:27 +0x35\r\ngoroutine 48 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc208064580)\r\n        /usr/local/go/src/net/http/transport.go:945 +0x41d\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/local/go/src/net/http/transport.go:661 +0xcbc\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n        /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1\r\n\r\ngoroutine 47 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc2080b2fb0, 0x72, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc2080b2fb0, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc2080b2f50, 0xc208076000, 0x1000, 0x1000, 0x0, 0x7f0d378f6d30, 0xc2080b1ba8)\r\n        /usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc2080360c8, 0xc208076000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/net.go:121 +0xdc\r\nnet/http.noteEOFReader.Read(0x7f0d378f8460, 0xc2080360c8, 0xc2080645d8, 0xc208076000, 0x1000, 0x1000, 0x756ea0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/transport.go:1270 +0x6e\r\nnet/http.(*noteEOFReader).Read(0xc208080fc0, 0xc208076000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)\r\n        <autogenerated>:125 +0xd4\r\nbufio.(*Reader).fill(0xc20814aa20)\r\n        /usr/local/go/src/bufio/bufio.go:97 +0x1ce\r\nbufio.(*Reader).Peek(0xc20814aa20, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/bufio/bufio.go:132 +0xf0\r\nnet/http.(*persistConn).readLoop(0xc208064580)\r\n        /usr/local/go/src/net/http/transport.go:842 +0xa4\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/local/go/src/net/http/transport.go:660 +0xc9f\r\n\r\ngoroutine 14 [syscall]:\r\nsyscall.Syscall6(0x3d, 0x3cfd, 0xc2080c4c14, 0x0, 0xc208063320, 0x0, 0x0, 0x7f0d378e5000, 0x40a0b1, 0xc20814a380)\r\n        /usr/local/go/src/syscall/asm_linux_amd64.s:46 +0x5\r\nsyscall.wait4(0x3cfd, 0xc2080c4c14, 0x0, 0xc208063320, 0x90, 0x0, 0x0)\r\n        /usr/local/go/src/syscall/zsyscall_linux_amd64.go:124 +0x79\r\nsyscall.Wait4(0x3cfd, 0xc2080c4c5c, 0x0, 0xc208063320, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/syscall/syscall_linux.go:224 +0x60\r\nos.(*Process).wait(0xc2081455c0, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/os/exec_unix.go:22 +0x103\r\nos.(*Process).Wait(0xc2081455c0, 0xc208065080, 0x0, 0x0)\r\n        /usr/local/go/src/os/doc.go:45 +0x3a\r\nos/exec.(*Cmd).Wait(0xc208066f00, 0x0, 0x0)\r\n        /usr/local/go/src/os/exec/exec.go:364 +0x23c\r\nos/exec.(*Cmd).Run(0xc208066f00, 0x0, 0x0)\r\n        /usr/local/go/src/os/exec/exec.go:246 +0x71\r\nmain.runWatcher(0xc20800c53e, 0xe, 0xc20800c67d, 0x3, 0x822f30, 0x6)\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/watchers.go:26 +0x261\r\ncreated by main.daemonMode\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:93 +0xe20\r\n\r\ngoroutine 15 [chan receive]:\r\nmain.processEvents()\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/event-handler.go:42 +0x72\r\ncreated by main.daemonMode\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:99 +0xe8f\r\n\r\ngoroutine 16 [chan receive]:\r\nmain.processChecks()\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/check-handler.go:51 +0x47\r\ncreated by main.daemonMode\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:100 +0xea0\r\n\r\ngoroutine 18 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc20814c6f0, 0x72, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc20814c6f0, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).accept(0xc20814c690, 0x0, 0x7f0d378f6d30, 0xc2081514c0)\r\n        /usr/local/go/src/net/fd_unix.go:419 +0x40b\r\nnet.(*TCPListener).AcceptTCP(0xc208036540, 0x48cede, 0x0, 0x0)\r\n        /usr/local/go/src/net/tcpsock_posix.go:234 +0x4e\r\nnet/http.tcpKeepAliveListener.Accept(0xc208036540, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/server.go:1976 +0x4c\r\nnet/http.(*Server).Serve(0xc20814a2a0, 0x7f0d378f8c68, 0xc208036540, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/server.go:1728 +0x92\r\nnet/http.(*Server).ListenAndServe(0xc20814a2a0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/server.go:1718 +0x154\r\nnet/http.ListenAndServe(0xc2080522ec, 0xe, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/server.go:1808 +0xba\r\ncreated by main.daemonMode\r\n        /home/ubuntu/.buildbox/Agent/acaleph/consul-alerts/consul-alerts.go:106 +0xf76\r\n```"}}