cannot open git-upload-pack, cannot open git-receive-pack, Can't connect to any URI error solution eclipse

cannot open git-upload-pack, cannot open git-receive-pack, Can't connect to any URI error solution eclipse

Solve the cannot open git-upload-pack problem in the git plugin in eclipse

The solution found on the Internet: Open windows-->Preferences-->Team-->Git-->Configuration-->User Settings in eclipse. Then click Add Entry to create a new key-value pair and enter http.sslVerify= false.

However, it does not solve

The main reason is that github does not support tls1.1, resulting in egit cannot open git-upload-pack

JDK1.8 supports TLSv1.2 by default, and JDK1.7 defaults to TLSv1.1, so you need to change TLSv1 in eclipse to TLSv1.2

Solution: Open eclipse.ini in the eclipse installation directory and add a sentence: -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

 

Original: https://blog.csdn.net/royal__moon/article/details/79427431

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324930139&siteId=291194637