lita-slack
lita-slack copied to clipboard
Random disconnections from Slack
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.
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.
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.
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
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 ?