Hello Support,
We have created Serverless Cluster and we can connect to DB using SRV connection string but unable to use the Connection String Scheme “MongoDB” as below:
mongodb://****:*****@cluster.###.mongodb.net:27017/?retryWrites=true&w=majority&tls=true&authMechanism=SCRAM-SHA-1
We have also added 0.0.0.0/0 in Network Access List to connect from anywhere.
We are getting the following error: “The server is being accessed through a load balancer, but this driver does not have load balancing enabled”
Actually, we are trying to connect MongoDB in Gatsby Application using " gatsby-source-mongodb" plugin and we are unable to use SRV connection as Gastby is using mongo driver less that 4.1 so we can only connect using Connection String Scheme = “MongoDB”
Also, the same error we are getting in Mongo Compass as well.
Can you please help us?
Regards,
Raman Kumar