I am getting issue while pushing code.
git push origin master
fatal: unable to access \'https://xxxxxxxxxx@bitbucket.org/xxxxxx/xxxxxx.git/\':
Failed to co
just add your proxy setting via command prompt :
set HTTPS_PROXY=http://user:pass@yourProxy:8080
I have removed 104.192.143.2 bitbucket.org
from this path /etc/hosts
. It start working.
Edit:
I again faced error of Failed to connect to bitbucket.org port 443: Network is unreachable
.
I added new ip 18.205.93.0 bitbucket.org
and it is working perfectly. You can find ip simply typing this command ping -c10 bitbucket.org
.
Referance: For more information visit this link
I got this resolved. One of the reasons it happens is due to your system being on proxy network. In that case you have to run below command :
$ git config --global http.proxy http://username:password@proxy:port
where, username : your system userID| password : system password | proxy : Ip address of the proxy you are using | port : Of that proxy|
This was hapenning due to network limitation of my organization network.
For windows open your command prompt and do:
This will definitely gone a solve it. It works on mine.
Just add an entry to your ~/.ssh/config as follows:
Host bitbucket.org
AddressFamily inet