Bug 310486

Summary: YaST don't use Proxy Authentication in Software Management, Software Repositaries
Product: [openSUSE] openSUSE 10.3 Reporter: Maks Vasilev <max>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log for Community Repositories
y2log for Software Repositories

Description Maks Vasilev 2007-09-14 06:17:42 UTC
In YaST/Proxy Configuration setup all proxy URL, check Use the Same Proxy for All Protocols.

In Proxy Authentication set windows domain username "domain\user" and password.
Test proxy settings say proxy work correctly.

YaST -> Community Repositories stops on step "Download list of online repositaries" with error "unable to download list of repositories or no repositories defined".

Try to add manual.

YaST -> Software Repositaries -> Add -> Specify URL
name "update"
URL "http://ftp.opensuse.org/pub/opensuse/update/10.3"

click Next and get HTTP response 407 error.

In proxy server log:

1189750373.490      1 10.126.5.202 TCP_DENIED/407 1874 GET http://ftp.opensuse.org/pub/opensuse/update/10.3/media.1/products - NONE/- text/html
1189750373.896      1 10.126.5.202 TCP_DENIED/407 1886 GET http://ftp.opensuse.org/pub/opensuse/update/10.3//repodata/repomd.xml - NONE/- text/html


YaST don't send username to proxy server.
Comment 1 Andreas Jaeger 2007-09-14 09:08:27 UTC
Please add the YaST log files as described in http://en.opensuse.org/Bugs/YaST
Comment 2 Maks Vasilev 2007-09-14 10:43:36 UTC
Created attachment 164066 [details]
y2log for Community Repositories
Comment 3 Maks Vasilev 2007-09-14 10:44:20 UTC
Created attachment 164067 [details]
y2log for Software Repositories
Comment 4 Maks Vasilev 2007-09-14 10:53:00 UTC
I'm attach 2 YaST log files for error in Community Repositories and Software Repositories.

Curl backend get 407 (access denied) error from proxy because don't send username/password:

CurlAgent.cc(Get):114 curl returned -> response code: 407, total size: 1426, total time 0.026794, content type: text/html

Comment 5 Katarina Machalkova 2007-09-14 11:51:55 UTC
Proxy settings are written into /root/.curlrc file. However, the syntax of the file has changed recently (see bug #305163), now libzypp must be adjusted to reflect that change and read username/password from .curlrc file correctly


*** This bug has been marked as a duplicate of bug 309139 ***