Server selection timed out after 10000 ms

Hi All,

I am getting below error message when I tried to connect MongoDB atlas. ping and telnet are working well. Please guide me on how to troubleshoot the error.

“Server selection timed out after 10000 ms”

Hi @Pawan_Singh_65823,

This is most likely a firewall related issue. I would recommend you to try connecting from some other network. Please check this post.

If the issue still persists, feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Hi Shubham,

Thanks for looking into it, now error changed to ‘read ECONNRESET’ .

I am using virtual box there is not firewall on virtual box but yes base machine have firewall enabled. I want to specify that I am able open it using web browser and telnet connection also getting establish. Would you please guide me to sort out this issue.

Hi All

I am getting below error message while applying filter
“An error occurred during schema analysis: Server selection timed out after 10000 ms”

Hi @Pawan_Singh_65823,

Can you please install compass on your base machine rather than the Virtual Box and then try connecting from some other network. If the issue still persists, please feel free to get back to us.

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Hi @Sudhakar_84824,

Can you please try to restart the Compass and connect again with the cluster. If the issue still persists please feel free to get back to us.

Thanks,
Shubham Ranjan
Curriculum Support Engineer