# HELP: cannot clone a repository via http_proxy on FC13

5 messages from 2010-06-01 to 2010-06-02. Participants: Sylvia Liu, Tay Ray Chuan, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/23960

## Sylvia Liu, 2010-06-01 03:30

Subject: HELP: cannot clone a repository via http_proxy on FC13
Message-ID: <AANLkTimefBKp5So03RKaZRqQXePO1KY6EgMRxN0zsf8M@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimefBKp5So03RKaZRqQXePO1KY6EgMRxN0zsf8M%40mail.gmail.com

```
Hello,

I cannot use git clone to get data from a repository.

I encountered the problem and searched on line without any solutions.
So could you please help me on this?

First, I have setup the http_proxy as an environment variable. And I
can use wget to download the repository page.

--- On my FC13
System: Fedora 13
Kernel version: 2.6.33.4-95.fc13.i686.PAE
Git version: 1.7.0.1

I tried this command:
   sudo git clone
http://git.gitorious.org/meego-developer-tools/image-creator.git

got the error messages as follow:
   Initialized empty Git repository in
/home/sylvia/workarea/DEV_TOOLS/test/image-creator/.git/
   error: Failed connect to git.gitorious.org:80; Operation now in
progress while accessing
http://git.gitorious.org/meego-developer-tools/image-creator.git/info/refs

   fatal: HTTP request failed

--- On my FC12
I also tried on Fedora 12, same error exist.

--- On my Kubuntu: it is working well.
System: Kubuntu
Kernel version: 2.6.31-21-generic
Git version: 1.6.3.3

Seems it is something wrong with Fedora.
Can you help me on this?
Thanks a lot.

BR,
Sylvia

```

## Tay Ray Chuan, 2010-06-01 04:03

Subject: Re: HELP: cannot clone a repository via http_proxy on FC13
Message-ID: <AANLkTinyKoH4QiTnIbBQ60sMNZHKqtYejk-t2ygj9naK@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinyKoH4QiTnIbBQ60sMNZHKqtYejk-t2ygj9naK%40mail.gmail.com
In-Reply-To: <AANLkTimefBKp5So03RKaZRqQXePO1KY6EgMRxN0zsf8M@mail.gmail.com>

```
Hi,

On Tue, Jun 1, 2010 at 11:30 AM, Sylvia Liu <sylviaonlyone@gmail.com> wrote:
> I tried this command:
>   sudo git clone
> http://git.gitorious.org/meego-developer-tools/image-creator.git

Probably not related, but why sudo?

> got the error messages as follow:
>   Initialized empty Git repository in
> /home/sylvia/workarea/DEV_TOOLS/test/image-creator/.git/
>   error: Failed connect to git.gitorious.org:80; Operation now in
> progress while accessing
> http://git.gitorious.org/meego-developer-tools/image-creator.git/info/refs
>
>   fatal: HTTP request failed

Can you try

  $ GIT_CURL_VERBOSE=1 git clone
http://git.gitorious.org/meego-developer-tools/image-creator.git

and paste the output here?

-- 
Cheers,
Ray Chuan

```

## Sylvia Liu, 2010-06-01 04:30

Subject: Re: HELP: cannot clone a repository via http_proxy on FC13
Message-ID: <AANLkTinSTJiUdtWbidlnUkJ2Gh6KczaSu56p3cwSgv5k@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinSTJiUdtWbidlnUkJ2Gh6KczaSu56p3cwSgv5k%40mail.gmail.com
In-Reply-To: <AANLkTinyKoH4QiTnIbBQ60sMNZHKqtYejk-t2ygj9naK@mail.gmail.com>

```
Hi Ray,

Thanks a lot.
Seems the "sudo" IS the problem, indeed.
Without the sudo, it is working.

But on Ubuntu, I use sudo all the times, and it still works. Isn't it strange?
And as I remembered, while I using FC12 before, it didn't work
neither; even without a sudo....

Anyway, it is working. Thanks.

On Tue, Jun 1, 2010 at 12:03 PM, Tay Ray Chuan <rctay89@gmail.com> wrote:
> Hi,
>
> On Tue, Jun 1, 2010 at 11:30 AM, Sylvia Liu <sylviaonlyone@gmail.com> wrote:
>> I tried this command:
>>   sudo git clone
>> http://git.gitorious.org/meego-developer-tools/image-creator.git
>
> Probably not related, but why sudo?
>

```

## Ævar Arnfjörð Bjarmason, 2010-06-01 13:24

Subject: Re: HELP: cannot clone a repository via http_proxy on FC13
Message-ID: <AANLkTimXYT71cjmLBmF0GWFQeb4pBmNDtfLpAmC4REE0@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimXYT71cjmLBmF0GWFQeb4pBmNDtfLpAmC4REE0%40mail.gmail.com
In-Reply-To: <AANLkTinSTJiUdtWbidlnUkJ2Gh6KczaSu56p3cwSgv5k@mail.gmail.com>

```
On Tue, Jun 1, 2010 at 04:30, Sylvia Liu <sylviaonlyone@gmail.com> wrote:
> But on Ubuntu, I use sudo all the times, and it still works. Isn't it strange?
> And as I remembered, while I using FC12 before, it didn't work
> neither; even without a sudo....

What is your Ubuntu's and FC13 /etc/sudoers file like?

```

## Sylvia Liu, 2010-06-02 01:18

Subject: Re: HELP: cannot clone a repository via http_proxy on FC13
Message-ID: <AANLkTimF_RslttIFQ0rE-Muvy41vQsniZ5fHxJhx8-md@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimF_RslttIFQ0rE-Muvy41vQsniZ5fHxJhx8-md%40mail.gmail.com
In-Reply-To: <AANLkTimXYT71cjmLBmF0GWFQeb4pBmNDtfLpAmC4REE0@mail.gmail.com>

```
Hi,

My sudoers file seems quite simple.
I haven't modified it except for adding my own user name in it.

-------------------------
FC13 sudoers:
"
Defaults    requiretty

Defaults    env_reset
Defaults    env_keep =  "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC
KDEDIR LS_COLORS"
Defaults    env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
Defaults    env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT
LC_MESSAGES"
Defaults    env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
Defaults    env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET
XAUTHORITY"

Defaults    secure_path = /sbin:/bin:/usr/sbin:/usr/bin

root	ALL=(ALL) 	ALL
sylvia	ALL=(ALL) 	ALL
"

----------------------
ubuntu sudoers:
"
Defaults        env_reset

root    ALL=(ALL) ALL
sylvia ALL=(ALL) ALL

%admin ALL=(ALL) ALL
"

On Tue, Jun 1, 2010 at 9:24 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Tue, Jun 1, 2010 at 04:30, Sylvia Liu <sylviaonlyone@gmail.com> wrote:
>> But on Ubuntu, I use sudo all the times, and it still works. Isn't it strange?
>> And as I remembered, while I using FC12 before, it didn't work
>> neither; even without a sudo....
>
> What is your Ubuntu's and FC13 /etc/sudoers file like?
>

```
