Skip to content

Importing Large Project - NGINX 413 Request Entity too Large

Summary

When trying to execute the GPT data generator tool, the tool attempts to import a project of size 743M. This causes the NGINX proxy to 413 with request entity too large. Manually importing the project gives the same result.

I would be interested in learning the proper way to increase the nginx proxy body limit via the helm chart values.yaml or some other method.

Steps to reproduce

Attempt to import a large exported GitLab project.

Configuration used

Default helm chart installation.

Current behavior

413 from NGINX

Expected behavior

Successful project import.

Versions

  • Chart: latest
  • Platform:
    • Cloud: AKS

Relevant logs

2021/10/29 16:25:15 [error] 466#466: *2040775 client intended to send too large body: 778773389 bytes, client: 100.6.78.49, server: gitlab.slixperi.dev, request: "POST /import/gitlab_project HTTP/2.0", host: "gitlab.slixperi.dev", referrer: "https://gitlab.slixperi.dev/import/gitlab_project/new?namespace_id=4&name=&path="
Edited by Rob McCarthy