Mongo failed to connect to server on first connect

南笙酒味 提交于 2019-12-04 20:13:28

Here's what solved our problem.

Changed server and moved out of OpenVZ to a KVM "based" VPS. Every application element remained the same (app code/node/npm/mongo/drivers etc), and same OS (still Centos 7).

Not a single clue why, but the app is running perfectly on the new server for about a week instead of crashing every few minutes or hours...

Hope this helps someone!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!