EN ·
🌏 中文 Fixing Git Clone Failures for OpenVINO - RPC failed curl 56
Installing from Source
The official documentation recommends installing OpenVINO directly from the source code.
The Problem
While attempting to clone the OpenVINO repository via Gitee, the process repeatedly failed with the following error:
# git clone -b 2022.3.0 https://gitee.com/openvinotoolkit-prc/openvino.git
Cloning into 'openvino'...
remote: Enumerating objects: 345561, done.
remote: Counting objects: 100% (59023/59023), done.
remote: Compressing objects: 100% (33490/33490), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
The Solution
This error typically occurs due to the large size of the repository or network instability during data transfer. You can resolve this by increasing the Git buffer size and disabling compression:
git config --global http.postBuffer 500M
git config --global http.maxRequestBuffer 100M
git config --global core.compression 0