-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
Description
Version: 9.0.3
Platform: win10 x64
Subsystem: ssl
Made a simple api https server (code's bellow). All works fine but from time to time server randomly crashes with this error:
Error: 140147404642112:error:140943F2:SSL routines:ssl3_read_bytes:sslv3 alert unexpected message:../deps/openssl/openssl/ssl/s3_pkt.c:1500:SSL alert number 10
Any ideas why this happens/how to fix this? And what stands for error number 10?
Any help much appreciated.
var fs = require('fs');
var app = require('express')();
var port = 5000;
var key = fs.readFileSync('my.crt');
var cert = fs.readFileSync('my.key');
var server = require('https').Server({ 'key': privateKey, 'cert': certificate }, app);
server.listen(port, function() {
Logger.info('listening on *:'+port);
});
Metadata
Metadata
Assignees
Labels
opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.