Bug 1012065

Summary: [rfe] proxy support
Product: [Fedora] Fedora Reporter: lnxslck <bqueiros>
Component: dnfAssignee: Zdeněk Pavlas <zpavlas>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, jzeleny, packaging-team-maint, pnemade, rholy, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dnf-0.4.5-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 10:20:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lnxslck 2013-09-25 16:05:29 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Add the proxy line to /etc/dnf/dnf.conf, for example: proxy=http://10.10.10.10:80

2. Try to use dnf, for example: dnf update

Actual results:
Errors occur because the serfer can't be reached:

Problem with repo 'fedora': Cannot prepare internal mirrorlist: Curl error: Couldn't connect to server for https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64, disabling.



Expected results:
New packages should appear as avaiable to install

Additional info:

Comment 1 Ales Kozumplik 2013-09-26 05:53:20 UTC
Hello, thanks for the report. We've known about the missing bugzilla support for some time and even considered dropping it entirely, however it is a requirement for Anaconda and so eventually it will be duly integrated.

Comment 3 Zdeněk Pavlas 2013-10-21 09:05:24 UTC
I've just quickly verified that:

- with no proxy set in dnf.conf, dnf works as usual
- proxy=http://localhost:some_port causes dnf to connect through that proxy.

Other test setups (eg. shutting down all direct connectivity, setting up ftp/https proxies, etc are somewhat more complex), so I didn't bother.