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

mongodb+srv:// scheme urls results in invalid scheme #251

Open
applebee1558 opened this issue Nov 1, 2019 · 3 comments
Open

mongodb+srv:// scheme urls results in invalid scheme #251

applebee1558 opened this issue Nov 1, 2019 · 3 comments

Comments

@applebee1558
Copy link

So, when I try to connect to a shared mongodb atlas cluster, which uses mongodb+srv:// scheme, the admin panel says a invalid scheme is provided.
error message: Config error: TypeError: uri must be mongodb scheme

@Badrouu17
Copy link

same problem, any solution yet ?

@germanafro
Copy link

germanafro commented Aug 28, 2020

I replaced the outdated mongo-uri parser with my own solution and updated the mongoDb drivers.
The impl is definitely unstable as it doesn't catch missing required params yet. But as long as you provide a valid uri it should be fine. The worst that can happen anyway, is that the MongoClient won't connect due to bad uri.
#276

@ririko5834
Copy link

I have the same problem, when it will be fixed @mrvautin ?

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

4 participants