- Version: v10.12.0 (issue appeared with 10.0.0, 9.11.2 was fine)
- Platform: Linux 4.9.0-8-amd64 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
- Subsystem: TLS
Running
./node -e "require('tls').connect({ host: '104.27.165.195', port: 443 }).on('error', error => { console.log(error); });"
on Debian 9 emits twice an error
{ Error: Client network socket disconnected before secure TLS connection was established
at TLSSocket.onConnectEnd (_tls_wrap.js:1086:19)
at Object.onceWrapper (events.js:273:13)
at TLSSocket.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1094:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'ECONNRESET',
path: undefined,
host: '104.27.165.195',
port: 443,
localAddress: undefined }
followed immediately by
[Error: 139716102896512:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1407:SSL alert number 40
]
It might be an issue with this server's particular TLS configuration, however it still shouldnt emit the error twice, and neither did so before 10.0.
Running
on Debian 9 emits twice an error
followed immediately by
It might be an issue with this server's particular TLS configuration, however it still shouldnt emit the error twice, and neither did so before 10.0.