https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
e

enough-psychiatrist-34168

06/05/2023, 7:07 PM
Hi there! I appreciate any help given here. I just installed it on my k8s cluster but I've got some strange error message. It's running
v2.1.1
Copy code
{"level":50,"time":1685991856283,"pid":500,"hostname":"growthbook-56b644d9b8-f89xj","err":{"type":"MongoParseError","message":"Load balancer mode requires driver version 4+","stack":"MongoParseError: Load balancer mode requires driver version 4+\n    at QueryReqWrap.callback (/usr/local/src/app/node_modules/mongodb/lib/core/uri_parser.js:111:27)\n    at QueryReqWrap.onresolve [as oncomplete] (node:dns:281:10)","name":"MongoParseError"},"msg":"Failed to connect to MongoDB"}
 | {"level":50,"time":1685991856285,"pid":500,"hostname":"growthbook-56b644d9b8-f89xj","err":{"type":"Error","message":"MongoDB connection error.","stack":"Error: MongoDB connection error.\n    at /usr/local/src/app/packages/back-end/dist/init/mongo.js:35:15\n    at Generator.throw (<anonymous>)\n    at rejected (/usr/local/src/app/packages/back-end/dist/init/mongo.js:6:65)"},"msg":"Failed to initialize application"}
It's using MongoDB Atlas
Maybe it's related to this thread
f

fresh-football-47124

06/05/2023, 8:07 PM
we just updated the mongo library
I wonder if this is a new error or old
can you try on the latest?
e

enough-psychiatrist-34168

06/05/2023, 8:36 PM
I'm already using the latest release
v2.1.1
There's a PR done to update mongo related libs to support Mongo Atlas
11 Views