Home » Git » unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Unknown SSL protocol error in connection to github.com:-9847

unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Unknown SSL protocol error in connection to github.com:-9847

Posted by: admin November 22, 2021 Leave a comment

Questions:

when I clone from github recently, the terminal output is “fatal: unable to access ‘https://github.com/AFNetworking/AFNetworking.git/‘: Unknown SSL protocol error in connection to github.com:-9847″, and it works were before, what’s wrong?

Answers:

This could come from different things:

  • Most probably github upgrade their supported ciphersuite, and you need to upgrade your git version.

  • An active proxy is between you and the github server, and is using an outdated SSL version. You’re out of luck.

Also, the port it’s trying to connect with to github.com (-9847) seems a bit odd. It could be some kind of config file corruption. Double check your git config -l