8

I am getting error at the time of - git pull , Error is “ Fatal: unable to access 'https://github.com/repository.git/': error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number?” . Please suggest solution.

Preet
  • 130
  • 1
  • 2
  • 11
  • What is your git version and your OS? – VonC Feb 22 '18 at 05:51
  • Git version is - 2.14.1.windows.1 and OS is windows 7 – Preet Feb 22 '18 at 12:45
  • Is this a path issue? Try https://stackoverflow.com/a/45779657/6309, with a simplified path and Git 2.16.2 (no setup required: simply uncompress https://github.com/git-for-windows/git/releases/download/v2.16.2.windows.1/PortableGit-2.16.2-64-bit.7z.exe anywhere you want) – VonC Feb 22 '18 at 12:47

4 Answers4

4

The Op mentions

my problem is fixed. Internet speed was very slow so issue occurs.

But do also consider that GitHub disabled just yesterday (Feb. 22 2018) deprecated algorithms:

  • 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

Upgrading to the latest Git should be enough to not be no

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
4

I encountered the same error in a Linux environment. Turned out environment variable (i.e. http_proxy and https_proxy on my VM weren't set correctly.

You would want to check:

  • if you are behind a firewall
  • if you need to use a proxy to access internet/github. If so, make sure to set https_proxy correctly.
vxxxi
  • 107
  • 5
1

If on Windows 10, updating to git version 2.29.1.windows.1 (link) solved the problem for me.

dsalaj
  • 2,374
  • 3
  • 29
  • 38
0

This is your repository's server issue (of SSL certificate). Better contact repository administrator. By the way try accessing ssh URL of the same repository (if you have access).

smilyface
  • 4,259
  • 7
  • 40
  • 49
  • I've also gotten this error when the server was serving git content over `http`, not `https`. – jpaugh Nov 15 '19 at 15:30