0

I've been working with pymongo module to connect to mongodb for a while and I haven't had any problems with it, but now, I have to process some heavy info (about 1 million docs daily or so) and I wanted to try the async module Motor to work with. But, I couldn't get it to work. Accordingly with the documentation, it says that the motor.MotorClient or motor.motor_asyncio.AsyncIOMotorClient should work as the pymongo.Client which receives a string with the srv connection and that should be it, but every time that i try with motor clients, it throws back the next error:

All nameservers failed to answer the query cluster-host. IN SRV: Server some-ip UDP port 53 answered REFUSED; Server some-ip UDP port 53 answered The DNS operation timed out.; Server some-ip UDP port 53 answered REFUSED

Is there anything that I'm missing?

Thanks in advance...

0 Answers0