Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After offline/disconnect program crashes #3

Closed
beaug opened this issue Jun 27, 2016 · 2 comments
Closed

After offline/disconnect program crashes #3

beaug opened this issue Jun 27, 2016 · 2 comments

Comments

@beaug
Copy link

beaug commented Jun 27, 2016

Here is the output:

[Sun Jun 26 2016 20:55:40 GMT+0000 (UTC)] ERROR Last pong is too old: 14.737
[Sun Jun 26 2016 20:55:40 GMT+0000 (UTC)] INFO Reconnecting in 1000ms
[Sun Jun 26 2016 20:55:41 GMT+0000 (UTC)] INFO Attempting reconnect
[Sun Jun 26 2016 20:55:41 GMT+0000 (UTC)] INFO Connecting...
events.js:87
throw Error('Uncaught, unspecified "error" event.');
^
Error: Uncaught, unspecified "error" event.
at Error (native)
at Client.emit (events.js:87:13)
at Client._onLogin (/home/pi/music/slack-audiobot/node_modules/slack-client/src/client.js:74:14)
at /home/pi/music/slack-audiobot/node_modules/slack-client/src/client.js:2:59
at ClientRequest. (/home/pi/music/slack-audiobot/node_modules/slack-client/src/client.js:684:18)
at ClientRequest.emit (events.js:107:17)
at TLSSocket.socketErrorListener (_http_client.js:271:9)
at TLSSocket.emit (events.js:129:20)
at net.js:950:16
at process._tickCallback (node.js:355:11)

@BrenMurrell
Copy link
Owner

Heya! thanks for the feedback. This is a pretty standard issue with the Slack API rather than this software. See slackapi/node-slack-sdk#5 for more deets. I run this with supervisor usually (supervisor audiotbot.js instead of node audiobot.js). This means the bot will keep trying to connect rather than dying if it can't make a connection to slack.

@beaug
Copy link
Author

beaug commented Aug 9, 2016

Awesome thanks! Will give it a try

On 9 Aug 2016 10:19 AM, "Bren Murrell" notifications@github.com wrote:

Heya! thanks for the feedback. This is a pretty standard issue with the
Slack API rather than this software. See slackapi/node-slack-sdk#5
slackapi/node-slack-sdk#5 for more deets. I
run this with supervisor usually (supervisor audiotbot.js instead of node
audiobot.js). This means the bot will keep trying to connect rather than
dying if it can't make a connection to slack.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADsOM2VlPA8npB08424kAKKmZ4215v4vks5qd8elgaJpZM4I_jJx
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants