'Flask - pymongo.errors.ServerSelectionTimeoutError

For some reason, my flask project stopped working. When I run "python run.py", my app crash. See below a screenshot of the errors in my terminal. I have checked my password and the mongoDB URI and they are both correct.

I also restarted my laptop, reinstall all the pip dependencies.

I also tried to downgrade pymongo dep.

Any help/suggestion is welcome.

Pymongo errors screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source