Add lots of debugging to lockinfo to pin down a 502 Bad Gateway