Trying to connect to an Atlas mongodb instance from my Node app running on Google Cloud App Engine and getting the following error:
MongoError: no mongos proxy available at Timeout
My connection string is basically this: (have changed some names of shards slightly for obvious reasons)
mongodb://
<username>:<password>@
shard-00-00-hfnfz.gcp.mongodb.net:27017,
shard-00-01-hfnfz.gcp.mongodb.net:27017,
shard-00-02-hfnfz.gcp.mongodb.net:27017
/test
?ssl=true
&replicaSet=shard-0
&authSource=admin
I can connect fine from my local using Compass. However, when trying to connect via my app running in Google Cloud App Engine, I get the aforementioned error in my logs.
