You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var net = require('net');
var tls = require('tls');
var socket = net.createConnection(config.port, config.host);
var tls_options = {
socket: socket, rejectUnauthorized: false
};
For example, the following code cause the app to raise ENOTCONN or crash with [FATAL:render_process_host_impl.cc(436)]Check failed: !g_exited_main_message_loop
var tls_socket = tls.connect(tls_options, function(){
console.log('handshake');
});
This problem doesnt occur on node-webkit v0.8.6.
And it doesnt on Node.js v0.11.13, too.
But It occur on node-webkit v0.10.5.
In this connection, the following can work well on node-webkit v0.10.5.
In 0.13 we changed to an optimized architecture so more features can be supported, see http://nwjs.io/blog/whats-new-in-0.13/ and it's good for keeping up with Chromium upstream -- we released with Node.js v6.0 and new Chromium versions within 1 day after upstream release.
The new version would fixed many issues reported here and we're scrubbing them. This issue is closed as we believe it should be fixed. Please leave a message if it isn't and we'll reopen it.
I face a problem with
tls.connect(options)
on node-webkit v0.10.5 win32.For example, the following code cause the app to raise ENOTCONN or crash with [FATAL:render_process_host_impl.cc(436)]Check failed: !g_exited_main_message_loop
This problem doesnt occur on node-webkit v0.8.6.
And it doesnt on Node.js v0.11.13, too.
But It occur on node-webkit v0.10.5.
In this connection, the following can work well on node-webkit v0.10.5.
I think modules using tls(such as node-mongodb-native) are affected by it.
Is this node-webkit's bug?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: