I suddenly became unable to connect to mongodb with shell and unable to dump db

Thanks @Ghrib_Ahmed,

From looking at the hostnames from the error logs you’ve provided initially it appears this would be an Atlas cluster. Please correct me if I am wrong here. The Atlas clusters should have a minimum MongoDB version of 4.0 which is a bit ahead of the mongodump and mongo commands being run.

I would recommend trying either of the following if you haven’t already done so for troubleshooting purposes:

  1. Reverting to the DST Root CA X3 and performing another mongodump to see if the errors are still present.
  2. Using the latest versions of mongodump and mongo. You can find the latest version of the MongoDB Database tools here. You can find the mongo shell within the bin folder after downloading and extracting the corresponding version of MongoDB community server.

After trying the above, please send any errors you receive when trying to perform mongodump and mongo shell connection attempts again.

Hope this helps.

Kind Regards,
Jason

1 Like