adminMongo icon indicating copy to clipboard operation
adminMongo copied to clipboard

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

Open applebee1558 opened this issue 6 years ago • 3 comments

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

applebee1558 avatar Nov 01 '19 03:11 applebee1558

same problem, any solution yet ?

Badrouu17 avatar Mar 14 '20 04:03 Badrouu17

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

germanafro avatar Aug 28 '20 08:08 germanafro

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

ririko5834 avatar Sep 22 '21 12:09 ririko5834