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

uncaught if connection ends premature #3

Open
mafintosh opened this issue Oct 4, 2019 · 0 comments
Open

uncaught if connection ends premature #3

mafintosh opened this issue Oct 4, 2019 · 0 comments

Comments

@mafintosh
Copy link
Contributor

.../pin-peer/index.js:56
  return hash.slice(0, 4)
              ^

TypeError: Cannot read property 'slice' of null
    at getPin (.../pin-peer/index.js:56:15)
    at SimpleHandshake.onhandshake (.../pin-peer/index.js:39:25)
    at SimpleHandshake._finish (..../simple-handshake/index.js:129:8)
    at SimpleHandshake.destroy (..../simple-handshake/index.js:114:8)
    at NoisePeer._cleanupReadable (..../noise-peer/index.js:316:61)
    at NoisePeer._cleanup (..../noise-peer/index.js:344:10)
    at NoisePeer._destroy (..../noise-peer/index.js:353:10)
    at NoisePeer.destroy (..../readable-stream/lib/internal/streams/destroy.js:30:8)
    at Socket.emit (events.js:203:15)
    at emitErrorNT (internal/streams/destroy.js:91:8)
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

1 participant