Bug 414629

Summary: Yast - Network Services - Proxy
Product: [openSUSE] openSUSE 11.0 Reporter: Gregg Douglas <douglagm>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED NORESPONSE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gregg Douglas 2008-08-05 08:04:37 UTC
Hi,

If I configure the proxy server in yast it fails to authenticated. The proxy server is a squid server running on a different port. This issue is not found on the 32bit version, only the 64bit version. The same proxy server, same username and same password woks on a OpenSuSE 11.0 32bit and OpenSuSE10.3 32bit.

I have included the error.

Regards
Gregg

* About to connect() to proxy <proxy-server> port 524 (#0)
*   Trying <ip-address>... connected
* Connected to <proxy-server> (<ip-address>) port 524 (#0)
> GET http:// --proxy-user <username>:<password> HTTP/1.1
> User-Agent: curl/7.18.1 (x86_64-suse-linux-gnu) libcurl/7.18.1 OpenSSL/0.9.8g zlib/1.2.3 libidn/1.8
> Host:  --proxy-user <username>:<password>
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
* HTTP 1.0, assume close after body
< HTTP/1.0 400 Bad Request
< Server: squid/2.5.STABLE12
< Mime-Version: 1.0
< Date: Tue, 05 Aug 2008 07:11:39 GMT
< Content-Type: text/html
< Content-Length: 1218
< Expires: Tue, 05 Aug 2008 07:11:39 GMT
< X-Squid-Error: ERR_INVALID_URL 0
< X-Cache: MISS from <proxy-server>
< X-Cache-Lookup: NONE from <proxy-server>:524
< Proxy-Connection: close
< 
{ [data not shown]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

100  1218  100  1218    0     0  14343      0 --:--:-- --:--:-- --:--:-- 14343
100  1218  100  1218    0     0  14324      0 --:--:-- --:--:-- --:--:--     0* Closing connection #0

* About to connect() to proxy <proxy-server> port 524 (#0)
*   Trying <ip-address>... connected
* Connected to <proxy-server> (<ip-address>) port 524 (#0)
> GET http://www.novell.com HTTP/1.1
> User-Agent: curl/7.18.1 (x86_64-suse-linux-gnu) libcurl/7.18.1 OpenSSL/0.9.8g zlib/1.2.3 libidn/1.8
> Host: www.novell.com
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
* HTTP 1.0, assume close after body
< HTTP/1.0 407 Proxy Authentication Required
< Server: squid/2.5.STABLE12
< Mime-Version: 1.0
< Date: Tue, 05 Aug 2008 07:11:40 GMT
< Content-Type: text/html
< Content-Length: 1314
< Expires: Tue, 05 Aug 2008 07:11:40 GMT
< X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
< Proxy-Authenticate: Basic realm="Web-Proxy"
< X-Cache: MISS from <proxy-server>
< X-Cache-Lookup: NONE from <proxy-server>:524
< Proxy-Connection: close
< 
{ [data not shown]

100  1314  100  1314    0     0  11515      0 --:--:-- --:--:-- --:--:-- 11515* Closing connection #0
Comment 1 Katarina Machalkova 2008-08-12 10:48:18 UTC
Please attach the following:

* YaST logs (ideally after an attempt to configure proxy, and please hit 'Test
Proxy Settings' button while doing so)
* content of /root/.curlrc file

Also please try running this command in a shell (substitute your own values, of
course):
'curl --verbose --proxy http://your.proxy.url:port --proxy-user
some_user:his_password --connect-timeout 90 --url http://www.novell.com'

and check if it works.
Comment 2 Katarina Machalkova 2008-09-01 11:00:31 UTC
Resolved as NORESPONSE for the lack of needed information. Please reopen this bug once you can provide them ...