pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed

Hi, check your network access configuration in Atlas in case you are connecting to it.

In my case, I was connecting to an instance in Atlas. As long as I have added the new IP, I was using from my network, I could connect

2 Likes