Closed adoyle-h closed 6 years ago
I have the same problem, seems related to https://developer.github.com/changes/2018-02-01-weak-crypto-removal-notice/
So Github just turned off the TLS1.0 and only allows TLS1.2, I fixed the issue with the openssl upgrade and python reinstallation.
brew update
brew install openssl
Then openssl version should be 1.0.x
brew update
brew install pyenv
echo 'eval "$(pyenv init -)"' >> .zshrc
source .zshrc
pyenv install 3.5.2
pyenv global 3.5.2
python --version
python -c 'import ssl; print ssl.OPENSSL_VERSION'
After that, you can see python is using openssl 1.0.x, and if you reinstall grip everything should be good.
Thanks a lot for this hint!
Important to add: This won't work with the Homebrew version because the Homebrew version uses an old Python (at least for me). So maybe, the Homebrew version needs an update?
I couldn't get this to work with Homebrew either. I ended up uninstalling grip in Homebrew and re-installing it with pip after I did the other steps
brew update
brew install openssl
brew update
brew install pyenv
echo 'eval "$(pyenv init -)"' >> .bash_profile
source .bash_profile
pyenv install 3.5.2
pyenv global 3.5.2
Thanks @cunninghamzac! Uninstalling it via Homebrew and using pip install grip
worked for me, too.
@peterfication, Homebrew now uses 3.x as the default python
.
Yes, this is due to GitHub shutting off weak TLS.
Thanks for chiming in, @shirohana, @xavierchow, @cunninghamzac ❤️
Actually, while I'm releasing new versions, I added an except
block in v1.5.2 pointing people here if they happen to hit this error (f015871c4af7b8a956ed41c9b6bfdd1e6ad468cb). Can anyone still experiencing this confirm it worked / add anything missing? Thanks again!
@joeyespo I got your error, there is a spelling mistake in the error message though. I made a pull request https://github.com/joeyespo/grip/pull/266
The message in browser,
I think the connection to Github has no problem.
version