cannot open git-upload-pack,cannot open git-receive-pack,Can't connect to any URI錯誤解決方法eclipse


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM