Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.6.6
-
None
-
None
-
ALL
Description
vagrant@precise64:~$ mongo mongodb://root:toor@192.168.112.10:2300/admin?ssl=true
|
MongoDB shell version: 2.6.6
|
connecting to: mongodb://root:toor@192.168.112.10:2300/admin?ssl=true
|
2014-12-19T11:23:57.062-0800 Assertion failure _setName.size() src/mongo/client/dbclientinterface.h 231
|
2014-12-19T11:23:57.065-0800 0x7f2283 0x7a7c79 0x78f722 0x67cc53 0x674ba8 0x7664ff 0x74e417 0x92a7d1 0x2399a2d06362
|
mongo(_ZN5mongo15printStackTraceERSo+0x23) [0x7f2283]
|
mongo(_ZN5mongo10logContextEPKc+0x1a9) [0x7a7c79]
|
mongo(_ZN5mongo12verifyFailedEPKcS1_j+0xc2) [0x78f722]
|
mongo(_ZN5mongo16ConnectionStringC2ENS0_14ConnectionTypeERKSsS3_+0x1b3) [0x67cc53]
|
mongo(_ZN5mongo16ConnectionString5parseERKSsRSs+0x1a8) [0x674ba8]
|
mongo(_ZN5mongo17mongoConsExternalEPNS_7V8ScopeERKN2v89ArgumentsE+0xcf) [0x7664ff]
|
mongo(_ZN5mongo7V8Scope10v8CallbackERKN2v89ArgumentsE+0x87) [0x74e417]
|
mongo() [0x92a7d1]
|
[0x2399a2d06362]
|
2014-12-19T11:23:57.066-0800 Error: assertion src/mongo/client/dbclientinterface.h:231 at src/mongo/shell/mongo.js:148
|
exception: connect failed
|
I realize the mongo shell does not support the same connection string as the drivers, but the assertion failure and backtrace likely isn't something the user should see.
This is using the MongoDB Enterprise shell, haven't tried the normal one.
Attachments
Issue Links
- duplicates
-
SERVER-15739 Make error message when passing a "mongodb://" URI to shell more friendly
-
- Closed
-