The Newbie is Back!
DiabolicAngeL opened this issue · 9 comments
Description
Hello again Casper, it's been a long time. I hope you're doing well.
I'm trying to setup your bot but of course I'm not doing it right and I need your help.
I managed to setup everything (I think)
I am just getting the following error.
MongooseError: Operation `bots.findOne()` buffering timed out after 10000ms
at Timeout.<anonymous> (/ghostybot/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:184:20)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
I am using https://cloud.mongodb.com
Thanks a lot!
Great job once again!
Can't wait to be back and try your new CAD too!
Make sure the login to the db is correct
try remove the ?retryWrites=true
try remove the ?retryWrites=true
Thank you for the reply,
No, that didn't work
Make sure to user: mongodb+srv://<user here>
is correct, you can check in the database access and make sure your IP is whitelisted so it can connect to mongodb here
did u fill in the pass?
did u fill in the pass?
yeap
Ps. When I create a database I put the database name, what should I put in collection name? Maybe that's what i'm doing wrong? I don't know
Problem solved.
If anyone else have the same problem, be sure to open the following ports.
27015,27016,27017