-
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
Assertion failed: (r) == (0), file src\cares_wrap.cc, line 1262 #5588
Comments
Do you have any minimal code to reproduce this issue? |
It is a notebook computer which has not local area network(LAN), i must use the wireless local area network(WLAN) to connect my new network router i bought yesterday. Then After disable the WLAN or change IP address to AUTO, node.js runs well. By the way, when node5.7.1 works wrong, node5.5.0 runs well. |
Can we reopen this? Reverting to an older node version is not "Solved" from a bug perspective |
@paulcbetts I take it you can confirm that this is still an issue in v6.3.0? |
@adamesque ^^ peep the referenced Electron bug, it seems to be something specific to a minority of systems |
|
I face the same problem on Windows Server 2012 R2 |
Same here |
This has been fixed by #8710 and is scheduled for back-porting to the release branches. You still won't end up with a workable binary if the system resolver is borked but at least you get an exception that you can catch and marvel at. That is, this now works: try {
var dns = require('dns');
} catch (e) {
console.error(e);
}
if (dns) {
// ...
} |
so does this allow me to run on a LAN network just using configured IP with no DNS set? |
Depends on the exact configuration but probably not. See #8966 for more discussion. |
@bnoordhuis Thanks for the fix and the update |
When i set the Internet (TCP/IPv4) property to
IP address: 192.168.1.253 & 255.255.255.0
Node.js failed to startup:
Assertion failed: (r) == (0), file src\cares_wrap.cc, line 1262
I found this in windows10 & node.js version 5.7.0
The text was updated successfully, but these errors were encountered: