Skip to content

Instantly share code, notes, and snippets.

@TooTallNate
Created September 8, 2013 17:28
Show Gist options
  • Save TooTallNate/6486704 to your computer and use it in GitHub Desktop.
Save TooTallNate/6486704 to your computer and use it in GitHub Desktop.
node v0.11.7 Assertion Failure, caused by HTTP `agent: false`
var url = require('url');
var http = require('http');
var uri = 'http://nodejs.org';
var parsed = url.parse(uri);
parsed.method = 'GET';
// IMPORTANT!
parsed.agent = false;
http.get(parsed);
@TooTallNate
Copy link
Author

☮ ~/node (master) ∴ ./node node-agent-false-assertion-failure
{ addressType: 4, address: '165.225.133.150', port: null }
Assertion failed: (args[2]->Uint32Value()), function Connect, file ../src/tcp_wrap.cc, line 387.
Abort trap: 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment