mrvautin / adminMongo

adminMongo is a Web based user interface (GUI) to handle all your MongoDB connections/databases needs.
https://adminmongo.markmoffat.com
MIT License
3.88k stars 816 forks source link

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

Open applebee1558 opened 5 years ago

applebee1558 commented 5 years ago

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 commented 4 years ago

same problem, any solution yet ?

germanafro commented 4 years ago

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 commented 3 years ago

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