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 Details
mongorestore version: 100.5.4
mongo version: 5.0.12
I am using the same command for all my collections.