I just started logging all requests to an Openshift node instance,
It's getting hit with a GET/ request every ~10 seconds and req.headers.origin is undefined
Less frequent when I don't call next()
'/*': function (req, res, next) {
console.log( "Route " + req.method + ":" + req.url + " " + req.headers.origin);
if( typeof req.headers.origin !== 'undefined') {
return next();
}
}
Those are requests from the HAProxy making sure that your gears are still alive. You can change the frequency of them by sshing into your application and editing the ~/haproxy/haproxy.cfg file if you like. Otherwise just ignore them.