Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-981

Can't connect to unix socket

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When trying to connect to a socket I get a MONGODB | getaddrinfo: Name or service not known | runtime: 0.0060ms error from the cluster.

      Connecting via either method:

      client = Mongo::Client.new('mongodb:///tmp/mongodb-27017.sock/')
      client = Mongo::Client.new(["/tmp/mongodb-27017.sock"])
      

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: