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/4a04550a-c454-421f-b7d8-09b1ba07652e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-app... Raj Chaudhary
    • [googl... 'Yasser Karout (Cloud Platform Support)' via Google App Engine
      • [g... Raj Chaudhary
        • ... Attila-Mihaly Balazs
          • ... Raj Chaudhary
            • ... 'Mohammad I (Cloud Platform Support)' via Google App Engine
              • ... dominic tobias
    • [googl... dominic tobias
      • [g... 'Tiago (Google Cloud Platform Support)' via Google App Engine
    • [googl... sahib singh

Reply via email to