keybase / bot-sshca

A chat bot that can manage your team's SSH accounts
BSD 3-Clause "New" or "Revised" License
222 stars 30 forks source link

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

Closed seigel closed 1 month ago

seigel commented 4 years ago

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.

krezreb commented 4 years ago

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

mmou commented 4 years ago

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!

seigel commented 1 month ago

Getting this off my list.