无法推送到分支-413请求实体太大

时间:2018-12-22 17:59:28

标签: git

我有一个本地项目(在添加存储库之前,我确实做了1-2次提交)和一个包含{ historyId = 257071; id = 16742b05a0d01d9c; internalDate = 1543011118000; labelIds = ( UNREAD, "CATEGORY_UPDATES", INBOX ); payload = { body = { size = 0; }; filename = ""; headers = ( { name = "Delivered-To"; value = "adilkhanmsd007@gmail.com"; }, { name = Received; value = "by 2002:a1c:cf48:0:0:0:0:0 with SMTP id f69csp2744266wmg; Fri, 23 Nov 2018 14:28:33 -0800 (PST)"; }, { name = "X-Google-Smtp-Source"; value = "AJdET5fc93MYGVO9J/LQRTx80ndZ1/15xBspFIcS4IU2jKcavcZvZP/3fQHejt1jMozdy/n7SPQ8"; }, { name = "X-Received"; value = "by 2002:a67:3f1d:: with SMTP id m29mr7424740vsa.37.1543012113277; Fri, 23 Nov 2018 14:28:33 -0800 (PST)"; }, { name = "ARC-Seal"; value = "i=1; a=rsa-sha256; t=1543012113; cv=none; d=google.com; s=arc-20160816; b=g4YbBSojY0tEPKsnSK3L+0vdqGmgdczww2jJdNKj+5APrmgmLO4I8Ti+wJafwMNihj ToZgO9aJt3AN37kr6uXk3mgBgq7Qe9CeIiRaGk2vv/UvS5/niT4hCPVWbhPq0lZM3ZNj tKlH3NoMk8YpHesiw/VkgeiNGJW9TOGqdSnIU2/KEToFx8LrnOYR55U0/3XYsKaS6ln0 RVfhpvLWV6ky8jqZ7AqKW5JrdjjMNXEpAPhnrK80bDkZVg+j+YfESkuf/HVnriAxvIT1 pGPA8vW+byIwje70VvQSQj7vWvkDMK9tPLNdMljOqBM3CiwSRFkGhIbw/5MvIq6w39yZ MUuA=="; }, { name = "ARC-Message-Signature"; value = "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:message-id:list-id:reply-to:mime-version :list-unsubscribe:date:subject:to:from:dkim-signature; bh=BAHuexLV4770OceTaeaElZ9EXHHPt89rfgy8JOY3tc8=; b=UT5272UnrXeztJFZu4abnsYEoTHF/ydvNc3DlRMB6mUT+1ucjhlJDxUd7BdT/ukCva sbFws/QHt4WHRBu+E5NAV50c2ugK/OxytZQ7EDnafyML1jpThHOZK5txPrWdX9DAqRb1 ya5Q/IpIKnAHTVPHExVIPuUY7lGXThsnjEVGylUnSQL0d5qIehi3xhgCloc1dzocxf+W 3CRoLFsnOaE8qFASQj5BSi0TYZhlk2BZvVnODuFFYZvwxmaFxVcpg4Y9i0MVX/tgDy21 +Qow6LdF98e1Vt59pl97nuIAVXAR2uUEAlgZV6DVPlsyz6uwMvPPiD5BAvi7875qa65n iTDw=="; }, { name = "ARC-Authentication-Results"; value = "i=1; mx.google.com; dkim=pass header.i=@em.usconcealedcarry.com header.s=200608 header.b=gELil58n; spf=pass (google.com: domain of bounce-15_html-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com designates 13.111.25.182 as permitted sender) smtp.mailfrom=bounce-15_HTML-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com"; }, { name = "Return-Path"; value = "<bounce-15_HTML-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com>"; }, { name = Received; value = "from mta4.em.usconcealedcarry.com (mta4.em.usconcealedcarry.com. [13.111.25.182]) by mx.google.com with ESMTPS id s11si19051150uaj.180.2018.11.23.14.28.32 for <adilkhanmsd007@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 14:28:33 -0800 (PST)"; }, { name = "Received-SPF"; value = "pass (google.com: domain of bounce-15_html-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com designates 13.111.25.182 as permitted sender) client-ip=13.111.25.182;"; }, { name = "Authentication-Results"; value = "mx.google.com; dkim=pass header.i=@em.usconcealedcarry.com header.s=200608 header.b=gELil58n; spf=pass (google.com: domain of bounce-15_html-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com designates 13.111.25.182 as permitted sender) smtp.mailfrom=bounce-15_HTML-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com"; }, { name = "DKIM-Signature"; value = "v=1; a=rsa-sha256; c=relaxed/relaxed; s=200608; d=em.usconcealedcarry.com; h=From:To:Subject:Date:List-Unsubscribe:MIME-Version:Reply-To:List-ID: Message-ID:Content-Type; i=timschmidt@em.usconcealedcarry.com; bh=BAHuexLV4770OceTaeaElZ9EXHHPt89rfgy8JOY3tc8=; b=gELil58njX4LjZ2wic33KmdKQbrg158GzunG7ev9D5y5QNOIE4fWjZUbf3uAb2wIq49DzsYP4fzX hmHK4HL1nfN+gBIYvbvRBAcDmi1VGJbb2QPofQib/MdU/aiHyp1fq7MNneLjPZjVMl6wA5y4/NTS T/517090Hgd5+edhNEc="; }, { name = Received; value = "by mta4.em.usconcealedcarry.com id hv1vh22fmd4h for <adilkhanmsd007@gmail.com>; Fri, 23 Nov 2018 22:11:58 +0000 (envelope-from <bounce-15_HTML-15290364-13844-7295358-819@bounce.em.usconcealedcarry.com>)"; }, { name = From; value = "Tim Schmidt <timschmidt@em.usconcealedcarry.com>"; }, { name = To; value = "<adilkhanmsd007@gmail.com>"; }, { name = Subject; value = "Shipments close at exactly midnight"; }, { name = Date; value = "Fri, 23 Nov 2018 16:11:58 -0600"; }, { name = "List-Unsubscribe"; value = "<mailto:leave-fd8515751a3c402029-fe611575776d047e7310-fefb15737d6000-fe8813727c6107787d-ff5d1c717c@leave.em.usconcealedcarry.com>"; }, { name = "MIME-Version"; value = "1.0"; }, { name = "Reply-To"; value = "Delta Defense <reply-fefb15737d6000-15_HTML-15290364-7295358-819@em.usconcealedcarry.com>"; }, { name = "List-ID"; value = "<7295358.xt.local>"; }, { name = "X-CSA-Complaints"; value = "whitelistcomplaints@eco.de"; }, { name = "x-job"; value = "7295358_13844"; }, { name = "Message-ID"; value = "<2b06b915-0a3b-4dab-8ca4-8a190e2dd23e@atl1s07mta1417.xt.local>"; }, { name = "Feedback-ID"; value = "7295358:13844:13.111.25.182:sfmktgcld"; }, { name = "Content-Type"; value = "multipart/alternative; boundary=\"FCfl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IGxhc3QgY2hhbmNlJmhlbGxpcDsNCg0KaHR0cDovL2NsaWNrLmVtLnVzY29uY2VhbGVkY2FycnkuY29tLz9xcz01Yjc1YmI3ZWQxY2Q3YjUyNWFhNDc2Yzc5MzVhYmU1ODk4ZTIwNjM4Yjg5NjM5ZTQyZGE4NDMxYTkzYjM1NGE0YzRiODhhYzY4OWQzNGVhNTJkMjdhZTk3ZTJjMGMzODY5OWU4OWNhZjkyMzlkMDFhIA0KDQoNCmh0dHA6Ly9jbGljay5lbS51c2NvbmNlYWxlZGNhcnJ5LmNvbS8_cXM9NWI3NWJiN2VkMWNkN2I1MjVhYTQ3NmM3OTM1YWJlNTg5OGUyMDYzOGI4OTYzOWU0MmRhODQzMWE5M2IzNTRhNGM0Yjg4YWM2ODlkMzRlYTUyZDI3YWU5N2UyYzBjMzg2OTllODljYWY5MjM5ZDAxYSANCg0KQ2xh="; size = 3845; }; filename = ""; headers = ( { name = "Content-Type"; value = "text/plain; charset=\"utf-8\""; }, { name = "Content-Transfer-Encoding"; value = 8bit; } ); mimeType = "text/plain"; partId = 0; }, { body = { data = "PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI-DQo8aHRtbD4NCiAgPGhlYWQ-YWN0aXZhdGUgeW91ciBVU0NDQSBNZW1iZXJzaGlwPC9hPjwvYj4uPGJyPg0KPGJyPg0KPGk-PHNwYW4gaWQ9ImRvY3MtaW50ZXJuYWwtZ3VpZC00ODI3MThhZS0zZjJkLWZmNmItZTAyMS00MDk3MTUxNjFjZDQiPlNvLCA8L3NwYW4-aXQgYWxsIGNvbWVzIGRvd24gdG8gdGhpcyZoZWxsaXA7PC9pPjxicj4NCjxicj4NCjxzcGFuIGlkPSJkb2NzLWludGVybmFsLWd1aWQtNDgyNzE4YWUtM2YyZC1mZjZiLWUwMjE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j48dGFibGUgd2lkdGg9IjEwMCUiIGNlbGxzcGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMCI-PHRyPjx0ZCBhbGlnbj0iY2VudGVyIj48YSBocmVmPSJodHRwOi8vY2xpY2suZW0udXNjb25jZWFsZWRjYXJyeS5jb20vP3FzPTViNzViYjdlZDFjZDdiNTJlMTFiMTdlNWE4ZmY3OTM4MTQ5YTExMzQwMDhiYzI3ZDk2Y2JhNjUzM2VjMDQ3Yzg3MDBmOWI2NDYxOWFmZTE1ZTBlM2U5ZDc2YjMzM2U5MDYyMWQ3YzgwNjgxZjRlOGQ4Y2E5Y2M5OTFiM2Q2MzNkIiB0aXRsZT0iIiAgIGRhdGEtbGlua3RvPSJodHRwczovLyI-PGltZyBzcmM9Imh0dHBzOi8vd3d3LnVzY29uY2VhbGVkY2FycnkuY29tL2ltYWdlcy9Ob3YxOF9SYW5nZUJhZ19NaWRuaWdodC5qcGciIGFsdD0iRW5kcyBNaWRuaWdodDogWW91ciBDaGFuY2UgVG8gQ2xhaW0gWW91ciBCb251cyBQYWNrYWdlIFtVcCBUbyAkNjM0IFZhbHVlXSIgaGVpZ2h0PSIyODQiIHdpZHRoPSI0NTAiIHN0eWxlPSJkaXNwbGF5OiBibG9jazsgcGFkZGluZzogMHB4OyB0ZXh0LWFsaWduOiBjZW50ZXI7IGhlaWdodDogMjg0cHg7IHdpZHRoOiA0NTBweDsgYm9yZGVyOiAwcHg7Ij48L2E-PC90ZD4NCjwvdHI-PC90YWJsZT48L3RkPjwvdHI-PC90YWJsZT48IS0tLS0-DQogICAgDQogIDwvYm9keT4NCjwvaHRtbD4NCg=="; size = 25138; }; filename = ""; headers = ( { name = "Content-Type"; value = "text/html; charset=\"utf-8\""; }, { name = "Content-Transfer-Encoding"; value = 8bit; } ); mimeType = "text/html"; partId = 1; } ); }; sizeEstimate = 33624; snippet = "The honest truth... Time&#39;s Running Out - Your Bonus Package Expires In A Few Short Hours (Up To $634 Value)... Frankly, by now you know that a USCCA Membership is a vital necessity if you own a gun"; threadId = 16742b05a0d01d9c; }

的存储库

我已经尝试了一些,并获得了以下日志atm。

README

我尝试了project>git log commit &The last commit I made& (HEAD -> master) Author: %me% Date: Sat Dec 22 18:42:40 2018 +0100 Test commit %Another commit I did locally before the repo was added% Merge: 7fcbc93 8f12e9a Author: %me% Date: Sat Dec 22 18:39:43 2018 +0100 Merge branch 'master' of https://devops.hud.de/bitbucket/scm/pvtdevint/projektverfolgung commit %A commmit I did before adding the repo% Author: %me% Date: Sat Dec 22 18:23:18 2018 +0100 Initial commit commit %first commit (was in repo)% (origin/master, origin/develop, origin/TestBranchDevelop) Author: %sb else% Date: Wed Nov 28 14:53:01 2018 +0100 initial commit

git show-ref

所以看来上游可能是错误的,所以我尝试进行检查:

%my latest commit% refs/heads/master
%commit #sb_else% refs/remotes/origin/TestBranchDevelop
%commit #sb_else% refs/remotes/origin/develop
%commit #sb_else% refs/remotes/origin/master

所以我试图再次推动:

>git branch -v
* master d24f144 Test      //<- %my latest commit%

我如何导入该存储库:

>git push --set-upstream origin HEAD:TestBranchDevelop
Enumerating objects: 215, done.
Counting objects: 100% (215/215), done.
Delta compression using up to 8 threads
Compressing objects: 100% (201/201), done.
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: the remote end hung up unexpectedly 233.00 KiB/s
Writing objects: 100% (214/214), 1.64 MiB | 301.00 KiB/s, done.
Total 214 (delta 36), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

现在SO上的一些帖子说,您应该尝试将您的存储库URL从>git add . >git commit -m "initial commit" >git remote add origin %my_url% >git pull origin master --allow-unrelated-histories 更改为https,可惜我的仓库只能通过https访问(因此这不是一个选择)。现在我该如何解决?

1 个答案:

答案 0 :(得分:1)

您的服务器似乎拒绝了太大的HTTP请求,而git试图发出超过此大小的HTTP请求。您唯一明智的方法是更好地配置服务器,以允许更大的HTTP请求。