Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
推送到Mercurial存储库(bitbucket)生成;请求实体太大;?_Mercurial_Bitbucket - Fatal编程技术网

推送到Mercurial存储库(bitbucket)生成;请求实体太大;?

推送到Mercurial存储库(bitbucket)生成;请求实体太大;?,mercurial,bitbucket,Mercurial,Bitbucket,当您尝试推送到Bitbucket上的Mercurial存储库并生成响应时,这意味着什么: abort: HTTP Error 413: Request Entity Too Large 看起来BitBucket对HTTP上载有大小限制,您正在超出这些限制。可能是你上传的一个大文件破坏了一切。尝试排除这一个文件,看看会发生什么 将此视为bitbucket团队。与此同时,您可以尝试使用ssh访问而不是http。这意味着您已经达到了Bitbucket设置的上载限制,或者@TheSteve0指出的其

当您尝试推送到Bitbucket上的Mercurial存储库并生成响应时,这意味着什么:

abort: HTTP Error 413: Request Entity Too Large

看起来BitBucket对HTTP上载有大小限制,您正在超出这些限制。可能是你上传的一个大文件破坏了一切。尝试排除这一个文件,看看会发生什么


将此视为bitbucket团队。与此同时,您可以尝试使用ssh访问而不是http。

这意味着您已经达到了Bitbucket设置的上载限制,或者@TheSteve0指出的其他限制

如果您运行的是nginx,请记住默认上载大小为1MB。要增加它,请在nginx.conf的“http”部分添加以下内容:

http {
    ...
    client_max_body_size 10M;

然后重新启动nginx

切换到SSH对我来说是个好办法。我试图通过HTTP推送的提交导致了此错误,其大小略超过50 MB。我们如何在bitbucket中使用ssh选项?@AshutoshNigam:这是。这多次为我解决了Nginx中的问题,但我会提升到更高的值,例如1000M。这里也回答了-