error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet

g-enesis·2024년 9월 2일

청첩장 프로젝트를 학습하면서 마주쳤던 Git Push 에러였다.

너무 많은 이미지 혹은 동영상 들을 커밋하게 되면서 전송타이밍에 가능한 패킷용량을 초과한 것 같다.

따라서, 아래 명령어로 제한을 늘려주었더니 해결할 수 있었다.

git config http.postBuffer 524288000

git push origin main

⭐️ 네트워크 속도가 느린 환경에서도 발생할 수 있다고하니 아래 링크도 참고하면 좋을 것 같다.
https://stackoverflow.com/questions/59282476/error-rpc-failed-curl-92-http-2-stream-0-was-not-closed-cleanly-protocol-erro

profile
Frontend Developer

3개의 댓글

comment-user-thumbnail
2024년 9월 6일

감사합니다! 덕분에 해결했습니다

답글 달기
comment-user-thumbnail
2024년 9월 8일

감사합니다 github 서버 터진줄알고 놀랐네요

답글 달기
comment-user-thumbnail
2024년 12월 29일

감사합니다~ 덕분에 문제를 해결할 수 있었습니다~

답글 달기