dl-ubuntu-test-iso doesn't work behind a non-transparent proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tools used by the Ubuntu QA Team |
Fix Released
|
Medium
|
Unassigned | ||
ubuntu-qa-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to use dl-ubuntu-test-iso behind a proxy server, I get the following error:
$ ./dl-ubuntu-
Syncing lucid ubuntu desktop i386
Traceback (most recent call last):
File "./dl-ubuntu-
main()
File "./dl-ubuntu-
iso_
File "./dl-ubuntu-
available, msg = get_status(uri, config.host)
File "./dl-ubuntu-
conn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
self.timeout)
File "/usr/lib/
raise error, msg
socket.error: [Errno 110] Connection timed out
I think there should be an option to enter details of the proxy server, or it should pick it up automatically from the http_proxy environment variable.
I'm running karmic, and revision 286 of the script.
Changed in ubuntu-qa-tools: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ubuntu-qa-tools (Ubuntu): | |
status: | New → In Progress |
I did a bit of research, and it looks like a 'simple' fix would be to use urllib instead of httplib. However, I'm only just learning Python, so I don't know enough at the moment to do it myself.