-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: All Tools
-
None
-
607
https://mongodb.slack.com/archives/C0VADE8F3/p1678115793554859
Hi all, IHAC that is running a mongodump command in Windows against an Atlas M10 Azure cluster (Mongo 6.0.4).
The commands are identical (case-wise too) but in the first case they are not able to perform the operation while in the second one they can as you can see from the console output below
PS C:\Users\11036213\Downloads\mongodb-database-tools-windows-x86_64-100.7.0\mongodb-database-tools-windows-x86_64-100.7.0\bin> .\mongodump.exe --uri="mongodb+srv://dx-shared.mzmgkbe.mongodb.net" --username="dxhub-bulk-site-uploader-read" --password='xxx' --db="dxhub-bulk-site-uploader"
2023-03-06T13:01:44.018+0100 Failed: can't create session: could not connect to server: connection() error occurred during connection handshake: context deadline exceeded
“Context deadline exceeded” is probably unclear to most users.
This task proposes catching & massaging that specific error to give a more meaningful message.