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

unexpected IP/Port logged in "connection handshake" error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      Error :
      error msg="Cannot con
      nect to MongoDB: cannot connect to MongoDB: server selection error: server selection timeout, current topology: { Type: Single, Servers: [

      { Addr: host2:port, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp 127.0.0.1:27017: connect: connection refused }

      , ] }

      Note: 127.0.0.1:27017 is not our host/port, not sure of this line in the log

      Got this error on one VM(azure), which is part of a mongodb replicaset.
      We faced an issue from application end yesterday.
      During the issue duration , affected host was secondary, it became primary after an election happened thereafter.

      We checked and found No health event reported for this VM.

      Issue resolved on its own. But we are not sure of this error and as this is prod env we are trying to investigate.
      We are using Mongo 4.4.6 version on Azure VM

      Attachments

        Activity

          People

            chris.kelly@mongodb.com Chris Kelly
            debalina.saha@accenture.com Debalina Saha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: