Getting Timeout Error While connecting to MongoDB atlas URI in Django Project

Hi @Abdulla_Ansari,

Have a closer look at the djongo README . It looks to me like the MongoDB URL should be provided as a ‘host’ value inside a ‘CLIENT’ dict, instead of a ‘HOST’ value at the top level. If that’s it, then I totally see why you made the mistake!

Let me know if this fixes your problem.

Mark

1 Like