url issue in bodega with ssh

Marco Martin notmart at gmail.com
Tue Aug 20 13:29:47 UTC 2013


Hi all,

found a last small potential blocker for pa4:
bodega-client is now set for using ssh by default, by using as server
https://addons.makeplaylive.com:3443

but the server tells to take the images from something like
http://addons.makeplaylive.com:3443/foo

the problem is in lib/utils.js line 42
module.exports.findImagePaths
var serverUrl = 'http://' + req.header('host');

that hardcodes http (and i don't think with haproxy is possible to really know 
what it is?)

right now i changed it to https in the running server, so active-addons will 
work fine in pa4, but a proper solution must be found.

Cheers,
Marco Martin


More information about the Active mailing list