问题是,Git突然停止工作了。我无法从Bitbucket推送或拉取代码,也无法克隆存储库。
$ git pull origin master
error: Failed connect to bitbucket.org:443; Operation now in progress while accessing https://username@bitbucket.org/username/username.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
$ git push origin master
error: Failed connect to bitbucket.org:443; Operation now in progress while accessing https://username@bitbucket.org/username/username.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
我可以从Github克隆仓库
$ git clone https://github.com/rails/rails.git
Cloning into 'rails'...
remote: Counting objects: 374775, done.
remote: Compressing objects: 100% (100606/100606), done.
remote: Total 374775 (delta 288080), reused 356367 (delta 270840)
Receiving objects: 100% (374775/374775), 56.24 MiB | 4.47 MiB/s, done.
Resolving deltas: 100% (288080/288080), done.
iptables
$ sudo iptables -L -n
[sudo] password for user:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
我运行了sudo ufw disable...,任何帮助都将不胜感激!