Ruby 关于 rails 捆绑器和 github ssl 错误
Ruby on rails bundler and github ssl error
最近开始遇到这个问题:尝试 运行 捆绑更新或安装时我得到
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
github 是我 country_select 的分支。知道什么是 worng 以及如何修复它吗?我 运行ning RailsInstaller 版本低于 windows 10.
注释掉 gem 允许 运行 命令就好了,但我不能从项目中删除它。
尝试将 https://
更改为 git://
否则可能是因为那个改变:
On February 8, 2018 we’ll start disabling the following:
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:
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
所以你可以更新你的 git 客户端并尝试再次推送它(它应该可以工作)。
祝你好运!
最近开始遇到这个问题:尝试 运行 捆绑更新或安装时我得到
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
github 是我 country_select 的分支。知道什么是 worng 以及如何修复它吗?我 运行ning RailsInstaller 版本低于 windows 10.
注释掉 gem 允许 运行 命令就好了,但我不能从项目中删除它。
尝试将 https://
更改为 git://
否则可能是因为那个改变:
On February 8, 2018 we’ll start disabling the following:
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:
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
所以你可以更新你的 git 客户端并尝试再次推送它(它应该可以工作)。
祝你好运!