-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bot disconnecting, but loop keeps running #13
Comments
Hi, not that I know of. I will need to look into this issue. |
I have added locally ping / pong support to websocket and I am waiting for results (if bot gets inactive on slack). Will let you know in 2-3 days if this could be the possible resolution. |
It seems that ping / pong on websocket fixed my issue. Extended cleitn with: getWebSocket method:
And used such code in a loop periodic timer:
|
That’s great! Do you want to PR this yourself? Otherwise I’ll take care of it later. |
@mpociot this code is more like a PoC than real solution that can be merged. I will try to get to it later this week, do some refactoring and PR. :) |
Hi, I'm experiencing the same issue. The loop keeps running but after a few days the bot does not respond anymore. @fliespl did you ever get to creating a patch? |
Hi Marcel,
quick question - is slack driver stable enough to be used in production env?
In our case we have noticed that every 2-3 days Slack Bot (Apps) is being marked as disconnected in channel.
Command line script is no killed though, there is no error in command line output (I believe periodic timer executes as well, but need to double check on that).
Our only option is to kill command and restart it. Any advice?
The text was updated successfully, but these errors were encountered: