John_J
John_J

Reputation: 53

Unable to clone from bitbucket

I am able to open bitbucket.or from the IE/browser. But I can not clone the repository from the command-line. It is getting time-out.

fatal: unable to access 'https://[email protected]/XXXXXX/XXX.git/': Failed to connect to bitbucket.org port 443: Timed out

Please can you suggest anything.

TIA!!!

Upvotes: 1

Views: 6010

Answers (2)

John_J
John_J

Reputation: 53

Thank you all for your valuable comments. I was able to solve this by adding the following section to my gitcongif (C:\Program Files\Git\mingw64\etc) file

[http]

proxy = http://proxy.at.your.org:8080

Hope this helps others as well!!

Upvotes: 1

CodeWizard
CodeWizard

Reputation: 142572

If you are using proxy set up the proxy setting for your git CLI

# set the proxy configuration for git
git config --global http.proxy https://user......

If this doesn't work you can switch off the ssl verify as well

git config --global http.sslverify false

In your case i don't think ssl verify is the problem

Upvotes: 1

Related Questions