Skip to content
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

No long stacktrace printed on ECONNRESET #31

Open
binarykitchen opened this issue Jun 12, 2014 · 2 comments
Open

No long stacktrace printed on ECONNRESET #31

binarykitchen opened this issue Jun 12, 2014 · 2 comments

Comments

@binarykitchen
Copy link

^C
/home/michael.heuberger/binarykitchen/code/videomail.io/node_modules/longjohn/dist/longjohn.js:185
        throw e;
              ^
Error: read ECONNRESET
  at errnoException (net.js:904:11)
  at Pipe.onread (net.js:558:19)

Why isn't longjohn printing a long stack trace here with all the callbacks?

I placed require('longjohn'); on the top of my gulp file ...

@binarykitchen
Copy link
Author

Sometimes this error also occurs:

/home/michael.heuberger/binarykitchen/code/videomail.io/node_modules/longjohn/dist/longjohn.js:185
        throw e;
              ^
Error: write EPIPE
  at errnoException (net.js:904:11)
  at Object.afterWrite (net.js:720:19)

Very difficult to debug these. Can't longjohn add more information here??

@kopertop
Copy link

kopertop commented Oct 5, 2016

I'm having a similar issue. I downloaded longjohn specifically to try to debug this error, but it gets stuck somewhere and won't print out a full stack trace:

Error: read ECONNRESET
    at exports._errnoException (util.js:870:11)
    at TLSWrap.onread (net.js:544:26)
---------------------------------------------
    at fireErrorCallbacks (net.js:444:15)
    at TLSSocket.Socket._destroy (net.js:480:3)
    at TLSWrap.onread (net.js:544:17)

Running node 4.4.3 on AWS Lambda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants