简体   繁体   中英

Why is my Rails app not pushing to Github? (error:1407742E:SSL )

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM