Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • omnibus-gitlab omnibus-gitlab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 995
    • Issues 995
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 56
    • Merge requests 56
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Issues
  • #1883
Closed
Open
Created Jan 18, 2017 by weaming@weaming

413 Request Entity Too Large

Summary

git push origin master with big file

$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 32.46 MiB | 1.09 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
Everything up-to-date

$ ls -l
-rwxr-xr-x 1 weaming 1049089 33M Jan 18 10:19 Some.file.exe*

Steps to reproduce

Follow the official guide: https://docs.gitlab.com/omnibus/docker/#install-gitlab-using-docker-compose

I mapped the port of host 10080 to the port of container.( '127.0.0.1:10080:80')

Serve the sites with nginx on my host server, and added client_max_body_size 1000m;.

Question

Using ssh://git@example.com:23/user/reponame.git is ok, but failed with http protocol.

Assignee
Assign to
Time tracking