메모용 개발 블로그
  • Home

Categories

  • All Posts116
  • OS35
    • Linux23
    • MacOS8
    • Windows4
  • 데이터베이스3
    • Oracle1
    • Postgresql1
  • Develop26
    • CSS33
    • Go8
    • HTML52
    • Java1
    • JavaScript4
    • React2
    • Svelte2
  • 개발일기10
  • Docker1
  • Git3
  • GitLab12
  • Nginx7
  • 기타16
  • 이 블로그의 오픈소스3
GitLab•2023년 3월 7일

GitLab Runner artifacts 413 Request Entity Too Large 에러

Table of Contents

  • GitLab Runner artifacts 413 Request Entity Too Large 에러
  • 발생 에러 구문
  • 원인
  • 해결 방법
  • 1. 내장 nginx body size 수정
  • 2. 외부 웹 서버 body size 수정(nginx 기준)
  • 3. GitLab Admin 관리 영역 설정 수정

발생 에러 구문

ERROR: Uploading artifacts as "archive" to coordinator... 413 Request Entity Too Large

원인

GitLab의 아티팩트 설정 혹은 웹 서버에서 제한 용량이 걸려있는 문제

각 환경에 맞게 이 용량을 늘려주면 해결.

해결 방법

아래 해결 방법 중 본인의 환경에 맞게 점검할 것.

1. 내장 nginx body size 수정

gitlab.rb파일 수정

...
nginx['client_max_body_size'] = '1G'
...

2. 외부 웹 서버 body size 수정(nginx 기준)

...
http {
    ...
    client_max_body_size 1G;
    ...
}
...

3. GitLab Admin 관리 영역 설정 수정

관리자로 접속 후

Admin -> Settings -> CI/CD -> Continuous Integration and Deployment -> Maximum artifacts size (MB)

← Back to all posts