Reputation: 31
I haven't found anything that matches my specific situation.
I'm trying to clone the angular-phonecat repository, but am having no luck.
I receive the following error message:
"Unable to access 'https://github.com/angular/angular-phonecat.git/': Failed connect to github.com:8887; No error"
I have tried using SSH as this answer suggests, but that didn't work for me either: GitHub "Failed connect to github" No Error
For that, I receive "Permission denied (publickey)."
I'm really not sure where to go from here. I'm not sure if I'm blocked by a proxy/firewall, or I'm doing something wrong. Any help would be greatly appreciated!
EDIT: Here is what I think is my .gitconfig files settings:
[user]
name = tpa069
email = noemail4u@nope.com
[url "https://"]
insteadOf = git://
[http]
proxy = http://10.1.12.112:8887
[https]
proxy = 10.1.12.112:8887
[gui]
recentrepo = C:/Work/Testing/Playground/AngularJS/please
EDIT2: Found my own solution, or rather, my own problem. I removed the proxies listed above and git started working great. I don't know if I should create my own answer and select it, or what the proper procedure is here.
Upvotes: 0
Views: 127
Reputation: 31
I found my own solution, or rather, why it was my fault in the first place.
As seen above, I had proxy settings in my .gitconfig that I didn't need. Git was trying to use those to connect, but since I'm not on the network where those were relevant anymore, it couldn't connect at all, and failed. After removing them, Git worked fine.
Don't try to use proxies when you aren't even being blocked in the first place :P
Upvotes: 1