Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3189

Mongo Restore Connection Handshake Timeout

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Problem Statement/Rationale

      Mongo Restore Connection Handshake Timeout

      Steps to Reproduce

      I am executing mongorestore using this command.

      mongorestore --uri mongodb+srv://{mongoUser}:{mongoPass}@{mongoHost} --ssl --authenticationDatabase {mongoAuth} --db {db} --gzip --archive={fileLoc} --drop

      I am restoring multiple collections at a time. 3 other collections were successful but on the last one which is the biggest one as well, I am getting this error. 

      Failed: webhook-activity.user: error creating indexes for webhook-activity.user: createIndex error: connection() error occurred during connection handshake: dial tcp: i/o timeout

      Expected Results

      All collections are restored successfully.

      Actual Results

       Failed: webhook-activity.user: error creating indexes for webhook-activity.user: createIndex error: connection() error occurred during connection handshake: dial tcp: i/o timeout

      Additional Notes

      mongorestore version: 100.5.4

      mongo version: 5.0.12

      I am using the same command for all my collections.

       

            Assignee:
            rohan.sharan@mongodb.com Rohan Sharan
            Reporter:
            ralph.odquier@etrainu.com Ralph Odquier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: