使用GIT期间遇到的问题(持续更新)

QUESTION 1:    fatal: unable to access 'https://github.com/cloudera/Impala.git/': Failed to connect to github.com port 443: Timed out

DESCRIPTION: 在我clone/pull一个project时,出现这个问题!查询后发现因为自己配置了HTTP Proxy,而GIT的配置并没有更新相应的代理,导致不能正常访问。

SOLUTION: $ git config --global http.proxy http://{system_login_usr}:{system_login_pwd}@{proxy_address}:{proxy_port}

RESULT:      Cloning into 'Impala'...
fatal: unable to access 'https://github.com/cloudera/Impala.git/': error setting certificate verify locations:
CAfile: C:/Feng Guangyuan/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none


QUESTION 2: 见问题1的结果

DESCRIPTION:ca-bundle.crt的定位错误,可能的原因为(1)windows下路径错误导致(2)windows下该文件的空白符/结束符导致

SOLUTION:(1)粗鲁式:$ git config --global http.sslverify false关闭认证

(2)

		Then add the config into ~/.gitconfig (if not existing, create it)
		**vim ~/.gitconfig**
		[http]
		    sslVerify = true
		    sslCAinfo = /etc/ca-certificates/extracted/ca-bundle.trust.cr

RESULT:

Cloning into 'Impala'...
remote: Counting objects: 265117, done.
remote: Compressing objects: 100% (30/30), done.
Receiving objects:  26% (69237/265117), 3.59 GiB | 286.00 KiB/s



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值