-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error [ERR_INTERNAL_ASSERTION] with autoSelectFamily enabled #46669
Comments
@addaleax you can probably tell if this is a node bug or something mongosh is doing? |
Fascinating, a mongosh issue here :) We just enabled calling I couldn’t reproduce this out of the box though, I would imagine there’s more to it than generically “connect to a mongod server”. @marcopdonoso A few things: You most likely installed mongosh through homebrew. If you get the compiled version through https://www.mongodb.com/try/download/shell, that should make this issue go away for you. Then, can you share more information about what exactly you are doing? A mongosh log file might be a good start (be sure to look through it and redact sensitive information before sharing). |
I'm encountering a similar issue:
This exception occurs when the mongosh endpoint isn't available through dns. When DNS is available (through vpn), I get failures with the string I haven't tried using the compiled version of mongosh, but I was able to gain access to the cluster using mongodb compass. |
Although the stack traces are different, #46670 looks suspiciously similar. |
Yeah, I think there’s a very high chance of these being duplicates, esp. considering that mongosh is also a REPL environment. #46670 has a nice isolated reproduction, though, maybe it’s nicer to keep that one open. |
(Funny, I checked for duplicate issues but this was posted just one minute before I submitted #46670.) |
Refs: #44731 There is also a simpler repro of this issue in #46670. cc @ShogunPanda |
Yes, I discovered this as well and I was already taking care of it in #46587. I hope I'll able to land a fix next week! |
This should have been fixed in #51045. Once it gets in 21.x or 20.x please let me know if you have additional problems. |
MongoDB Compass has encountered an unexpected error my node version v20.13.1 |
@naveenjpr lets continue here: #50893 (comment) |
Version
Node.js v19.6.0
Platform
Darwin MacBook-Pro-de-Marco.local 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64
Subsystem
No response
What steps will reproduce the bug?
Just connect to the mongod using mongosh, and after a while the console shows the Error maessage and stop the process.
How often does it reproduce? Is there a required condition?
Every time
What is the expected behavior?
Normal using
What do you see instead?
Node.js v19.6.0
Additional information
No response
The text was updated successfully, but these errors were encountered: