Question
I'm attempting to clone the chromium-efl repository using the command:
git clone https://review.tizen.org/gerrit/p/platform/framework/web/chromium-efl
The cloning process starts and downloads approximately 1GB of data, but then fails with the following error:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I need help resolving this cloning issue.
Answer
Problem Understanding
The error occurs during a large repository clone operation, typically due to:
- Network instability or interruptions
- Git client limitations
- Server-side connection issues
- Insufficient system resources
Solution Methods
-
Increase Git buffer size: Try increasing the git buffer size before cloning:
git config --global http.postBuffer 524288000 git config --global core.compression 0 -
Use shallow clone: Clone only recent history to reduce data transfer:
git clone --depth 1 https://review.tizen.org/gerrit/p/platform/framework/web/chromium-efl -
Alternative repository: Try cloning from the GitHub mirror instead:
git clone https://github.com/crosswalk-project/chromium-efl -
Network troubleshooting:
- Ensure stable internet connection
- Try using a wired connection instead of WiFi
- Clone during off-peak hours
Additional Tips
- The chromium-efl repository is particularly large (over 1GB)
- Consider using
git fetch --unshallowafter a shallow clone if you need full history later - For Tizen development, you might want to use the official Tizen SDK instead of building from source