Closed bfbachmann closed 6 years ago
This panic took Rocket down recently. We should try and recover from errors like this.
rocket_1 | panic: repeated read on failed websocket connection rocket_1 | rocket_1 | goroutine 31 [running]: rocket_1 | github.com/ubclaunchpad/rocket/vendor/github.com/gorilla/websocket.(*Conn).NextReader(0xc42013c280, 0xc4201692b8, 0x0, 0x0, 0xc420032ec0, 0xc420032ec0) rocket_1 | /go/src/github.com/ubclaunchpad/rocket/vendor/github.com/gorilla/websocket/conn.go:959 +0x3d9 rocket_1 | github.com/ubclaunchpad/rocket/vendor/github.com/gorilla/websocket.(*Conn).ReadJSON(0xc42013c280, 0x8bbdc0, 0xc420180ee0, 0xbf0600, 0xc224e0) rocket_1 | /go/src/github.com/ubclaunchpad/rocket/vendor/github.com/gorilla/websocket/json.go:50 +0x2f rocket_1 | github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack.(*RTM).receiveIncomingEvent(0xc420171e00) rocket_1 | /go/src/github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack/websocket_managed_conn.go:288 +0xaa rocket_1 | github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack.(*RTM).handleIncomingEvents(0xc420171e00, 0xc4205b4a80) rocket_1 | /go/src/github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack/websocket_managed_conn.go:223 +0x2d rocket_1 | created by github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack.(*RTM).ManageConnection rocket_1 | /go/src/github.com/ubclaunchpad/rocket/vendor/github.com/nlopes/slack/websocket_managed_conn.go:54 +0x265
This panic took Rocket down recently. We should try and recover from errors like this.