Bug 857029

Summary: yastproxy,unable to make a correct proxy settings
Product: [openSUSE] openSUSE 13.1 Reporter: Episteme PROMENEUR <epistemepromeneur>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: forgotten_VvfEJ5JwPh
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: proxy.png

Description Episteme PROMENEUR 2013-12-31 13:44:01 UTC
Created attachment 573071 [details]
proxy.png

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0

i use the yast proxy manager to activate the use of a proxy

i check "activate proxy"
then
i fill the fields "url proxy http" and "url proxy https" with "http://localhost:8118"

see the proxy.png 

then
i test
then i have this error message

* Rebuilt URL to: http://www.novell.com/
* Adding handle: conn: 0x1ea5af0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x1ea5af0) send_pipe: 1, recv_pipe: 0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to proxy localhost port 8118 (#0)
*   Trying 127.0.0.1...
* Connexion refusée
*   Trying ::1...

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
...
  0     0    0     0    0     0      0      0 --:--:--  0:00:43 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:44 --:--:--     0* After 44998ms connect time, move on!
* Failed connect to www.novell.com:8118; Opération maintenant en cours
* Closing connection 0
curl: (7) Failed connect to www.novell.com:8118; Opération maintenant en cours

it seems that system tries to connect to www.novell.com:8118 then obviously it fails

this is confirmed by this experiment :
i terminate the settings instead of cancel them
then
i try to use zypper or yast software manager
the 2 tries to access to <url of a packet source>:8118
then
this fail . we can't manage software



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Episteme PROMENEUR 2014-01-19 09:11:48 UTC
i am not sure but i assume this bug is a consequence of bug #859359
Comment 2 Episteme PROMENEUR 2014-01-20 15:16:40 UTC
(In reply to comment #1)
> i am not sure but i assume this bug is a consequence of bug #859359

no

now privoxy installation is fixed and privoxy works well .

we have still an error but a  bit different
****************************************************************************
* Rebuilt URL to: http://www.novell.com/
* Adding handle: conn: 0x251aaf0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x251aaf0) send_pipe: 1, recv_pipe: 0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to proxy localhost port 8118 (#0)
*   Trying ::1...
* Connexion refusée
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8118 (#0)
> GET http://www.novell.com/ HTTP/1.1
> User-Agent: curl/7.32.0
> Host: www.novell.com
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 20 Jan 2014 15:09:18 GMT
* Server Apache is not blacklisted
< Server: Apache
< Location: http://www.novell.com/home/
< Content-Length: 319
< Age: 66
< X-Mag: 7CFDEB6C02633A18;911bf594;67625209;usrLkup->0;usrBase->0;getPRBefFind->0;getPRBefFind->0;PRAfterFind->0;www_root;publicURL->0;FP4->0;
< Via: 1.1 www.novell.com (Access Gateway-ag-7CFDEB6C02633A18-67625209)
< Keep-Alive: timeout=300, max=81
< Connection: Keep-Alive
< Content-Type: text/html; charset=iso-8859-1
< Set-Cookie: lb_novell=NNODEBIJ; Domain=.novell.com; Path=/
< Proxy-Connection: keep-alive
< 

  0   319    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{ [data not shown]

100   319  100   319    0     0    776      0 --:--:-- --:--:-- --:--:--   776
* Connection #0 to host localhost left intact

****************************************************************************
Comment 3 Episteme PROMENEUR 2014-01-20 18:32:50 UTC
i think it is mainly a privoxy error then i open this bug report
bug #859520
Comment 4 Forgotten User VvfEJ5JwPh 2014-04-02 11:54:11 UTC
Confirmed. OpenSUSE 13.1 x64

The only way to pass over this bug is (in "Proxy configuration" window):
- Left in blank "user" and "password"
- Put in URL:  http://user_id:user_password@proxy_ip:proxy_port

And do not try to "Test proxy settings", cause it will fail. Only "Accept" and try to launch "Install/Uninstall" ... it will work.

; )
Comment 5 Forgotten User VvfEJ5JwPh 2014-04-08 08:26:23 UTC
Is not a privoxy related error, and should be solved cause this workaround is a security risk (but the only way to make it work for some of us) by putting in clear text user password on a form.

I don't know what more info you need to solve this bug.

Thank you
Comment 6 Episteme PROMENEUR 2015-11-28 09:12:10 UTC
no more problem