Error 502 with HTPassword

502 error means a bad gateway. This means the tunnel can not communicate with your registry.