为什么我的Rails应用程序不推向Github? (错误:1407742E:SSL) [英] Why is my Rails app not pushing to Github? (error:1407742E:SSL )

查看:106
本文介绍了为什么我的Rails应用程序不推向Github? (错误:1407742E:SSL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在完成一篇博客教程,并试图对GitHub和Heroku进行最后的推动。我只是将popper gem添加到 Gemfile 中,然后像往常一样使用 git push origin master 尝试推送到GitHub。

通常它会要求输入我的用户名和密码,但是我得到以下错误,不知道它是什么意思或为什么我得到它。

 致命:无法访问'https://github.com /<username> /FrogBlog.git/':错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本

我不确定如何继续,因为这条消息对我来说毫无意义。如果需要,我可以从我的项目中发布更多文件,请告知。 GitHub最近不推荐使用一些旧的和不安全的加密标准,包括TLSv1,它会在错误消息中引用:


2018年2月8日,我们将开始停用以下功能:



我们将禁用算法有两个阶段:


  • 2018年2月8日19:00 UTC(太平洋标准时间上午11:00):禁用已弃用算法一小时
  • 永久禁用弃用的算法 $ b

大多数Git客户端应该继续工作,但有一些已知的不兼容性



如果你更新你的Git客户端看起来你正在使用标准CLI客户端?)推送到GitHub可能会再次开始工作。


I am finishing off a blog tutorial and am trying to do my final push to GitHub and Heroku. I just added the popper gem to the Gemfile and then tried to push to GitHub as usual using git push origin master.

Normally it then asks for my username and password, but instead I got the following error and have no idea what it means or why I got it. I haven't changed anything else as far as I remember.

fatal: unable to access 'https://github.com/<username>/FrogBlog.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

I am unsure how to proceed, as this message means nothing to me. I can post more files from my project if required, please advise.

解决方案

GitHub recently deprecated some old and insecure cryptographic standards, including TLSv1, which is referenced in your error message:

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

Most Git clients should continue to work, but there are some known incompatibilities.

If you update your Git client (it looks like you're using the standard CLI client?) pushing to GitHub will probably start working again.

这篇关于为什么我的Rails应用程序不推向Github? (错误:1407742E:SSL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆