Git clone always stop

Started by icewhisky, April 18, 2017, 11:24:26 AM

Previous topic - Next topic
I edited file bynano /usr/local/etc/pkg/repos/FreeBSD.conf
enable = yes
Then I execute the commands as follows
# pkg install git
# cd /usr
# rm -rf src ports
# git clone https://github.com/opnsense/ports.git
But when 20% or lower then executing git clone is always stopped by the report
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Can anyone help me find out where is error ???

Not sure what you are trying to do, you can simply run this on the OPNsense:

# opnsense-code ports

But it will also stop during cloning.  I don't think GitHub is an issue, though the repository is large and a weak link with data loss might produce this error....


Cheers,
Franco