Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run latest mongo-express image with distant mongodb #91

Open
Ibtiheldh opened this issue May 29, 2023 · 0 comments
Open

Not able to run latest mongo-express image with distant mongodb #91

Ibtiheldh opened this issue May 29, 2023 · 0 comments

Comments

@Ibtiheldh
Copy link

could not connect to database using connectionString: "mongodb-url"
(node:6) UnhandledPromiseRejectionWarning: MongoParseError: Load balancer mode requires driver version 4+
at QueryReqWrap.callback (/node_modules/mongodb/lib/core/uri_parser.js:111:27)
at QueryReqWrap.onresolve [as oncomplete] (dns.js:205:10)
(node:6) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant