-
Notifications
You must be signed in to change notification settings - Fork 136
Adapter disconnects after a period of time #67
Comments
What a frustrating issue. This is the first I'm hearing of it. I wonder if other people are experiencing this and haven't reported it, or if there's something unique to your setup. In either case, seems like the adapter should provide more debugging information, perhaps leveraging any ability Faye has to let you log the websocket activity. |
@jimmycuadra that would be great. I've also opened up an issue with Slack and they're looking at their logs. I'll update this PR if they come up with anything. |
I experience the same issues. here is the log with log level debug:
I never see messages sent by in the log there is one interesting line:
it seems like it gets some event it can't parse. maybe this is related? |
me too: $ bundle exec lita
[2015-12-15 05:05:43 UTC] INFO: Connected to Slack.
[2015-12-15 05:15:52 UTC] INFO: Disconnected from Slack. |
me too
from 12/10 |
For everyone replying saying they are experiencing this issue, which of these is true for you?
Where "a while" is somewhere on the order of many weeks or more. |
It's the third one in my case. |
My case is 1. |
1 as well. |
1 for me |
my bot still can't send any message since monday. I've implemented my own handlers like in this example http://docs.lita.io/plugin-authoring/handlers/#examples, was there some major change in the slack api or something? |
I've passed along this GitHub issue to Slack's support, and they're passing it along to their engineers. I'll update this thread when they get back to me. |
Thank you, Ginja. As dismissive as it sounds to say "this is probably a Slack issue," it very well may be, so let's see what they say. |
Me too, situation 1. Lita is receiving messages from slack for a few minutes but no responses ever make it back to Slack. After 2-3 minutes it crashes. |
Having the exact same issue |
Ours started working again. I wonder if something changed on the Slack side? |
I can confirm mine started working again, too |
Same here. I updated our ticket to Slack's support and this was their response:
@jimmycuadra could we leave this issue open as a reminder to add some debugging options for faye-websocket? |
Yes, definitely. Thanks for following up, everyone! |
I'm gonna close this, but those interested in tracking additional debugging output for the adapter can follow #32. |
lita-slack 1.7.2
lita 4.6.1
In the last couple of days our lita bot has been disconnecting from Slack every couple of minutes. I've also noticed that when it comes back up, it will only respond to one or two commands before it stops responding to anything (yet it's still connected). After about 3-5 minutes it will then just simply disconnect from a close event:
I've used pry-remote to take a look at that Close Event and it's seems normal. In fact, all that was in the buffer was:
I've tried disabling all of our plugins, but the same behaviour occurs. My guess is that the lita-slack adapter is being rate-limited, and subsequently terminated, but I couldn't find a response to back that hypothesis up.
I also tried to turn debugging on for the
Faye::WebSocket::Client
class, but couldn't figure out where to specify it aside from theoptions
hash. And since{ debug: true }
is not a valid option, lita crashed instantly.Any help in debugging this issue would much be appreciated! Thanks :)
The text was updated successfully, but these errors were encountered: