Bug 213141

Summary: using disabled proxy settings
Product: [Unmaintained] kpackagekit Reporter: newsscott
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED FIXED    
Severity: normal CC: andrew.maslennikov, dantti12, dima, slug.bugreport
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description newsscott 2009-11-04 21:10:11 UTC
Version:           0.4.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Once i did some experiments with a local proxy installed on my system. So i entered the according values in the network module in the system settings. I selected the Option "Manually specify the proxy settings". After finishing my tests, i switched back to option "Connect to the internet directly" without removing the values (e.g http://127.0.0.1 : 3128).

Now kpackagekit fails with error

> The package download failed.
> Please check your network connectivity.

And in the details:

> Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/p/python2.6/libpython2.6_2.6.4-0ubuntu1_i386.deb Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect (111: Connection refused)

kpackagekit clearly uses the outdated proxy values even though the option "Connect to the internet directly" is selected.

Workaround: remove the values also.
Comment 1 newsscott 2009-11-04 21:12:26 UTC
Some of the error details got lost by my first commit: 

> Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/p/python2.6/libpython2.6_2.6.4-0ubuntu1_i386.deb
>Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect (111: Connection refused)
Comment 2 Daniel Nicoletti 2009-11-05 12:48:25 UTC
It's already fixed in 0.5.x versions.
Thanks.
Comment 3 Nuno Sucena Almeida 2009-11-08 23:43:31 UTC
It seems that the Software Updates - System Settings application does not honor
the ${HOME}/.kde/share/config/kioslaverc:ProxyType=0 , since It keeps using the
proxy that I manually set, but disabled by selecting "Connect directly to the
internet". Konqueror works fine though. I'm using kde 4.3.3 ( Kubuntu 9.10)
installed from deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu karmic
main
Comment 4 Daniel Nicoletti 2009-11-09 12:53:17 UTC
Yes that was the problem when you disable them, they don't get erased,
they just change one status key that I wasn't checking,
but as I said it's fixed in 0.5.x
Comment 5 Nuno Sucena Almeida 2009-11-09 15:52:08 UTC
I saw your https://bugs.kde.org/show_bug.cgi?id=213141#c2 comment before posting mine, but where do I check the version? From the Help menu it tells me that I have version 1.0 so I assumed there was a regression.
Comment 6 Daniel Nicoletti 2009-11-24 14:37:38 UTC
*** Bug 215182 has been marked as a duplicate of this bug. ***