we get the following error trying to connect to a git server inside our company network. proxy configuration to config file was added and works. same errors appears when i try to establish a connection to github.com
error: libgit2. Category = Net (Error). Response status code does not indicate success: 417 (Expectation Failed)
finally found the solution on my own. Editing the “devenv.exe.config” file and adding "expect100Continue" parameter solves the problem.
<settings>
<ipv6 enabled="true"/>
<servicePointManager expect100Continue="false"/>
</settings>
connecting to github and our local gitserver work fine now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.