# Problems Fetching from HTTP?

3 messages from 2010-04-01 to 2010-04-01. Participants: Tim Visher, Andreas Krey.
Thread: https://gitlist.dev/t/23286

## Tim Visher, 2010-04-01 15:03

Subject: Problems Fetching from HTTP?
Message-ID: <v2xc115fd3c1004010803g98a279e8mf395a0d14be4f6bd@mail.gmail.com>
URL: https://gitlist.dev/e/v2xc115fd3c1004010803g98a279e8mf395a0d14be4f6bd%40mail.gmail.com

```
Hello Everyone,

I recently seem to have developed problems fetching from
http://www.kernel.org/pub/scm/git/git.git.  The error is simply:

    error: Failed connect to www.kernel.org:80; Connection refused
while accessing http://www.kernel.org/pub/scm/git/git.git/info/refs

    fatal: HTTP request failed

I looked around and discovered that perhaps the URL had changed via
[git.kernel.org][] so I went ahead and changed the URL and still get
the error.

    error: Failed connect to git.kernel.org:80; Connection refused
while accessing http://git.kernel.org/pub/scm/git/git.git/info/refs

    fatal: HTTP request failed

What could be going on here?  I can't pull from `git://` as I'm behind
a firewall.

Thanks in advance!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

```

## Andreas Krey, 2010-04-01 16:29

Subject: Re: Problems Fetching from HTTP?
Message-ID: <20100401162907.GA3783@inner.home.ulmdo.de>
URL: https://gitlist.dev/e/20100401162907.GA3783%40inner.home.ulmdo.de
In-Reply-To: <v2xc115fd3c1004010803g98a279e8mf395a0d14be4f6bd@mail.gmail.com>

```
On Thu, 01 Apr 2010 11:03:20 +0000, Tim Visher wrote:
...
>     error: Failed connect to git.kernel.org:80; Connection refused
> while accessing http://git.kernel.org/pub/scm/git/git.git/info/refs
> 
>     fatal: HTTP request failed
> 
> What could be going on here?  I can't pull from `git://` as I'm behind
> a firewall.

It pretty much looks like the firewall doesn't let you directly access
HTTP as well. You may need to use your proxy, and you (seem to) need to
set the environment variable 'http_proxy="http://10.0.0.1:3128"' to
point to your proxy. Google will take you from there, like
http://rip747.wordpress.com/2008/09/12/git-clone-over-http-who-knew/

Andreas

```

## Tim Visher, 2010-04-01 18:12

Subject: Re: Problems Fetching from HTTP?
Message-ID: <k2tc115fd3c1004011112y38265ec1h53c8e297b47983b@mail.gmail.com>
URL: https://gitlist.dev/e/k2tc115fd3c1004011112y38265ec1h53c8e297b47983b%40mail.gmail.com
In-Reply-To: <20100401162907.GA3783@inner.home.ulmdo.de>

```
On Thu, Apr 1, 2010 at 12:29 PM, Andreas Krey <a.krey@gmx.de> wrote:
> On Thu, 01 Apr 2010 11:03:20 +0000, Tim Visher wrote:
> ...
>>     error: Failed connect to git.kernel.org:80; Connection refused
>> while accessing http://git.kernel.org/pub/scm/git/git.git/info/refs
>>
>>     fatal: HTTP request failed
>>
>> What could be going on here?  I can't pull from `git://` as I'm behind
>> a firewall.
>
> It pretty much looks like the firewall doesn't let you directly access
> HTTP as well. You may need to use your proxy, and you (seem to) need to
> set the environment variable 'http_proxy="http://10.0.0.1:3128"' to
> point to your proxy. Google will take you from there, like
> http://rip747.wordpress.com/2008/09/12/git-clone-over-http-who-knew/

Strange.  I suppose they reconfigured the firewall recently as I never
had to set that before and I've tracked git through http for over a
year.  I ended up setting `http.proxy` in ~/.gitconfig.

Thanks!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

```
