Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Random disconnections from Slack #89

Open
shortdudey123 opened this issue Apr 22, 2016 · 4 comments
Open

Random disconnections from Slack #89

shortdudey123 opened this issue Apr 22, 2016 · 4 comments

Comments

@shortdudey123
Copy link

I am seeing my lita bot randomly drop off of scout. I turned on debug logging and see this. Not sure what other info i can grab to help. Looks like it got a nil event from slack and disconnected

[2016-04-22 18:06:51 UTC] DEBUG: presence_change event received from Slack and will be ignored.
[2016-04-22 18:07:04 UTC] DEBUG:  event received from Slack and will be ignored.
[2016-04-22 18:07:04 UTC] INFO: Disconnected from Slack.
@shortdudey123
Copy link
Author

Happened again... any suggestions on things to try?

Might try and dig into the lita-slack code when i have time

[2016-05-25 20:23:19 UTC] DEBUG: presence_change event received from Slack and will be ignored.
[2016-05-25 20:23:21 UTC] DEBUG: presence_change event received from Slack and will be ignored.
[2016-05-25 20:23:35 UTC] DEBUG: reconnect_url event received from Slack and will be ignored.
[2016-05-25 20:24:13 UTC] DEBUG: presence_change event received from Slack and will be ignored.
[2016-05-25 20:24:14 UTC] DEBUG: presence_change event received from Slack and will be ignored.
[2016-05-25 20:24:24 UTC] DEBUG:  event received from Slack and will be ignored.
[2016-05-25 20:24:24 UTC] INFO: Disconnected from Slack.
[2016-05-25 20:24:24 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API.

@jimmycuadra
Copy link
Contributor

Sorry, no specific suggestions off hand. This could be caused by lots of things. Unstable network connection, bugs in lita-slack or websockets, bugs on Slack's side, etc.

@shortdudey123
Copy link
Author

the nil event seems to be what causes slack to disconnect
going to dig in a see if i can add more debug logging to figure out more about what exactly a nil event is

@mbajur
Copy link

mbajur commented Aug 4, 2018

I have exact the same issue - lita randomly disconnects which makes it useless as i can't constantly restart the process each time it's down (which is aprox. once a day). Is there anything i can do to help you debug that ?

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

No branches or pull requests

3 participants