2

I get this error when I try to pull from my git repository. It was working fine for me suddenly for past 2 days I have this issue.

error: Unknown SSL protocol error in connection to bitbucket.org:443 while accessing https://er@bitbucket.org/ei/k.git/info/refs?service=git- upload-pack fatal: HTTP request failed

ZAJ
  • 793
  • 3
  • 23
  • 50
  • Maybe you want to take that up with Bitbucket? It's not likely something you could fix on your end. – Makoto Oct 12 '13 at 05:35
  • but it was working properly till some days back. For e.g when I pull from my home it works!! – ZAJ Oct 12 '13 at 05:39
  • Bitbucket and Stash require SSLv3. Not all clients support the negotiation properly. – Todd A. Jacobs Oct 12 '13 at 16:47
  • what do I do then to make it negotiate properly. – ZAJ Oct 13 '13 at 08:06
  • by the way in my eclipse.ini I added this code -Djsse.enableSNIExtension=false and now I can pull from my repository but when I run from the cmd prompt git pull I still get that error. How can I get rid of this error from the cmd prompt too – ZAJ Oct 13 '13 at 10:05
  • http://www.f15ijp.com/2012/08/git-ssl-certificate-problem-how-to-turn-off-ssl-validation-for-a-repo/ one of the best solution which I found – vikas etagi Mar 22 '20 at 14:17

1 Answers1

4

First, BitBucket had (see its status):

a brief issue with one of our SSH servers.

But I see also that error message when the proxy at work hasn't properly authenticate me:

Then, it works.

since I don't have a proxy at home, I never see that issue there.

Hariharan Kanakaraja suggests in the comments:

if it is a server terminal, then try to load the bitbucket.org from the terminal (wget https://bitbucket.org/)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I tried your instructions but did not help.what I did was opened a broser logged into my account and then from cmd promt ran this pull git.but I still get that SSL error – ZAJ Oct 13 '13 at 08:06
  • if it is a server terminal, then try to load the bitbucket.org from the terminal (wget https://bitbucket.org) – Hariharan Kanakaraja Dec 10 '21 at 04:20
  • @HariharanKanakaraja Good point. I have included your comment in the answer for more visibility. – VonC Dec 10 '21 at 05:56