Skip to content

Instantly share code, notes, and snippets.

@perezd
Created April 14, 2011 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perezd/0b4fdf9376825d4de151 to your computer and use it in GitHub Desktop.
Save perezd/0b4fdf9376825d4de151 to your computer and use it in GitHub Desktop.
node.js:178
throw e; // process.nextTick error, or 'error' event on first tick
^
AssertionError: true == 0
at CleartextStream.<anonymous> (http.js:1192:7)
at CleartextStream.emit (events.js:64:17)
at Socket.onerror (tls.js:886:17)
at Socket.emit (events.js:64:17)
at Array.<anonymous> (net.js:827:27)
at EventEmitter._tickCallback (node.js:170:26)
Octave:node derek$ NODE_DEBUG=tls,net ./node_g ~/Desktop/nodehttpsfail.js
TLS: cleartext.write called with 189 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 127 bytes
TLS: paused encrypted
TLS: cleartext.write called with 0 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
NET: connecting to 184.72.47.54 : 443
NET: wrote 127 bytes to socket.
NET: [fd, off, len] = [7,0,127]
TLS: resume encrypted
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 4096 bytes
TLS: encrypted.write called with 4096 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 663 bytes
TLS: encrypted.write called with 663 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 326 bytes
NET: wrote 326 bytes to socket.
NET: [fd, off, len] = [7,0,326]
TLS: reading from encOut
NET: socket 7 received 59 bytes
TLS: encrypted.write called with 59 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 189 bytes
TLS: secure established
TLS: drain
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 266 bytes
NET: wrote 266 bytes to socket.
NET: [fd, off, len] = [7,0,266]
TLS: reading from encOut
TLS: encrypted._pull
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 346 bytes
TLS: encrypted.write called with 346 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: reading from clearOut
TLS: cleartext emit "data" with 274 bytes
TLS: encrypted._pull
TLS: cleartext._pull
TLS: end cleartext
TLS: encrypted._pull
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 37 bytes
NET: wrote 37 bytes to socket.
NET: [fd, off, len] = [7,0,37]
TLS: reading from encOut
TLS: encrypted._push
TLS: cleartext.write called with 125 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 127 bytes
TLS: paused encrypted
TLS: reading from clearOut
TLS: encrypted._push
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
NET: connecting to 184.72.47.54 : 443
NET: socket 7 received 37 bytes
NET: destroy 7
NET: close 7
NET: wrote 127 bytes to socket.
NET: [fd, off, len] = [8,0,127]
TLS: resume encrypted
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 8 received 1448 bytes
TLS: encrypted.write called with 1448 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 8 received 2648 bytes
TLS: encrypted.write called with 2648 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 8 received 663 bytes
TLS: encrypted.write called with 663 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 326 bytes
NET: wrote 326 bytes to socket.
NET: [fd, off, len] = [8,0,326]
TLS: reading from encOut
NET: socket 8 received 59 bytes
TLS: encrypted.write called with 59 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 125 bytes
TLS: secure established
TLS: drain
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 202 bytes
NET: wrote 202 bytes to socket.
NET: [fd, off, len] = [8,0,202]
TLS: reading from encOut
TLS: encrypted._pull
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 8 received 330 bytes
TLS: encrypted.write called with 330 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: reading from clearOut
TLS: cleartext emit "data" with 257 bytes
TLS: encrypted._pull
TLS: cleartext._pull
TLS: end cleartext
TLS: encrypted._pull
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 37 bytes
NET: wrote 37 bytes to socket.
NET: [fd, off, len] = [8,0,37]
TLS: reading from encOut
TLS: encrypted._push
TLS: cleartext.write called with 235 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 127 bytes
TLS: paused encrypted
TLS: cleartext.write called with 0 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
NET: connecting to 184.72.47.54 : 443
NET: socket 8 received 37 bytes
NET: destroy 8
NET: close 8
NET: wrote 127 bytes to socket.
NET: [fd, off, len] = [7,0,127]
TLS: resume encrypted
TLS: encrypted._pull
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 1448 bytes
TLS: encrypted.write called with 1448 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 1448 bytes
TLS: encrypted.write called with 1448 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 1200 bytes
TLS: encrypted.write called with 1200 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 663 bytes
TLS: encrypted.write called with 663 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 326 bytes
NET: wrote 326 bytes to socket.
NET: [fd, off, len] = [7,0,326]
TLS: reading from encOut
NET: socket 7 received 59 bytes
TLS: encrypted.write called with 59 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: clearIn 235 bytes
TLS: secure established
TLS: drain
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 298 bytes
NET: wrote 298 bytes to socket.
NET: [fd, off, len] = [7,0,298]
TLS: reading from encOut
TLS: encrypted._pull
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: encrypted._push
TLS: reading from encOut
NET: socket 7 received 458 bytes
TLS: encrypted.write called with 458 bytes
TLS: clearIn data
TLS: encrypted._pull
TLS: writing from encIn
TLS: drain
TLS: cleartext._pull
TLS: cleartext._push
TLS: reading from clearOut
TLS: reading from clearOut
TLS: cleartext emit "data" with 383 bytes
TLS: encrypted._pull
TLS: cleartext._pull
TLS: end cleartext
TLS: encrypted._pull
TLS: encrypted._push
TLS: reading from encOut
TLS: reading from encOut
TLS: encrypted emit "data" with 37 bytes
NET: wrote 37 bytes to socket.
NET: [fd, off, len] = [7,0,37]
TLS: reading from encOut
TLS: encrypted._push
created.
TLS: reading from clearOut
TLS: encrypted._push
NET: destroy 7
NET: close 7
node.js:178
throw e; // process.nextTick error, or 'error' event on first tick
^
AssertionError: true == 0
at CleartextStream.<anonymous> (http.js:1192:7)
at CleartextStream.emit (events.js:64:17)
at Socket.onerror (tls.js:886:17)
at Socket.emit (events.js:64:17)
at Array.<anonymous> (net.js:827:27)
at EventEmitter._tickCallback (node.js:170:26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment