ServerSelectionTimeoutError: none:27017: [Errno 11001]

Hello. I’m deloping python app using mongodb cloud with motor 3.0.0 and faced with this error:
ServerSelectionTimeoutError: none:27017: [Errno 11001] getaddrinfo failed
How can solve this problem?

Check your URI. It is not defined correctly. It fails because the host name none does not exist as indicated by

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.