play-framework-2.7

MongoError No primary node is available

ぐ巨炮叔叔 提交于 2020-01-13 09:44:48
问题 We have upgraded to Play 2.7.0 recently and use play2-reactivemongo version 0.16.2 with reactivemongo 0.16.3. We use reactivemongo-shaded-native but also tried without. We are connecting to a replica set with 3 nodes, MongoDB 3.6.10 on MongoDB Atlas. The initial connection is fine and the service is running OK for a while. But in the end we hit this error: [error] 2019-02-15 09:40:30,466 r.api.Failover2 - [Supervisor-1/Connection-2] Got an error, no more attempts to do. Completing with a