Hi,
I'm trying to connect to MongoDB Atlas from App Engine, but getting errors.
I've whitelisted 0.0.0.0/0 on MongoDB Atlas as this is just a test project.
I can connect fine from my local node server. Any ideas as to what I can
try?
MongoServerSelectionError: connection <monitor> to 35.224.187.131:27017
closed at Timeout._onTimeout
(/app/node_modules/mongodb/lib/core/sdam/topology.js:438:30) at
listOnTimeout (internal/timers.js:554:17) at processTimers
(internal/timers.js:497:7) { reason: TopologyDescription { type:
'ReplicaSetNoPrimary', setName: 'atlas-loe0la-shard-0', maxSetVersion:
null, maxElectionId: null, servers: Map {
'cluster0-shard-00-00.pntaf.mongodb.net:27017' => [ServerDescription],
'cluster0-shard-00-01.pntaf.mongodb.net:27017' => [ServerDescription],
'cluster0-shard-00-02.pntaf.mongodb.net:27017' => [ServerDescription] },
stale: false, compatible: true, compatibilityError: null,
logicalSessionTimeoutMinutes: 30, heartbeatFrequencyMS: 10000,
localThresholdMS: 15, commonWireVersion: 9 } }
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/467dd86b-2368-4b71-86e1-f4cd671f3e78n%40googlegroups.com.