Created
August 28, 2012 15:21
-
-
Save omares/3499041 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
events.js:66 | |
throw arguments[1]; // Unhandled 'error' event | |
^ | |
Error: Parse Error | |
at Socket.socketOnData (http.js:1366:20) | |
at TCP.onread (net.js:402:27) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used to get this all the time when using the node
http.request
function.Setting the
agent
option forhttp.request
tofalse
(as per the documentation) solved this one for me.Hope this helps someone :)