You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Help for this error
MongooseError: Operation users.findOne() buffering timed out after 10000ms
at Timeout. (C:\CHAT\chat-app\server\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:148:23)
If you are using MongoDB in local so you can use as mongoose.connect( uri ) mongoose uri not like localhost:27017 You can change this into like this one 127.0.0.1:27017 and your mongoose ll connect with correct local DB Just Try it.
Help for this error MongooseError: Operation users.findOne() buffering timed out after 10000ms at Timeout. (C:\CHAT\chat-app\server\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:148:23)
If you still facing the issue just change your mongo URL and add ?authSource=admin end of your database name like below:
can anyone give me a suggestion how the code work i did everything but my database is not working anyone please share me a steps of this how its wort its please
Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/ this error is genareting
Activity
aMannanAnsari commentedon Jun 30, 2022
If you are using MongoDB in local so you can use as mongoose.connect( uri ) mongoose uri not like localhost:27017 You can change this into like this one 127.0.0.1:27017 and your mongoose ll connect with correct local DB Just Try it.
aMannanAnsari commentedon Jun 30, 2022
You have to just change localhost:27017 to 127.0.0.1:27017
rudSarkar commentedon Jul 19, 2022
If you still facing the issue just change your mongo URL and add
?authSource=adminend of your database name like below:HarshTambade commentedon Aug 2, 2022
can anyone here how to do the full setup of the zip of this project to get perfect output
Sharifa26 commentedon Sep 22, 2022
replace the mongodb://localhost:27017
with mongodb://0.0.0.0:27017
i also used this and it working
Mayank-sudo commentedon Sep 24, 2022
My code worked normaly from one PC but from another one I got the same error
I fixed it by adding my current IP to Security - Network Access - IP Access List in the hosting server.
rudSarkar commentedon Sep 24, 2022
Can you post the error?
Piyushg094 commentedon Nov 2, 2022
can anyone give me a suggestion how the code work i did everything but my database is not working anyone please share me a steps of this how its wort its please
Mayank-sudo commentedon Nov 2, 2022
am confused your data is not connecting or not establing
Piyushg094 commentedon Nov 2, 2022
my data is not establing user input is not adding in my moogose
Piyushg094 commentedon Nov 2, 2022
Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/ this error is genareting
hardiii13 commentedon Jan 15, 2023
There may be Problem due to the version of mongoose you have installed. There are some commands that are removed from latest versions.