bot-sshca icon indicating copy to clipboard operation
bot-sshca copied to clipboard

Encountered error while processing message from <username> (messageID:521): failed to retrieve the list of teams the user is in: exit status 2

Open seigel opened this issue 5 years ago • 2 comments

Seems that the call to get a list of teams or something fails after a while, then never recovers, unless the bot is restarted. Is there a possibility of a connection to keybase going stal or something getting recycled in the API or the botWrapper? Can't reproduce it at will.

seigel avatar Feb 20 '20 04:02 seigel

Had the same issue. AFAIK the solution is to make sure that the bot is at least reader of any parent teams. For instance if you use the same team strategy as in the quick start quide, organisation.ssh.dev being your dev team. The bot needs to be in organisation.ssh.dev as a writer, but also organisation.ssh as a reader. Once you've made these changes, restart the bot with make restart

krezreb avatar Mar 20 '20 12:03 krezreb

If you are able to send logs (keybase log send) for the keybase service running on your SSH CA machine the next time this happens, that would be really helpful!

mmou avatar Apr 20 '20 20:04 mmou