abourget / slick

Slick, a Slack bot in Go
150 stars 29 forks source link

Slack accounts become unusable #9

Open kiliankoe opened 7 years ago

kiliankoe commented 7 years ago

I've been running into a rather strange issue with a bot written in slick. After having an instance running for a while and restarting it (for whatever reason), I can no longer connect to slack. All I see is "Database closed". Resetting any possible changes and deleting all temporary files doesn't seem to have an effect.

Interestingly enough I can connect again when doing so through a new bot account. Simply regenerating the token on the old one does not work. But that's hardly a solution or even a workaround, as this happened again and again for me.

I spent some time with the very helpful Slack support trying to debug this issue, with them going through the server logs but failing to find any problems. I tried my best at debugging the issue, but also couldn't find a cause or something pointing to one.

Should anyone run into a similar issue or have some helpful input on this, I'd love to hear it. For now I had to migrate to using hubot, which does not experience this issue.

abourget commented 7 years ago

Hmmm, curious. Which revision of slick was that?