slackbotapi
slackbotapi copied to clipboard
No timeout on connection or reconnection
When there is a network problem it appears that no timeout occurs. This prevents being able to reconnect.
I'm also not seeing my bot reconnect if the network connection drops
I'm having the same issue. I loose the network connection for a brief period at night, and the bot never reconnects.
Having this as well in our production environment (happens every few months or so).
2017-04-29 05:04:43 Error: not opened at WebSocket.send (/srv/Karma-Mobile-API/node_modules/ws/lib/WebSocket.js:219:16) at slackAPI.sendSock (/srv/Karma-Mobile-API/node_modules/slackbotapi/lib/index.js:127:17)
Related: https://github.com/websockets/ws/issues/337