You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Uncaught (in promise) Error: MongoError: "Connection failed: MongoError: {"ok":0,"errmsg":"The server is being accessed through a load balancer, but this driver does not have load balancing enabled","code":354,"codeName":"LoadBalancerSupportMismatch"}"
throw new MongoDriverError(Connection failed: ${e.message || e});
^
at MongoClient.connect (https://deno.land/x/[email protected]/src/client.ts:48:13)
at async MongoService.init (file:///home/justin/code/example/src/services/mongo.service.ts:20:15)
at async initServices (file:///home/justin/code/example/src/services/mod.ts:17:3)
at async file:///home/justin/code/example/index.ts:9:18
The text was updated successfully, but these errors were encountered:
erfanium
changed the title
Connecting to a Mongo Atlas serverless cluster gives a LoadBalancerSupportMismatch error
feat: implement Load Balancer
Jan 28, 2022
Using a non-serverless cluster it works just fine.
Example connection string:
Error:
The text was updated successfully, but these errors were encountered: