Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Not able to install HomeBrew : Failed to connect to raw.githubusercontent.com port 443: Network is unreachable #46280

Closed
Chetan-A-G opened this issue Nov 23, 2015 · 3 comments

Comments

@Chetan-A-G
Copy link

I have Xcode installed on my machine and able to open Git url on browser but when i run the command to install Home brew getting network unreachable error. Even tried setting the proxy url by using below command. Still not working. Pls help to resolve this.

$ HTTP_PROXY=http://proxy.mycompany:80
$ git config --global http.proxy $HTTP_PROXY

Error Message:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Network is unreachable

@rakkesh
Copy link
Contributor

rakkesh commented Nov 23, 2015

cURL has failed as it could not connect to github.com on port 443, try setting a working HTTPS proxy. Assuming the company proxy supports https,

export HTTPS_PROXY=https://<proxy.mycompany>:<port>

Set a working proxy for git,

$ git config --global https.proxy https://<proxy.mycompany>:<port>

And then verify,
$ git config --global --get https.proxy

@MikeMcQuaid
Copy link
Member

I'm afraid there's nothing we can really do if you can't connect to GitHub via curl. That's something you'll need to fix yourself, sorry!

@Chetan-A-G
Copy link
Author

Thanks Rakesh.. It worked.

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants