What causes svn error 413 Request Entity Too Large?

后端 未结 7 824
迷失自我
迷失自我 2020-11-30 03:41

On occasion I receive an error \"413 Request Entity Too Large\" while updating an svn repository. Once I receive this error, it continues every time I attempt to update the

相关标签:
7条回答
  • 2020-11-30 04:00

    Also, if you run mod_security, consider checking your SecRequestBodyLimit setting. Mine was set too low and was causing the problem.

    0 讨论(0)
  • 2020-11-30 04:08

    Try to add the following configuration directives to your Apache configuration file:

    LimitXMLRequestBody 8000000
    LimitRequestBody 0
    
    0 讨论(0)
  • 2020-11-30 04:12

    Made a short bash script to loop through the subdirectories, per mdh's answer:

    for dir in *; do
        [[ -e $dir ]] || continue
        echo "Updating $dir"
        svn up $dir
    done
    svn up
    
    0 讨论(0)
  • 2020-11-30 04:16

    If without access to the server, you can also select all the folders using ctrl+A and then right click to update all folders individually using tortoise svn etc. Essentially the same as @lucrussell's solution.

    0 讨论(0)
  • 2020-11-30 04:21

    See also: RequestReadTimeout, which limits time to read headers and body http://httpd.apache.org/docs/2.2/mod/mod_reqtimeout.html

    0 讨论(0)
  • 2020-11-30 04:22

    I don't have access to my repo server (IT Managed, and its over the weekend). So what I found was that I could work around this issue by doing an svn update on subdirs until one wouldn't work. Then I descended into this dir until I stopped getting the 413 error. Then I could do an update at higher levels. Might not work for everyone but could help get through in an emergency

    0 讨论(0)
提交回复
热议问题