[COMPASS-4652] Connectivity Issues Created: 18/Feb/21  Updated: 10/Jan/24  Resolved: 24/Feb/21

Status: Closed
Project: Compass
Component/s: Compass, Connectivity
Affects Version/s: 1.25.0
Fix Version/s: No version

Type: Bug Priority: Critical - P2
Reporter: Jothibasu M Assignee: Unassigned
Resolution: Done Votes: 0
Labels: MongoDB, node.js
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

macOS 10.15.7


Documentation Changes: Not Needed

 Description   

Problem Description

MongoDB compass destroys the connection after the latest update.
It was not allowing me to work in multiple clients like node application and MongoDB compass.
But along with Robo 3T is works fine.

Steps to Reproduce

1) Start you mongodb community edition 4.4.3
2) Connect nodejs application
3) Try connecting the same DB using MongoDB Compass
4) Try to do some operations in nodejs application
      - Here it breaks with error saying connection refused (It only because of MongoDB Compass, if I was using some other clients like Robo 3T then it's working fine)

Expected Results

Connection successfull

Actual Results

Refused to connect

Additional Notes



 Comments   
Comment by Jothibasu M [ 24/Feb/21 ]

Thank you � 

Comment by Massimiliano Marcon [ 24/Feb/21 ]

jothibasu@smartaudit.co thank you for the quick reply! Closing this then.

Comment by Jothibasu M [ 24/Feb/21 ]

Hey @Massimiliano Marcon,
Thanks for the reply.
Actually I've found the issue and fixed it.

The issue is,

handle-open: open: Too many open files

Comment by Massimiliano Marcon [ 24/Feb/21 ]

Hi jothibasu@smartaudit.co can you share some more details about your setup?

  • is this mongodb community running on localhost? Is it running in Docker? Is it running with the default configuration?
  • Do you have other things (applications, tools, etc.) connected to that server?
  • What does the node.js application do? How did you set up the connection?
  • Is the server still running after you have connected with Compass? If not and it crashed, can you share the server log?
  • Do you just connect with Compass and that is enough to break MongoDB or do you also do some other operations?
  • How much data do you have in your db/collection?
Generated at Wed Feb 07 22:37:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.