[TOOLS-620] Tools fail to connect on unix domain socket Created: 05/Feb/15  Updated: 26/Jun/17

Status: Waiting (Blocked)
Project: MongoDB Command Line Tools
Component/s: All Tools
Affects Version/s: 3.0.0-rc7
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Adam Comerford (Inactive) Assignee: Backlog - Server Tools Team
Resolution: Unresolved Votes: 1
Labels: None

Issue Links:
Depends

 Description   

The tools (tested mongodump, mongorestore, mongoexport, mongoimport) fail to connect using the Unix domain socket, looks like this:

./mongodump -d test --host /tmp/mongodb-27017.sock 
2015-02-05T17:09:18.321+0000	Failed: error connecting to db server: no reachable servers
 
./mongorestore -d test --host /tmp/mongodb-27017.sock 
2015-02-05T17:09:24.545+0000	using default 'dump' directory
2015-02-05T17:09:28.084+0000	Failed: error connecting to db server: no reachable servers
 
./mongoexport -d test -c data --host /tmp/mongodb-27017.sock 
2015-02-05T17:10:37.231+0000	Failed: error connecting to db server: no reachable servers
 
./mongo --host /tmp/mongodb-27017.sock 
MongoDB shell version: 3.0.0-rc7
connecting to: /tmp/mongodb-27017.sock:27017/test
> 

Connecting to the same process via IP is successful.

Using 2.6 versions of the tools is successful.



 Comments   
Comment by Michael O'Brien [ 05/Feb/15 ]

The new tools can't connect on unix domain sockets unfortunately - this will require MGO-59 to add the necessary support.

Generated at Sun Sep 24 04:46:10 UTC 2017 using JIRA 7.2.10#72012-sha1:2651463a07e52d81c0fcf01da710ca333fcb42bc.