简体   繁体   English

用于git推送错误的Microsoft Visual Studio工具

[英]Microsoft Visual Studio Tools for git push error

I'm trying to get used to the VS git plugin . 我正在尝试习惯VS git插件 I'm using it with bitbuket and GitHub remote repositories. 我正在使用它与bitbuket和GitHub远程存储库。

Sometimes i get the following error : 有时我会收到以下错误:

An error was raised by libgit2. Category = Net (Error).
Chunked encoding upload is not supported on the HTTP/1.0 protocol.

Is someone knowing how to avoid this error ? 有人知道如何避免这个错误吗?

The problem came from the proxy server i had to use at work which didn't support the HTTP/1.1 protocol. 问题来自我不得不在不支持HTTP / 1.1协议的工作中使用的代理服务器。

Our sysadmin confirmed me that he was using squid 2.7 and he didn't support HTTP/1.1. 我们的系统管理员确认我使用的是squid 2.7并且他不支持HTTP / 1.1。

Thank's again for the tip. 再次感谢您的提示。

This is because of your system proxy settings. 这是因为您的系统代理设置。 Check in IE internet options if you are using the proxy. 如果您使用代理,请检入IE Internet选项。 Disable the proxy setting from the IE Options and try to push it again. 从IE选项中禁用代理设置并尝试再次按下它。 It worked for me. 它对我有用。

在此输入图像描述

In my case it was due to Fiddler monitoring requests. 在我的情况下,这是由于Fiddler监控请求。 Once I've turned it off the problem disappeared. 一旦我把它关掉,问题就消失了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 适用于GIT的Visual Studio工具-FETCH / PUBLISH与PULL / PUSH - Visual Studio Tools for GIT - FETCH / PUBLISH vs PULL / PUSH 错误:需要 Microsoft Visual C++ 14.0。 使用“Visual Studio 构建工具”获取它:https://visualstudio.microsoft.com/downloads/ - error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ 在 Visual Studio 中为 Microsoft Git Provider 设置代理 - Set proxy for Microsoft Git Provider in Visual Studio 在Visual Studio 2013中停止Microsoft Git Provider - Stop Microsoft Git Provider in Visual Studio 2013 如何在 Microsoft Visual Studio 中关闭 Git - How to turn off Git in Microsoft Visual Studio Git 因致命错误而失败。 使用 Visual Studio 将代码推送到 git 集线器时 - Git failed with a fatal error. when push code to git hub using visual studio Visual Studio git工具是否需要单独的git安装? - Do the Visual Studio git tools require a separate git installation? Visual Studio 2017无法推向git - Visual studio 2017 cant push to git Visual Studio Git Push特定的支出承诺 - Visual Studio Git Push Specific Outgoing Commits Visual Studio认为安装了“Microsoft Web Developer Tools” - Visual Studio thinks `Microsoft Web Developer Tools` is installed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM