I am using mongodump command to take backup of an Azure Cosmos DB. It runs for some time and is then failing with
Failed: error writing data for collection test.testcollection
to disk: error reading collection:[-3]) incomplete read of full message: read tcp x.x.x.x:xxxxx->x.x.x.x:xxxxx: read: connection reset by peer
In one of the attempts it had run for an hour and then failed with the above error. Is there any setting on the Azure side which needs to be changed or any option in the mongodump to be changed?
I was expecting the dump to be succesful. Instead the command is failing. Tried the command with the verbose mode as well but that did not proceed as well.