Git fetch fails behind proxy

Bug #667801 reported by emorkay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dell Recovery
Won't Fix
Low
Unassigned

Bug Description

Hi,
Git fetch is failed every time I tried creating OS media for Ubuntu 10.10 using this tool. I am in a university and we are behind a proxy which requires authentication.
Any ideas how I can get it work?
Thanks,

Revision history for this message
Mario Limonciello (superm1) wrote :

If you set the environment variables for proxy properly before launching dell-recovery they should carry over to the git invocation as far as I know. Do you have them already set for your environment?

Changed in dell-recovery:
status: New → Incomplete
Revision history for this message
emorkay (emorkay24-deactivatedaccount) wrote :

Hi,
Thanks for the response. I have everything set properly. apt and Ubuntu Software center work properly.
I have set them in System-->Preferences-->Network Proxy.
Thanks,

Revision history for this message
Mario Limonciello (superm1) wrote :

Hm. If that's the case, more than likely the env variables that are used to define the proxy are not carrying into the git subprocess invokation.

For now, you can work around the problem by cloning from the URL listed in the tool manually into ~/.config/dell-recovery/ubuntu-fid.

Changed in dell-recovery:
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
emorkay (emorkay24-deactivatedaccount) wrote :

Hi,
I've tried this:
git clone git://linux.dell.com/ubuntu-fid.git
Initialized empty Git repository in /home/<username>/ubuntu-fid/.git/
fatal: Unable to look up linux.dell.com (port 9418) (Name or service not known)

if I do echo $http_proxy, the output was,
http://<ip>:<port>
The authentication credentials don't seem to have been recorded.

Thanks,

Revision history for this message
Mario Limonciello (superm1) wrote :

This sounds like it's an issue with the tools for setting up the proxy variables then if they're not storing that bit.

If you export http_proxy yourself to the correct values, does git work and more importantly does the dell-recovery tool work?

Revision history for this message
emorkay (emorkay24-deactivatedaccount) wrote :

I tried your suggestion but neither seems to be working.

Revision history for this message
Mario Limonciello (superm1) wrote :

So the current versions of dell-recovery have dropped functionality for GIT checkouts. I'll close this bug out.

Changed in dell-recovery:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.