Recently started having this issue: when trying to run bundle update or install I get
最近开始遇到这个问题:当试图运行bundle update或安装时我得到了
fatal: unable to access 'https://github.com/nomaddc/country_select.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Retrying `git clone "https://github.com/nomaddc/country_select.git" "C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/country_select-db5df4c320ea31e458a287fae5e692ca9b00cf24" --bare --no-hardlinks --quiet` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git clone "https://github.com/nomaddc/country_select.git" "C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/country_select-db5df4c320ea31e458a287fae5e692ca9b00cf24" --bare --no-hardlinks --quiet` in directory c:/Sites/BRICS has failed.fatal: unable to access 'https://github.com/nomaddc/country_select.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
that github being my branch of country_select. Any idea what's worng and how to fix it? I'm running RailsInstaller version under windows 10.
那个github是country_select的分支。知道什么是故障以及如何解决它?我在Windows 10下运行RailsInstaller版本。
Commenting out that gem allows to run command just fine, but I can't drop it from project.
注释掉gem允许运行命令就好了,但我不能将它从项目中删除。
1 个解决方案
#1
1
Try to change https://
to git://
尝试将https://更改为git://
else it could be because of that change :
否则可能是因为这种变化:
On February 8, 2018 we’ll start disabling the following:
在2018年2月8日,我们将开始禁用以下内容:
TLSv1/TLSv1.1: This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com. diffie-hellman-group1-sha1: This applies to all SSH connections to github.com diffie-hellman-group14-sha1: This applies to all SSH connections to github.com We’ll disable the algorithms in two stages:
TLSv1 / TLSv1.1:这适用于所有HTTPS连接,包括与https://github.com和https://api.github.com的Web,API和git连接。 diffie-hellman-group1-sha1:这适用于与github.com的所有SSH连接diffie-hellman-group14-sha1:这适用于与github.com的所有SSH连接我们将分两个阶段禁用算法:
February 8, 2018 19:00 UTC (11:00 am PST): Disable deprecated algorithms for one hour February 22, 2018 19:00 UTC (11:00 am PST): Permanently disable deprecated algorithms
2018年2月8日19:00 UTC(太平洋标准时间上午11:00):禁用一小时的弃用算法2018年2月22日19:00 UTC(太平洋标准时间上午11:00):永久禁用不推荐使用的算法
so you can update your git client and try to push it again (it should work then).
所以你可以更新你的git客户端并尝试再次推送它(它应该工作)。
Good luck!
祝你好运!
#1
1
Try to change https://
to git://
尝试将https://更改为git://
else it could be because of that change :
否则可能是因为这种变化:
On February 8, 2018 we’ll start disabling the following:
在2018年2月8日,我们将开始禁用以下内容:
TLSv1/TLSv1.1: This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com. diffie-hellman-group1-sha1: This applies to all SSH connections to github.com diffie-hellman-group14-sha1: This applies to all SSH connections to github.com We’ll disable the algorithms in two stages:
TLSv1 / TLSv1.1:这适用于所有HTTPS连接,包括与https://github.com和https://api.github.com的Web,API和git连接。 diffie-hellman-group1-sha1:这适用于与github.com的所有SSH连接diffie-hellman-group14-sha1:这适用于与github.com的所有SSH连接我们将分两个阶段禁用算法:
February 8, 2018 19:00 UTC (11:00 am PST): Disable deprecated algorithms for one hour February 22, 2018 19:00 UTC (11:00 am PST): Permanently disable deprecated algorithms
2018年2月8日19:00 UTC(太平洋标准时间上午11:00):禁用一小时的弃用算法2018年2月22日19:00 UTC(太平洋标准时间上午11:00):永久禁用不推荐使用的算法
so you can update your git client and try to push it again (it should work then).
所以你可以更新你的git客户端并尝试再次推送它(它应该工作)。
Good luck!
祝你好运!