码迷,mamicode.com
首页 > 系统相关 > 详细

cannot open git-upload-pack,cannot open git-receive-pack,Can't connect to any URI错误解决方法eclipse

时间:2018-04-27 12:25:21      阅读:950      评论:0      收藏:0      [点我收藏+]

标签:false   col   set   setting   新建   原因   需要   details   ini   

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

cannot open git-upload-pack,cannot open git-receive-pack,Can't connect to any URI错误解决方法eclipse

标签:false   col   set   setting   新建   原因   需要   details   ini   

原文地址:https://www.cnblogs.com/singworld/p/8961075.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!