Bug 239151

Summary: Does not honor $http_proxy
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: kojiAssignee: David Cantrell <dcantrell>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: mikeb, mikem
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 16:44:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2007-05-05 12:18:09 UTC
Description of problem:

Although koji uses HTTP protocol it ignores proxy settings and connects
directly to the target host. This makes it unusable in most environments
behind a firewall.

| $ set | grep proxy
| http_proxy=http://www-cache:3128/
| https_proxy=http://www-cache:3128/
|
| $ strace koji list-api
| connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("209.132.176.98")}, 16 <unfinished ...>


Version-Release number of selected component (if applicable):

koji-1.1-1.fc6

Comment 1 Mike McLean 2007-05-07 19:19:40 UTC
Is a web proxy really appropriate for xml-rpc?

Comment 2 Enrico Scholz 2007-05-07 19:35:03 UTC
Using HTTP(S) as transport protocol is the base idea behind XML-RPC. Therefore: yes

plague-client++ (which uses libcurl) makes perfect use of proxies for the old
buildsystem.

Comment 3 Jesse Keating 2007-06-12 19:34:30 UTC
This has been filed upstream
https://hosted.fedoraproject.org/projects/koji/ticket/31