bonjour
ca fait une semaine que je m'arrache mes cheveux pour deployer l'app en production avec Nodejs et react, en faite en local la connection avec MONGODB fonctionne à merveille avec le cluster et lorsque je deploie en production, il me donne pleins des erreurs( poutant dans le Network access j'ai bien mis IP pour tous : 0.0.0.0/0 ).
Voici quelques lignes des LOGS; Quelqu'un a déjà rencontré ce genre de problème? merci de me venir en aide svp

MongooseServerSelectionError: 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://www.mongodb.com/docs/atlas/security-whitelist/
App 3849671 output: at _handleConnectionErrors (/home/c2645562c/nodevenv/server/20/lib/node_modules/mongoose/lib/connection.js:1165:11)
App 3849671 output: at NativeConnection.openUri (/home/c2645562c/nodevenv/server/20/lib/node_modules/mongoose/lib/connection.js:1096:11)
App 3849671 output: at async connectDB (/home/c2645562c/server/index.js:41:18) {
App 3849671 output: errorLabelSet: Set(0) {},
App 3849671 output: reason: TopologyDescription {
App 3849671 output: type: 'ReplicaSetNoPrimary',
App 3849671 output: servers: Map(3) {
App 3849671 output: 'cluster0-shard-00-01.bomtx.mongodb.net:27017' => [ServerDescription],
App 3849671 output: 'cluster0-shard-00-02.bomtx.mongodb.net:27017' => [ServerDescription],
App 3849671 output: 'cluster0-shard-00-00.bomtx.mongodb.net:27017' => [ServerDescription]
App 3849671 output: },
App 3849671 output: stale: false,
App 3849671 output: compatible: true,
App 3849671 output: heartbeatFrequencyMS: 10000,
App 3849671 output: localThresholdMS: 15,
App 3849671 output: setName: 'atlas-mjr795-shard-0',
App 3849671 output: maxElectionId: null,
App 3849671 output: maxSetVersion: null,
App 3849671 output: commonWireVersion: 0,
App 3849671 output: logicalSessionTimeoutMinutes: null
App 3849671 output: },
App 3849671 output: code: undefined,
App 3849671 output: cause: TopologyDescription {
App 3849671 output: type: 'ReplicaSetNoPrimary',
App 3849671 output: servers: Map(3) {
App 3849671 output: 'cluster0-shard-00-01.bomtx.mongodb.net:27017' => [ServerDescription],
App 3849671 output: 'cluster0-shard-00-02.bomtx.mongodb.net:27017' => [ServerDescription],
App 3849671 output: 'cluster0-shard-00-00.bomtx.mongodb.net:27017' => [ServerDescription]
App 3849671 output: },
App 3849671 output: stale: false,
App 3849671 output: compatible: true,
App 3849671 output: heartbeatFrequencyMS: 10000,
App 3849671 output: localThresholdMS: 15,
App 3849671 output: setName: 'atlas-mjr795-shard-0',
App 3849671 output: maxElectionId: null,
App 3849671 output: maxSetVersion: null,
App 3849671 output: commonWireVersion: 0,
App 3849671 output: logicalSessionTimeoutMinutes: null
App 3849671 output: }
App 3849671 output: }

Aucune réponse