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:
3.4+ driver connection string
Please help!
Hello Raj,
A possible workaround of your issue has been provided here. At the StackOverflow thread it is suggested to use an older version of the MongoDB atlas url and set the new url to false.
In case the above mentioned workarounds still does not resolve the issue you can reach out to MongoDB atlas support which is a third party product, for a possible solution or to find out whether MongoDB atlas 3.4 and 3.6 is compatible with Google App Engine Standard Environment.
If you believe it is a platform specific issue, you can report the issue using the issue tracker as detailed inspection of logs and troubleshooting will be required to resolve the issue. In case you need to share any private or project specific information, please choose the “Private” component so that the information is not visible to the public.
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:
3.4+ driver connection string
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.
Hello There,