A MongoServerSelectionError occurs when connecting to MongoDB

When using MongoDB, whether it is 10,000 ms or 30,000 ms, it intermittently throws a MongoServerSelectionError. I am even using MONGODB_URI connected to vercel and mongodb.

I looked through various content and communities, but I couldn’t find a solution.

image



Hey, @luina7! Welcome :waving_hand:

Did you manage to find a solution here?