Bug Image optimisation fails with 502 bad gateway

There is a bug in this version