Mongo DB Atlas not connecting and Giving Errors in Python using PyMongo Module

Hi, did you resolve this issue?
It also happened to recently. I wonder how you resolved it.
I tried to change DNS to 8.8.8.8, but it does not help.

The API worked for more than a year, but it suddenly failed.