Cannot connect to Github?
- by user2973438
so I tried to push some updates onto my repo on github via terminal on Mac OSX 10.8.4 and it doesn't work.
I've been getting the same error many times:
Lillys-MacBook-Air:Yuewei Lilly$ git push origin master
error: Failed connect to github.com:443; Operation timed out while accessing https://github.com/lillybeans/Yuewei.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
Some background:
I've pushed many projects onto github before using terminal (when I was in Canada).
I am currently in Shanghai, China, could it be the GFW? But when I was in Beijing, I was able to push projects onto github still.
when I do ping github.com:
Lillys-MacBook-Air:Yuewei Lilly$ ping github.com
PING github.com (192.30.252.131): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
ping: sendto: No route to host
Request timeout for icmp_seq 2
ping: sendto: Host is down
Request timeout for icmp_seq 3
ping: sendto: Host is down
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
^C
--- github.com ping statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss
Lillys-MacBook-Air:Yuewei Lilly$
I have ShadowSocks (proxy) turned on. Without it I can't access github.com via browser, with it, I can.
also when I do "git remote -v" I see both my pull and push remote repos correctly listed.
Thank you in advance!