Error: RPC failed: curl 56 Failure when receiving data from the peer fatal: the remote end hung up unexpectedly

When I try to upload an application to Calponia I receive the following error output:

$ git push calponia
Enumerating objects: 760, done.
Counting objects: 100% (760/760), done.
Delta compression using up to 8 threads
Compressing objects: 100% (512/512), done.
Writing objects: 100% (760/760), 2.73 MiB | 56.98 MiB/s, done.
Total 760 (delta 179), reused 747 (delta 171), pack-reused 0
error: RPC failed; curl 56 Failure when receiving data from the peer
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

When you set the same environment variable in multiple files, here’s the priority used by Compose to choose which value to use:

Compose file
Shell environment variables
Environment file
Dockerfile
Variable is not defined

In some of this files you might have set a proxy. For example in your .env file that might look like this.

PROXY=http://172.17.0.1:3128

Make sure that all proxies are unset before uploading to Calponia(external).

1 Like