Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40314

Cannot connect to replica set

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.3
    • Component/s: Replication
    • Labels:
      None
    • ALL
    • Hide

      Not sure

      Show
      Not sure

      I'm trying to add new member to replica set and that new member receive connections from all other nodes but it can't connect to them.

      That's what I see in logs on all other nodes (xxx.xxx.xxx.xxx is the IP of new member):

      2019-03-22T22:24:10.804+0200 I NETWORK  [listener] connection accepted from xxx.xxx.xxx.xxx:56590 #339 (22 connections now open)
      2019-03-22T22:24:10.804+0200 D EXECUTOR [listener] Starting new executor thread in passthrough mode
      2019-03-22T22:24:10.805+0200 D COMMAND  [conn339] run command local.$cmd { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $db: "local" }
      2019-03-22T22:24:10.805+0200 I COMMAND  [conn339] command local.$cmd command: saslStart { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $db: "local" } numYields:0 reslen:320 locks:{} protocol:op_query 0ms
      2019-03-22T22:24:10.808+0200 D COMMAND  [conn339] run command local.$cmd { saslContinue: 1, payload: BinData(0, 633D626977732C723D61542F4A666D356F614F50586A636C65466C6A6B2F363739787A3864352B686E4633504D676B3331334C765579526370316235625A6853714541417942...), conversationId: 1, $db: "local" }
      2019-03-22T22:24:10.808+0200 I COMMAND  [conn339] command local.$cmd command: saslContinue { saslContinue: 1, payload: BinData(0, 633D626977732C723D61542F4A666D356F614F50586A636C65466C6A6B2F363739787A3864352B686E4633504D676B3331334C765579526370316235625A6853714541417942...), conversationId: 1, $db: "local" } numYields:0 reslen:249 locks:{} protocol:op_query 0ms
      2019-03-22T22:24:10.811+0200 D COMMAND  [conn339] run command local.$cmd { saslContinue: 1, payload: BinData(0, ), conversationId: 1, $db: "local" }
      2019-03-22T22:24:10.811+0200 I ACCESS   [conn339] Successfully authenticated as principal __system on local
      2019-03-22T22:24:10.811+0200 I COMMAND  [conn339] command local.$cmd command: saslContinue { saslContinue: 1, payload: BinData(0, ), conversationId: 1, $db: "local" } numYields:0 reslen:219 locks:{} protocol:op_query 0ms
      2019-03-22T22:24:10.814+0200 D COMMAND  [conn339] run command admin.$cmd { _isSelf: 1, $db: "admin" }
      2019-03-22T22:24:10.814+0200 I COMMAND  [conn339] command admin.$cmd command: _isSelf { _isSelf: 1, $db: "admin" } numYields:0 reslen:194 locks:{} protocol:op_query 0ms
      2019-03-22T22:24:10.816+0200 D NETWORK  [conn339] Session from xxx.xxx.xxx.xxx:56590 encountered a network error during SourceMessage
      2019-03-22T22:24:10.816+0200 I NETWORK  [conn339] end connection xxx.xxx.xxx.xxx:56590 (21 connections now open)
      2019-03-22T22:24:10.816+0200 D NETWORK  [conn339] Cancelling outstanding I/O operations on connection to xxx.xxx.xxx.xxx:56590
      

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            lisio Andrey Kostin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: