๐Ÿ“š Computer Science/Git

[Git Clone Errror & Solution] curl 18 transfer closed with outstanding read data remaining

ibelieveinme 2022. 2. 25. 18:12
728x90

Error:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol error: bad pack header

๊นƒ ํด๋ก  ์ค‘, ์ฝ๊ธฐ ๋ฐ์ดํ„ฐ๊ฐ€ ๋‚จ์•„์žˆ๋‹ค๋Š” ์—๋Ÿฌ์™€ ํ•จ๊ป˜ ์ €์žฅ์†Œ ๋‚ด์šฉ์ด ๋ฐ›์•„์™€์ง€์ง€ ์•Š์•˜๋‹ค.

 

์—๋Ÿฌ๋กœ ๊ตฌ๊ธ€๋งํ•ด๋ณด๋‹ˆ, ํŒŒ์ผ์ด ํฌ๊ฑฐ๋‚˜ ๋„คํŠธ์›Œํฌ ์—ฐ๊ฒฐ์ด ๋ถˆ์•ˆ์ •ํ•ด์„œ ๊ทธ๋Ÿฐ๊ฑฐ๋ผ๊ตฌ~

๊ทธ๋Ÿด ๋•, ์–•์€ ํด๋ก ์„ ํ•ด์„œ ๋ฐ›์•„์•ผ ํ•œ๋‹ค๊ณ  ํ–‡๋‹ค.

 

๊ทผ๋ฐ ๋‚ด ๊ฒฝ์šฐ์—” ๊ทธ๋ƒฅ ์–•์€ ํด๋ก ์„ ํ•˜๋ฉด ์•ˆ๋˜๊ณ  ํ•œ๋ฒˆ ์••์ถ•ํ•œ ๋‹ด์— ํด๋ก ํ–ˆ์–ด์•ผ ํ–ˆ๋‹ค. ์•„๋ž˜ ์ฝ”๋“œ & ์‚ฌ์ดํŠธ ์ฐธ๊ณ 

git config --global core.compression 0
git clone <url> --depth 1
 

error: RPC failed; curl transfer closed with outstanding read data remaining

I'm facing this error when I try to clone a repository from GitLab (GitLab 6.6.2 4ef8369): remote: Counting objects: 66352, done. remote: Compressing objects: 100% (10417/10417), done. error: RPC f...

stackoverflow.com

 

728x90