Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Fails to connect even though mongod says connection accepted #17

Open
SilverFox70 opened this issue Sep 20, 2016 · 1 comment
Open

Fails to connect even though mongod says connection accepted #17

SilverFox70 opened this issue Sep 20, 2016 · 1 comment

Comments

@SilverFox70
Copy link

SilverFox70 commented Sep 20, 2016

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.

@Laptopmini
Copy link

Laptopmini commented Mar 22, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants