ServerSelectionTimeoutError with PyMongo and Flask

It’s working!

Thanks, @Steve_Silvester !

For those reading I added this to the end of my uri ?tls=true&tlsAllowInvalidCertificates=true