{"action":"created","issue":{"url":"https://api.github.com/repos/42wim/matterircd/issues/189","repository_url":"https://api.github.com/repos/42wim/matterircd","labels_url":"https://api.github.com/repos/42wim/matterircd/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/42wim/matterircd/issues/189/comments","events_url":"https://api.github.com/repos/42wim/matterircd/issues/189/events","html_url":"https://github.com/42wim/matterircd/issues/189","id":331605565,"node_id":"MDU6SXNzdWUzMzE2MDU1NjU=","number":189,"title":"panic on websocket","user":{"login":"purpleidea","id":135091,"node_id":"MDQ6VXNlcjEzNTA5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/135091?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleidea","html_url":"https://github.com/purpleidea","followers_url":"https://api.github.com/users/purpleidea/followers","following_url":"https://api.github.com/users/purpleidea/following{/other_user}","gists_url":"https://api.github.com/users/purpleidea/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleidea/subscriptions","organizations_url":"https://api.github.com/users/purpleidea/orgs","repos_url":"https://api.github.com/users/purpleidea/repos","events_url":"https://api.github.com/users/purpleidea/events{/privacy}","received_events_url":"https://api.github.com/users/purpleidea/received_events","type":"User","site_admin":false},"labels":[{"id":281116395,"node_id":"MDU6TGFiZWwyODExMTYzOTU=","url":"https://api.github.com/repos/42wim/matterircd/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-12T14:11:39Z","updated_at":"2018-07-11T23:12:41Z","closed_at":"2018-06-22T08:31:51Z","author_association":"CONTRIBUTOR","body":"AFAICT I noticed this after an internet outage. Everything came back except slack, and when I looked this is what I found. Version is in the logs. HTH\r\n\r\n```\r\n$ ./bin/matterircd\r\nINFO[2018-06-11T11:21:02-04:00] Running version 0.17.3                        module=matterircd\r\nINFO[2018-06-11T11:21:02-04:00] Listening on 127.0.0.1:6667                   module=matterircd\r\nINFO[2018-06-11T11:21:40-04:00] New connection: 127.0.0.1:47096               module=matterircd\r\npanic: repeated read on failed websocket connection\r\n\r\ngoroutine 14 [running]:\r\ngithub.com/42wim/matterircd/vendor/github.com/gorilla/websocket.(*Conn).NextReader(0xc420094b40, 0xffffffffffffffff, 0x0, 0xc420275ec0, 0xc420275ec0, 0x412058)\r\n        /home/james/code/gopath/src/github.com/42wim/matterircd/vendor/github.com/gorilla/websocket/conn.go:958 +0x35d\r\ngithub.com/42wim/matterircd/vendor/github.com/gorilla/websocket.(*Conn).ReadJSON(0xc420094b40, 0x8dff00, 0xc420338a80, 0x1, 0x1)\r\n        /home/james/code/gopath/src/github.com/42wim/matterircd/vendor/github.com/gorilla/websocket/json.go:45 +0x2f\r\ngithub.com/42wim/matterircd/vendor/github.com/nlopes/slack.(*RTM).receiveIncomingEvent(0xc4200c69a0)\r\n        /home/james/code/gopath/src/github.com/42wim/matterircd/vendor/github.com/nlopes/slack/websocket_managed_conn.go:292 +0xa1\r\ngithub.com/42wim/matterircd/vendor/github.com/nlopes/slack.(*RTM).handleIncomingEvents(0xc4200c69a0, 0xc420206d20)\r\n        /home/james/code/gopath/src/github.com/42wim/matterircd/vendor/github.com/nlopes/slack/websocket_managed_conn.go:227 +0x2d\r\ncreated by github.com/42wim/matterircd/vendor/github.com/nlopes/slack.(*RTM).ManageConnection\r\n        /home/james/code/gopath/src/github.com/42wim/matterircd/vendor/github.com/nlopes/slack/websocket_managed_conn.go:54 +0x24d\r\n```"},"comment":{"url":"https://api.github.com/repos/42wim/matterircd/issues/comments/404338921","html_url":"https://github.com/42wim/matterircd/issues/189#issuecomment-404338921","issue_url":"https://api.github.com/repos/42wim/matterircd/issues/189","id":404338921,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDMzODkyMQ==","user":{"login":"james-lawrence","id":2835871,"node_id":"MDQ6VXNlcjI4MzU4NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/2835871?v=4","gravatar_id":"","url":"https://api.github.com/users/james-lawrence","html_url":"https://github.com/james-lawrence","followers_url":"https://api.github.com/users/james-lawrence/followers","following_url":"https://api.github.com/users/james-lawrence/following{/other_user}","gists_url":"https://api.github.com/users/james-lawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/james-lawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-lawrence/subscriptions","organizations_url":"https://api.github.com/users/james-lawrence/orgs","repos_url":"https://api.github.com/users/james-lawrence/repos","events_url":"https://api.github.com/users/james-lawrence/events{/privacy}","received_events_url":"https://api.github.com/users/james-lawrence/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T23:12:41Z","updated_at":"2018-07-11T23:12:41Z","author_association":"NONE","body":"@42wim what was the resolution? "}}
{"actor":{"display_login":"james-lawrence"}}