Hi !!,
I have question about MongoDB connection,… thanks in advance
I failed to connect to the MongoDB Cluod Serverless instance with mongodb-driver deps.
When I try to connect to the instance using URL ,
Mongo.start_link(url: “mongodb+srv://DB:PW@pigro.baybc.mongodb.net/test”)
it shows the warning and error message …
15:07:32.169 [warning] Description: ‘Authenticity is not established by certificate path validation’
Reason: ‘Option {verify, verify_peer} and cacertfile/cacerts is missing’
15:07:32.344 [error] Mongo.MongoDBConnection (#PID<0.241.0>) failed to connect: ** (Mongo.Error) The server is being accessed through a load balancer, but this driver does not have load balancing enabled 354
When I tried to connect using the tool “MongoDB Compass”, there is no problem…
Is there any solution to solve it…??
Thanks,