node icon indicating copy to clipboard operation
node copied to clipboard

https silently stopped working after upgrade to 1.4.1

Open skcc75 opened this issue 11 years ago • 23 comments

https silently stopped working after upgrade to 1.4.1

Browsers and Postman cannot connect to https localhost as if io.js server is not running.

Downgrading to 1.3.0 solves the problem

let bodyParser = require('body-parser'),
    compression = require('compression'),
    express = require('express'),
    fs = require('fs'),
    https = require('https');

const SSL_OPTIONS = {
    key: fs.readFileSync('ssl/hacksparrow-key.pem'),
    cert: fs.readFileSync('ssl/hacksparrow-cert.pem')
};

let app = express();

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));

app.use(compression({
    level: 9
}));

app.use(express.static('public'));

require('./routes')(app);

https.createServer(SSL_OPTIONS, app).listen(8443);
console.log('Listening on port 8443 ...');

skcc75 avatar Feb 27 '15 10:02 skcc75

Fix https://github.com/iojs/io.js/pull/994 .

indutny avatar Feb 27 '15 23:02 indutny

@rvagg It does seem to be a CI problem as well, since we wasn't aware of test failures. There are clearly lots of failing tests (all https and most of tls) on Windows atm.

indutny avatar Feb 27 '15 23:02 indutny

probably related to the dramas I was having at release, will figure it out

rvagg avatar Feb 27 '15 23:02 rvagg