简体   繁体   English

MongooseError:操作 `users.insertOne()` 缓冲在 10000 毫秒后超时

[英]MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms

I am using the following generator: https://github.com/diegohaz/rest我正在使用以下生成器: https://github.com/diegohaz/rest

Link: Project Github链接:项目Github

When I try to enter a user using the MASTER_KEY message I get the following error:当我尝试使用MASTER_KEY消息输入用户时,出现以下错误:

MongooseError: Operation users.insertOne() buffering timed out after 10000ms MongooseError:操作users.insertOne()缓冲在 10000 毫秒后超时

A similar problem I also get with the findOne: findOne 也遇到了类似的问题:

Unhandled rejection MongooseError: Operation users.findOne() buffering timed out after 10000ms未处理的拒绝 MongooseError: 操作users.findOne()缓冲在 10000 毫秒后超时

I have tried all the proposed solutions I found here which have a similar problem, delete the node_modules folder and reinstall mongoose .我已经尝试了所有在此处找到的具有类似问题的建议解决方案,删除node_modules文件夹并重新安装mongoose

Can anyone help me out?谁能帮我吗?

If you want to test it there is above the link of the project.如果你想测试它,上面有项目的链接。

I got a similar error and get it solved by changing the node version while connecting and restarting the server.我遇到了类似的错误,并通过在连接和重新启动服务器时更改节点版本来解决它。 I changed the default node version to "2.2.12 or later" like this and then it worked.像这样将默认节点版本更改为“2.2.12 或更高版本”,然后它就可以工作了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 操作 `users.insertOne()` 缓冲在 10000 毫秒后超时,Node.js,MongooseError - Operation `users.insertOne()` buffering timed out after 10000ms in, Node.js, MongooseError “错误:MongooseError:操作 `users.insertOne()` 缓冲在 10000 毫秒后超时”, - "Error: MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms", MongooseError:操作 .insertOne() 缓冲在 10000 毫秒后超时 - MongooseError: Operation `.insertOne()` buffering timed out after 10000ms mongooseError:操作 `users.insertOne()` 缓冲在 10000 毫秒后超时 - mongooseError: Operation `users.insertOne()` buffering timed out after 10000 ms MongooseError:操作“fruits.insertOne()”缓冲在 10000 毫秒后超时 - MongooseError: Operation 'fruits.insertOne()' buffering timed out after 10000ms MongoDB insertOne() 缓冲在 10000 毫秒后超时 - MongoDB insertOne() buffering timed out after 10000ms “消息”:“errorMongooseError:操作 `userinfos.insertOne()` 缓冲在 10000 毫秒后超时” - "message": "errorMongooseError: Operation `userinfos.insertOne()` buffering timed out after 10000ms" 来自 MongoDB 的错误消息“操作 `disneys.insertOne()` 缓冲在 10000 毫秒后超时”” - Error Message from MongoDB "Operation `disneys.insertOne()` buffering timed out after 10000ms"" mongooseError:操作 `chatbots.findOne()` 缓冲在超时 10000 毫秒后超时。<anonymous></anonymous> - mongooseError: Operation `chatbots.findOne()` buffering timed out after 10000ms at Timeout.<anonymous> MongooseError:操作“featureds.find()”缓冲在 10000 毫秒后超时 - MongooseError: Operation 'featureds.find()` buffering timed out after 10000ms
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM