Details
-
Bug
-
Resolution: Fixed
-
Blocker - P1
-
1.7.0
-
None
-
macOS homebrew
-
3
-
Not Needed
-
Iteration Unicornfish
Description
The mongosh CLI should call net.setDefaultAutoSelectFamily(true) during setup (run.ts), if available, to accommodate for the fact that the homebrew team upgraded mongosh to Node.js 19+ without informing us, leading to connectivity issues when connecting to localhost on systems where that resolves to ::1 before 127.0.0.1.
As a workaround, users can specify NODE_OPTIONS=--enable-network-family-autoselection in their environment variables for mongosh sessions.
Attachments
Issue Links
- is related to
-
MONGOSH-1391 Allow usage of latest Node.js with mongosh in homebrew
-
- Closed
-