cannot open git-upload-pack,cannot open git-receive-pack,Can't connect to any URI錯誤解決方法eclipse
解決eclipse中git插件中的cannot open git-upload-pack問題
網絡上搜索到的解決方式:打開eclipse中的windows-->Preferences-->Team-->Git-->Configuration-->User Settings.然后點Add Entry新建一個鍵值對,輸入http.sslVerify=false。
然而並不能解決
主要原因github不支持tls1.1導致egit cannot open git-upload-pack
JDK1.8默認支持TLSv1.2,JDK1.7默認是TLSv1.1,所以需要將eclipse中的TLSv1改為TLSv1.2
解決方式:打開eclipse安裝目錄下的eclipse.ini添加一句:-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
原文:https://blog.csdn.net/royal__moon/article/details/79427431
