New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
413 request entity too large #2807
Comments
Please provide enough information to identify the problem (e.g. what settings you think are 'ok', what size MB is the archive you're trying to import, etc) You may want to refer "import size limit" setting : see https://docs.gitlab.com/ee/administration/settings/account_and_limit_settings.html#max-import-size As far as I know, sameersbn/gitlab have no parameters to access to these settings. To change this value,
You can also change it from application settings API. See https://docs.gitlab.com/ee/api/settings.html Hope it helps: |
Size of import : 134,9 Mo Here are the contents of the API configuration get: { |
Thank you for your response. The value for "max_import_size" seems fine. Then, the only thing I can think of is the "client_max_body_size" setting for nginx. But if you really using Could you check the nginx configuration (should be on |
By any chance, are you using Cloudflare? If so, your issue might come from there. For example, I had a similar issue; I had Cloudflare (free DNS) proxy my GitLab instance. When using the free DNS from CloudFlare there is a limit of 100MB, I solved this by setting my CloudFlare to bypass Cloudflare and expose my IP directly forward to bypass the limitation of the free DNS package I'm using. So for GitLab and for my registry URL I have to disable the CloudFlare proxy in the DNS settings. If you are using a DNS like CloudFlare make and proxying it, check what their proxy settings are, you might have to do the same thing. |
I'm using Cloudflare and facing the same issue. |
You have to go into Cloudflare and set the DNS forward to RAW, to bypass the Cloudflare proxy which is limiting your upload entity. |
I've added gitlab on jelastic from infomaniak.
When I want to import a git repo from an export (tar.gz) the error 413 request entity too large appears.
I have checked the server settings several times and everything seems ok.
Does any setting have to be modified in the docker ?
The text was updated successfully, but these errors were encountered: