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

Is this module working with AWS DocumentDB? #403

Open
AfMyte opened this issue Sep 26, 2023 · 1 comment
Open

Is this module working with AWS DocumentDB? #403

AfMyte opened this issue Sep 26, 2023 · 1 comment

Comments

@AfMyte
Copy link

AfMyte commented Sep 26, 2023

Good morning folks, I am trying to use this module with DocumentDB but I always receive this error:

Error: MongoError: "Connection failed: Cannot read properties of undefined (reading 'includes')"
at MongoClient.connect (file:///app/vendor/deno.land/x/[email protected]/src/client.ts:46:13)
at connect (file:///app/src/utils/connection.js:15:18)
at session (file:///app/src/controllers/session.js:10:22)
at eventLoopTick (ext:core/01_core.js:183:11)
at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7)
at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7)
at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7)
at async cors (file:///app/vendor/deno.land/x/[email protected]/src/cors.ts:204:5)
at async middleware (file:///app/vendor/deno.land/x/[email protected]/src/cors.ts:243:5)
at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7)

That I think it is coming from here https://github.com/denodrivers/mongo/blob/main/src/utils/uri.ts#L42

@AfMyte AfMyte changed the title Is this module working with DocumentDB Is this module working with AWS DocumentDB? Sep 26, 2023
@erfanium
Copy link
Member

@AfMyte
I have never used AWS DocumentDB. You may test npm:mongodb package with Deno npm compat mode.

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

2 participants