threads / discuss / 23960

HELP: cannot clone a repository via http_proxy on FC13

Subject: HELP: cannot clone a repository via http_proxy on FC13

## tl;dr

5 messages between Jun 1, 2010 and Jun 2, 2010.

replies: 4people: 3as markdown or json

Sylvia Liu· Jun 1, 2010, 03:30 UTC · lore
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· Jun 1, 2010, 04:03 UTC · re: Sylvia Liu · lore

Re: HELP: cannot clone a repository via http_proxy on FC13

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?
Show 8 quoted lines
> 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· Jun 1, 2010, 04:30 UTC · re: Tay Ray Chuan · lore

Re: HELP: cannot clone a repository via http_proxy on FC13

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:
Show 9 quoted lines
> 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· Jun 1, 2010, 13:24 UTC · re: Sylvia Liu · lore

Re: HELP: cannot clone a repository via http_proxy on FC13

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· Jun 2, 2010, 01:18 UTC · re: Ævar Arnfjörð Bjarmason · lore

Re: HELP: cannot clone a repository via http_proxy on FC13

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:

Show 7 quoted lines
> 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?
>

← back to recent threads