git - Cannot connect to Github? -


so tried push updates onto repo on github via terminal on mac osx 10.8.4 , doesn't work.

i've been getting same error many times:

lillys-macbook-air:yuewei lilly$ git push origin master error: failed connect 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:

  1. i've pushed many projects onto github before using terminal (when in canada).
  2. i in shanghai, china, gfw? when in beijing, able push projects onto github still.
  3. when ping github.com:

lillys-macbook-air:yuewei lilly$ ping github.com
ping github.com (192.30.252.131): 56 data bytes
request timeout icmp_seq 0
request timeout icmp_seq 1
ping: sendto: no route host
request timeout icmp_seq 2
ping: sendto: host down
request timeout icmp_seq 3
ping: sendto: host down
request timeout icmp_seq 4
ping: sendto: host down
request timeout icmp_seq 5
ping: sendto: host down
request timeout icmp_seq 6
ping: sendto: host down
request timeout icmp_seq 7
^c
--- github.com ping statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss
lillys-macbook-air:yuewei lilly$

  1. i have shadowsocks (proxy) turned on. without can't access github.com via browser, it, can.

  2. also when "git remote -v" see both pull , push remote repos correctly listed.

thank in advance!

the next time happens you, check github status in twitter handler. if twitter handle doesn't 1 of servers down or that, chances firewall stopping access.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -