Steps to reproduce - message should be informative
ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongod --dbpath ./data/ --sslOnNormalPorts --sslPEMKeyFile=smoke.pem
ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongo
MongoDB shell version: 2.4.0-rc0
connecting to: test
Fri Feb 22 10:49:46.812 Socket recv() errno:104 Connection reset by peer 127.0.0.1:27017
Fri Feb 22 10:49:46.813 SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [1] server [127.0.0.1:27017]
Fri Feb 22 10:49:46.813 DBClientCursor::init call() failed
Fri Feb 22 10:49:46.814 Error: DBClientBase::findN: transport error: 127.0.0.1:27017 ns: admin.$cmd query:
src/mongo/shell/mongo.js:112
exception: connect failed
- duplicates
-
SERVER-11292 Connecting to ssl-encrypted mongod with non-ssl mongo shell generates confusing error
- Backlog