{"thread":{"id":"15256","subject":"Fetch via http and proxy which requires authentication","startedAt":"2008-08-28T06:00:36Z","lastAt":"2008-11-06T13:29:41Z","messageCount":5,"participants":["Paolo Ciarrocchi","Dilip M"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"88974","messageId":"4d8e3fd30808272300g58d92dd8pd877d72805bc29c0@mail.gmail.com","threadId":"15256","inReplyTo":null,"subject":"Fetch via http and proxy which requires authentication","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2008-08-28T06:00:36Z","receivedAt":"2008-08-28T06:00:36Z","isPatch":false,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"Hi all,\ni'm looking for a way to use git behind a corporate proxy which\nrequires authentication.\ni just need to be able to fetch/pull via http.\ni'm using git on a win xp box.\nAny hint?\n\nthanks.\n\nregards,\n-- \nPaolo\nhttp://paolo.ciarrocchi.googlepages.com/\n"},{"id":"89000","messageId":"4d8e3fd30808280313i70f572cfh9c14fbc2adbf5cea@mail.gmail.com","threadId":"15256","inReplyTo":"4d8e3fd30808272300g58d92dd8pd877d72805bc29c0@mail.gmail.com","subject":"Re: Fetch via http and proxy which requires authentication","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2008-08-28T10:13:08Z","receivedAt":"2008-08-28T10:13:08Z","isPatch":false,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"On Thu, Aug 28, 2008 at 8:00 AM, Paolo Ciarrocchi\n<paolo.ciarrocchi@gmail.com> wrote:\n> Hi all,\n> i'm looking for a way to use git behind a corporate proxy which\n> requires authentication.\n> i just need to be able to fetch/pull via http.\n> i'm using git on a win xp box.\n> Any hint?\n\nYes, google for  http_proxy ;-)\n\nexport http_proxy=http://host:port\ngit clone http://username:password@giturl\n\n\nCiao,\n-- \nPaolo\nhttp://paolo.ciarrocchi.googlepages.com/\n"},{"id":"94761","messageId":"c94f8e120811030602p57007278p5a2c48ce7663282d@mail.gmail.com","threadId":"15256","inReplyTo":"4d8e3fd30808280313i70f572cfh9c14fbc2adbf5cea@mail.gmail.com","subject":"Re: Fetch via http and proxy which requires authentication","fromName":"Dilip M","fromEmail":"dilipm79@gmail.com","sentAt":"2008-11-03T14:02:14Z","receivedAt":"2008-11-03T14:02:14Z","isPatch":false,"sender":{"key":"dilipm79@gmail.com","avatar":"https://gravatar.com/avatar/9417e308513ce9251de2802a026c72eb164e6c9b9d7143a3ee13f6ed0c4d1bd5?d=mp&s=160"},"body":"On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi\n<paolo.ciarrocchi@gmail.com> wrote:\n>> Hi all,\n>> i'm looking for a way to use git behind a corporate proxy which\n>> requires authentication.\n>> i just need to be able to fetch/pull via http.\n>> i'm using git on a win xp box.\n>> Any hint?\n>\n> Yes, google for  http_proxy ;-)\n>\n> export http_proxy=http://host:port\n> git clone http://username:password@giturl\n\nI tried setting, export http_proxy=http://<user>:<password>@host:port\n\nBut git clone failed!\n\n$git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git\nclone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\nInitialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/\nfatal:\nhttp://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs\ndownload error - The requested file was not found\n\nWhat may the problem?  How can debug....\n\n\nPS: wget works ...\n\n\n\n-- \nDilip\n"},{"id":"94883","messageId":"4d8e3fd30811040313x44290557yecfedb2fbc8cad0b@mail.gmail.com","threadId":"15256","inReplyTo":"c94f8e120811030602p57007278p5a2c48ce7663282d@mail.gmail.com","subject":"Re: Fetch via http and proxy which requires authentication","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2008-11-04T11:13:33Z","receivedAt":"2008-11-04T11:13:33Z","isPatch":false,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"On Mon, Nov 3, 2008 at 3:02 PM, Dilip M <dilipm79@gmail.com> wrote:\n> On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi\n> <paolo.ciarrocchi@gmail.com> wrote:\n>>> Hi all,\n>>> i'm looking for a way to use git behind a corporate proxy which\n>>> requires authentication.\n>>> i just need to be able to fetch/pull via http.\n>>> i'm using git on a win xp box.\n>>> Any hint?\n>>\n>> Yes, google for  http_proxy ;-)\n>>\n>> export http_proxy=http://host:port\n>> git clone http://username:password@giturl\n>\n> I tried setting, export http_proxy=http://<user>:<password>@host:port\n>\n> But git clone failed!\n>\n> $git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git\n> clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\n> Initialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/\n> fatal:\n> http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs\n> download error - The requested file was not found\n>\n> What may the problem?  How can debug....\n\nWorks for me:\n$ git version\ngit version 1.6.0.2.1172.ga5ed0\n\nI set in the Environment Variables panel:\n\nVariable          Value\nhttp_proxy      http://ip_of_my_proxy\n\nRegards,\n-- \nPaolo\nhttp://paolo.ciarrocchi.googlepages.com/\n"},{"id":"95049","messageId":"c94f8e120811060529i4e51ebefr2e14f8212ead6752@mail.gmail.com","threadId":"15256","inReplyTo":"4d8e3fd30811040313x44290557yecfedb2fbc8cad0b@mail.gmail.com","subject":"Re: Fetch via http and proxy which requires authentication","fromName":"Dilip M","fromEmail":"dilipm79@gmail.com","sentAt":"2008-11-06T13:29:41Z","receivedAt":"2008-11-06T13:29:41Z","isPatch":false,"sender":{"key":"dilipm79@gmail.com","avatar":"https://gravatar.com/avatar/9417e308513ce9251de2802a026c72eb164e6c9b9d7143a3ee13f6ed0c4d1bd5?d=mp&s=160"},"body":"On Tue, Nov 4, 2008 at 4:43 PM, <paolo.ciarrocchi@gmail.com> wrote:\n> Works for me: $ git version git version 1.6.0.2.1172.ga5ed0\n>\n> I set in the Environment Variables panel:\n>\n> Variable          Value http_proxy      http://ip_of_my_proxy\n\nOkay it solved now. Problem was old version of GIT. libcurl library\nproblem.\n\nUpgrade the OS ,which in turn upgraded the libs...\n\nWorking fine for me too..\n\n\n-- \nDilip\n"}]}