Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1928

State: Connected when there is no server listening on port

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • None

    Description

      When I use mongodump to connect to a port on which there is nothing listening, I get a message telling me the state of topology is connected:

      serene% ~me/debs/mongo/tools/mongodump  --port 27017   -q 'hello' -c test -d ruby-driver
      2021-03-21T08:36:16.812-0400	Failed: can't create session: could not connect to server: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: localhost:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : dial tcp [::1]:27017: connect: connection refused }, ] }
      

      I find this message confusing because there isn't anything listening on port 27017, therefore, what is mongodump connected to?

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: