Hello Dominic,
Your previous comment seemed to indicate that using the older version of the Atlas URL and setting the new URL parser to false resolved the error message “ERROR db_connection querySrv ESERVFAIL <mongo-url>.gcp.mongodb.net”. Can you please clarify what issue still persists? Also, let me reiterate Yasser’s comments above, as these types of questions are better addressed on StackOverflow where you have access to a large community of enthusiasts and experts to share ideas with and get support from. Please make sure to include all relevant details and error messages which would help the community troubleshoot. Please kindly note that Google Groups is more suited for general discussions, not for specific technical issues. On Tuesday, December 18, 2018 at 10:09:41 PM UTC-5, dominic tobias wrote: > > I have exactly the same problem, I also tried the old style of string when > connecting to a replica set but still the same issue. Also works fine on > localhost. Did you find a solution? > > On Tuesday, 30 October 2018 17:55:00 UTC, Raj Chaudhary wrote: >> >> I can successfully connect to a MongoDB database hosted on mLab from >> Google App Engine Standard (Node.js 8 runtime) using the 3.4+ driver. >> >> >> But I can't connect to a MongoDB database hosted on MongoDB Atlas from >> Google App Engine Standard (Node.js 8 runtime) using both, 3.6+ driver as >> well as 3.4+ driver. >> >> >> 3.6+ driver connection string: >> >> >> mongodb+srv:// >> username:[email protected]/dbname?retryWrites=true >> >> 3.4+ driver connection string >> >> >> mongodb://username:[email protected]:27017, >> xyz-shard-00-01-wc7dj.gcp.mongodb.net:27017, >> xyz-shard-00-02-wc7dj.gcp.mongodb.net:27017/dbname?ssl=true&replicaSet=xyz-shard-0&authSource=admin&retryWrites=true >> >> Please help! >> > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/710fbaac-4119-4016-94f4-dcdff3301e7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
