Pymongo DNS error

Anyone facing issue with Pymongo? Am having issues connecting to the Database from replit.

See error message below:

The resolution lifetime expired after 21.146 seconds: Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 2606:4700:4700::1113 UDP port 53 answered [Errno 99] Cannot assign requested address; Server 2606:4700:4700::1003 UDP port 53 answered [Errno 99] Cannot assign requested address; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.; Server 127.0.0.11 UDP port 53 answered The DNS operation timed out.

Hey @footytrade2021!

We are aware of a similar issue with MongoDB, but this appears to be a different one. If you run kill 1 in the shell, that should reboot the Repl and might fix the issue.

1 Like

works after i do a kill 1 , but thats not a perm solution to this issue.

@ShaneAtReplit