Fails to connect even though mongod says connection accepted
SilverFox70 opened this issue · 1 comments
Just a note to anyone else who comes across this error, I used the mongo hookup with slakcbutton_bot_interactivemsg.js, but had already tested my program using simple storage. Long story short, the program bypassed creating a new bot since I already had a token, and attempted to populate my "teams" list, which was where the program ultimately hung up (the teams list was empty, so it couldn't make a proper call to startRTM). The failure to connect message was misleading and is not the cause of the issue. It all works fine.
I ran into the same problem, for those wondering how to fix it, just visit /login
of your bot to re-authorize it, and it should populate the db with the teams, which will let it startRTM
for any of them.