Stackato 2.10.4 router is logging incorrect http response codes

Posted by lorned on 2013-05-28 10:39
OS: All / Any | Product: Stackato | tags: 2.10.4 http patch response code router stackato

I've noticed that, when my stackato router returns Error 500 for applications, this is sometimes logged as 200 (successful) in router2g-access.log


This is a bug with router2g. We've created a patch to correct this behaviour and log proper error codes in the access.log. You can download the patch from Once downloaded, you should upload this patch to any node running the 'router' or 'primary' role. After you do this you should access each node in a terminal or ssh session and execute the patch via 'sh'.

After you apply the patch you will need to restart the router role, which you can do with by running 'kato restart router'. This will temporarily interrupt service to single-router setups, but if you are operating with a load balancer and multiple routers you should see no such interruption.