Open
Description
I often encounter this 502 Bad Gateway error while actively working with a buildlet created using gomote. I guess this is because I was holding the buildlet too long (~30min) and there is a hidden time limit on each buildlet. If so, we need a better error message than this:
$ gomote ls user-hakim-windows-amd64-2016-0 Error running ls: 502 Bad Gateway:
And, gomote list
still shows the lease is not yet expired. That's misleading.
$ gomote list user-hakim-windows-amd64-2016-0 windows-amd64-2016 host-windows-amd64-2016 expires in 29m49.611152102s