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

EPROTO TLSSocket openssl on node only #1

Open
Vexcited opened this issue Sep 14, 2023 · 0 comments
Open

EPROTO TLSSocket openssl on node only #1

Vexcited opened this issue Sep 14, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Vexcited
Copy link
Owner

Using wss://echo-websocket.hoppscotch.io, we get...

$ node examples/simple.js
node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: write EPROTO C0778978487F0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40

    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on TLSSocket instance at:
    at TLSSocket.onerror (node:internal/streams/legacy:62:12)
    at TLSSocket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -71,
  code: 'EPROTO',
  syscall: 'write'
}

Node.js v18.17.1

even though it is working fine under Bun (v1.0.1)

@Vexcited Vexcited added bug Something isn't working help wanted Extra attention is needed labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant