<@UFLFZ89HT> after checking docker logs.
# orm-help
a
@dan after checking docker logs.
j
Are you running a separate mongoDB or via
docker-compose
?
a
i am using mongo atlas
not via docker-compose
j
Do you need to authenticate with mongoDB to access it and do you have any pre-existing data in there?
This is out of my field, but I'll try my best to help 🙂
a
Thanks @Jenkins 🙂
well, Simple SRV is string is require to connect with your cluster like this one "mongodb+srv//&lt;username&gt;<PASSWORD>@zipak-zqguc.mongodb.net/test", which contains username or password, and i am using same uri with mongoose, so i don't think authentication is problem here and currently there is no data in this cluster.
d
You also have to whitelist your IP
or for now just whitelist any IP
a
i did it already
j
I tried two days ago and was not working too 😕
a
@Julián Álvarez if i find something, i will let you know
j
@Aditya Gupta 👌🏽
j
i have the same issue
looks better when I append ?ssl=false to the connection string
it does help
s
ssl=false help (even if it raises some security questions), but still, prisma server is unable to connect to DB
You can see it with “docker logs CONTAINER_ID” : [INFO] No server chosen by com.mongodb.async.client.ClientSessionHelper$1@3a0eb010 from cluster description ClusterDescription{type=REPLICA_SET, connectionMode=MULTIPLE, serverDescriptions=[ServerDescription{address=….
j
I figured it out.. I turned ssl=true back on and downgraded the prisma docker image from 1.27 to 1.26.5
seems to be a bug in 1.27