cnohall
cnohall

Reputation: 73

Cannot connect to github

I'm in China and cannot pull, clone or push to github. I'm using a vpn but it still doesn't work. I'm working home from my computer, so it can't be my firewall. I also tried to turn it of briefly, but it didn't change anything.

fatal: unable to access '': Failed to connect to github.com port 443: Timed out.

I've tried setting and unsetting proxies, without success. I've googled for at least a couple of hours, but without prevail.

Any help would be very appreciated and valuable to me.

Upvotes: 3

Views: 2173

Answers (2)

Momoro
Momoro

Reputation: 617

One Google Search came up with interesting results..(Is github accessible in china)

On January 21, 2013, GitHub was blocked in China using DNS hijacking. Confirming the block, a spokesperson for GitHub said: "It does appear that we're at least being partly blocked by the Great Firewall of China".

I hope this clears things up for you :)

Upvotes: 1

Fahad
Fahad

Reputation: 127

If your git was already set to something and you only copied that folder to some other location, simply run:

git config --global http.proxy ""

And you can pull again :)

Upvotes: 2

Related Questions