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



Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐