anka registry push "-anka: connection aborted" after 100%
Scenario
Registry push reaches 100% and then shows connection aborted
:
❯ anka registry push myVM -t v1
Uploading files [####################################] 100%
-anka: connection aborted
Common Causes & Solutions
- You’re running an NGINX proxy and
proxy_request_buffering
is enabled. - You’re using a load-balancer or other type of middleman for the networking between Anka CLI/host and Registry which has a timeout value which is being reached.
- Your network does not support the size of files being transferred. You can set
sudo anka config chunk_size 536870912
and re-create your VM so that each of the files making up the VM never go past thechunk_size
value.