Started gettint `Server selection timed out after 30000 ms`

Some times connection is success, but usially today its started .
Cant connect, constantly getting the error
MongooseServerSelectionError: Server selection timed out after 30000 ms
using nodejs 14, mongoose ,
tried previous and latest versions, same problem
some times its connected…
sometimes the error Make sure your current IP address is on your Atlas cluster's IP whitelist occured, but my ip is in white list, i have added it. But i thing it is does not matter, because its worked before without the ip in white list , and some times its connected any way.

It’s possible that the public IP address that you’re connecting from changed. I recommend opening a support case

1 Like