Whenever trying to push a pretty big app with a lot of files, the zero down time deployment fails.
error: Error processing app files: Error uploading application.
Error performing request: Put https://api.run.pivotal.io/v2/resource_match: http: ContentLength=144633 with Body length 0
error running command: exit status 1
When looking at the logs, the request for resource_match never comes back with a response.
If pushing without zero downtime, the cf cli handles the failure to do resource_match appropriately.
I think this is because of the fixes in the CLI for the following issues -
cloudfoundry/cli#1042
cloudfoundry/cli#1123
In our case we are facing the issues that were faced in this issue:
cloudfoundry/cli#1123