반응형
GIT 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)
오류 (HTTP 499)
HTTP 499 / unexpected disconnect
- 실행 : git push -uf origin main
- 실행 결과 (예시)
Enumerating objects: 1597, done.
Counting objects: 100% (1597/1597), done.
Delta compression using up to 16 threads
Compressing objects: 100% (1580/1580), done.
error: RPC failed; HTTP 499 curl 22 The requested URL returned error: 499
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (1597/1597), 807.65 MiB | 10.91 MiB/s, done.
Total 1597 (delta 466), reused 0 (delta 0), pack-reused 0 (from 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date
환경 설정
- Git HTTP 버퍼 크기 상향 : git config --global http.postBuffer 1048576000
- 기본 버퍼가 작아 대용량 데이터 전송 중 끊기는 현상을 방지합니다. 터미널에 아래 명령어를 실행해 버퍼를 1GB로 늘립니다.
PUSH 재실행
- 푸시 시도: git push -uf origin main
- 실행 결과(예시)
Enumerating objects: 1597, done.
Counting objects: 100% (1597/1597), done.
Delta compression using up to 16 threads
Compressing objects: 100% (1580/1580), done.
Writing objects: 100% (1597/1597), 808.16 MiB | 12.82 MiB/s, done.
Total 1597 (delta 463), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (463/463), done.
To http://git.xxx/xxx/~~~.git
+ 389233e...e0c79a7 main -> main (forced update)
branch 'main' set up to track 'origin/main'.
반응형
'Workspace & Develop > Git' 카테고리의 다른 글
| GIT) 최초 원격 저장소(repo) 설정 및 Push (0) | 2026.08.20 |
|---|---|
| GIT) 원격 저장소(repo) URL(set-rul) 변경 (0) | 2026.08.20 |