Mongodump failed with error : connection handshake: context deadline exceeded

when I run mongodump against one database, it failed a few times, not always.
the primary node mongod stopped. I added readpreferrence to secondary but it failed sometimes too.
error message like following:
“error creating intents to dump: error creating intents for database, io_service: connection() error occured during connection handshake: context deadline exceeded”
anyone had the same experience? mongodb ent 4.4.3. mongodump version 100.2.1

  • Hank