Can't connect to github?

so I tried to push some updates to my github repo through the terminal on Mac OSX 10.8.4 and it does not work.

I get the same error many times:

Lillys-MacBook-Air: Yuewei Lilly $ git click the initial wizard Error: Failed to connect to github.com-00-0043; The operation was disabled when accessing https://github.com/lillybeans/Yuewei.git/info/refs?service=git-receive-pack fatal: HTTP request failed

Some background:

  • I used a lot of projects on github before using the terminal (when I was in Canada).
  • I am currently in Shanghai, China, can it be GFW? But when I was in Beijing, I was still able to promote projects on github.
  • when i ping github.com:

Lillys-MacBook-Air: Yuewei Lilly $ ping github.com
PING github.com (192.30.252.131): 56 bytes of data
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
ping: sendto: there is no route to host the
Time- request outgoing time for icmp_seq 2
ping: sendto: Host omitted
Request outgoing timeout for icmp_seq 3
ping: sendto: Host omitted
Request outgoing timeout for icmp_seq 4
ping: sendto: Outgoing host
Timeout request for icmp_seq 5
ping: sendto: Host omitted
Request timeout for icmp_seq 6
ping: sendto: Host omitted
Request timeout for icmp_seq 7
^ C
--- github.com ping statistics ---
Transmitted 9 packets, received 0 packets, 100.0% packet loss
Lillys-MacBook-Air: Yuewei Lilly $

  • I have ShadowSocks enabled (proxy). Without this, I cannot access github.com through a browser, with this I can.

  • also when I do "git remote -v" I see how my remote and remote backups are displayed correctly.

Thank you in advance!

+4
source share
1 answer

The next time this happens to you, check the status of Github in the twitter handler . If their twitter descriptor is not saying that one of their servers or something like that, it is most likely its firewall that stops your access.

0

Source: https://habr.com/ru/post/1543155/


All Articles