-
Notifications
You must be signed in to change notification settings - Fork 143
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
Frequent bot restart required #118
Comments
Hmm... I haven't heard of this. The bot is supposed to exit if the slack connection terminates, so I don't know why the process would stay running. Are you using slash commands or @ messages to communicate with the bot? |
Thanks for the quick response. No slash commands. Only @ mentions or, more often, direct messages in the Looker user channel. |
Definitely sounds like the realtime API is shutting down. It should be exiting in that case though. Looks like this needs some investigation. |
What can I provide for debugging? Thanks. |
+1 a customer needing restarts |
Yeah, running into this a lot as well. Needed to restart lookerbot several times last week. Please let me know if there is anything I can do to help debug. I'm not sure if there are any log files I can dig into? |
I'd love to help debug this. This is very annoying and too frequent. What logging can I add to see if this is a problem talking to Slack or Looker? |
I am pretty sure it’s a problem talking to Slack but unfortunately I just am not sure how to debug it off the top of my head and I haven’t had the bandwidth to do a deep dive on this yet. |
Please reopen if this still happens under 0.0.14. |
I'm seeing this internally – the bot continues responding to Slash commands but goes offline. Slack RTM is disconnecting somehow. |
Experienced this today - bot was not responding to commands, offline in Slack. Restarting the docker container in Kubernetes fixed it instantly. Running latest version, deployed for the first time on Thursday. We will try to debug and share anything we find, as everyone is pretty excited to see this working! Even if it is tough to work out why this happening, a /status route within the app would at least allow Kube to restart the container automatically when it happens - assuming the problem could be detected from within Lookerbot. Some more logging to trawl through might help as well. |
There is |
+1. We are seeing this a few times a week. Running in Elastic Beanstalk. Restart fixes every time. |
@wilg Have you considered upgrading |
I haven't had too much time to find a solution beyond restarting the container - though @reedloden suggests an idea worth trying out. If it helps, when it broke today I was getting this error in the logs repeated every second...
|
We were experiencing this: Lookerbot disconnected every few days and never reconnected. Based on the suggestion by @reedloden, I updated botkit. Our lookerbot has stayed connected since about April 20. It's possible this breaks something in lookerbot that we're not using, but so far, we haven't found any problems. PR here: #141 |
We've been running the bot for over a year here and every week or so the bot will stop responding to requests (and we see it go offline in slack). The node process is still running and there isn't anything interesting in the logs. We need to kill the current process and restart it.
Bot 0.0.13
Ubuntu 14.04
Known issue with node / slack / looker?
The text was updated successfully, but these errors were encountered: