Version: (using KDE 4.4.2) OS: Linux Installed from: Ubuntu Packages Any proxy settings are totally disregarded. I have tried Kterm, amarok, konqueror, firefox. None uses the prescribed proxy Here is how to reproduce it for KDE 4.4.2, Kubuntu 10.04: Set a (working) proxy in Network Settings->Proxy->Manually specify->Apply Reboot The proxy settings are there: $ cat .kde/share/config/kioslaverc PersistentProxyConnection=false [$Version] update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3 [Proxy Settings] AuthMode=0 NoProxyFor= Proxy Config Script= ProxyType=1 ReversedException=false ftpProxy=//:8080 httpProxy=http://172.16.1.5:80 httpsProxy=//:8080 $ date && wget www.yahoo.com && date Fri May 7 13:22:29 MYT 2010 --2010-05-07 13:22:29-- http://www.yahoo.com/ Resolving www.yahoo.com... 72.30.2.43, 98.137.149.56 Connecting to www.yahoo.com|72.30.2.43|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html' [ <=> ] 5,964 213B/s ^C $ date Fri May 7 13:23:16 MYT 2010 (I stopped after 45 seconds, and 5964 Bytes.) $ export http_proxy=http://172.16.1.5:80 $ date && wget www.yahoo.com && date Fri May 7 13:24:00 MYT 2010 --2010-05-07 13:24:00-- http://www.yahoo.com/ Connecting to 172.16.1.5:80... connected. Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html.1' [ <=> ] 123,230 20.2K/s in 5.9s 2010-05-07 13:24:07 (20.2 KB/s) - `index.html.1' saved [123230] Fri May 7 13:24:07 MYT 2010 $ So the proxy does work, after all. Since I rebooted, and ProxyType=1 after the reboot, plus the correct proxy set, it becomes obvious that KDE doesn't read it at all. As simple as that. I can browse by setting the browser, but applications like amarok (no proxy settings) or apt-get cannot be run properly. Uwe
see also bug 186872
SVN commit 1131073 by shaforo: make kopete respect global KIO proxy settings when connecting to ICQ. It uses 'https proxy' field of Systemsettings -> Network -> Proxy dialog. CCBUG: 186872 CCBUG: 236721 M +24 -1 oscaraccount.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1131073
SVN commit 1138562 by shaforo: add UI for proxy parameters configuration to ICQ account preferences dialog. it will be more obvious to users as to where to configure proxy settings for ICQ. and it is done the way WLM protocol plugin does. future plans include: -proxy requiring authentication -SOCKS5 -system-wide proxy/account-wide proxy selection CCBUG: 119806 CCBUG: 186872 CCBUG: 236721 M +229 -211 icq/ui/icqeditaccountui.ui M +17 -2 icq/ui/icqeditaccountwidget.cpp M +29 -5 oscaraccount.cpp M +8 -0 oscaraccount.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1138562
If you want to set up system proxy, i.e. environment variables in Linux/Unix, then you MUST make sure that you at least restart KDE otherwise, the environment variables will not be available to KDE. You can always check this from konsole... Also what is saved in your proxy configuration file is troubling! There should never be any entry like "ftpProxy=//:8080"! If no URL is specified for ftpProxy, then it should be blank. Dunno how you could have possibly got those entries!
(In reply to comment #0) > Version: (using KDE 4.4.2) > OS: Linux > Installed from: Ubuntu Packages > > Any proxy settings are totally disregarded. I have tried Kterm, amarok, > konqueror, firefox. None uses the prescribed proxy > Here is how to reproduce it for KDE 4.4.2, Kubuntu 10.04: > > Set a (working) proxy in Network Settings->Proxy->Manually specify->Apply > Reboot > The proxy settings are there: > $ cat .kde/share/config/kioslaverc > PersistentProxyConnection=false > > [$Version] > update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3 > > [Proxy Settings] > AuthMode=0 > NoProxyFor= > Proxy Config Script= > ProxyType=1 > ReversedException=false > ftpProxy=//:8080 > httpProxy=http://172.16.1.5:80 > httpsProxy=//:8080 > > $ date && wget www.yahoo.com && date > Fri May 7 13:22:29 MYT 2010 > --2010-05-07 13:22:29-- http://www.yahoo.com/ > Resolving www.yahoo.com... 72.30.2.43, 98.137.149.56 > Connecting to www.yahoo.com|72.30.2.43|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: `index.html' > > [ <=> ] 5,964 213B/s > ^C > $ date > Fri May 7 13:23:16 MYT 2010 > > (I stopped after 45 seconds, and 5964 Bytes.) > > $ export http_proxy=http://172.16.1.5:80 > $ date && wget www.yahoo.com && date > Fri May 7 13:24:00 MYT 2010 > --2010-05-07 13:24:00-- http://www.yahoo.com/ > Connecting to 172.16.1.5:80... connected. > Proxy request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: `index.html.1' > > [ <=> ] 123,230 20.2K/s in 5.9s > > 2010-05-07 13:24:07 (20.2 KB/s) - `index.html.1' saved [123230] > > Fri May 7 13:24:07 MYT 2010 > $ > > So the proxy does work, after all. > Since I rebooted, and ProxyType=1 after the reboot, plus the correct proxy set, > it becomes obvious that KDE doesn't read it at all. As simple as that. No it is not because what you did above it completely wrong. > I can browse by setting the browser, but applications like amarok (no proxy settings) > or apt-get cannot be run properly. A lot of things that should not are being conflated together here. First, manually configuring proxy in KDE only applies to applications that use KDE's KIO for accessing the network. The last I checked apt-get is not a KDE application. Secondly, as far as Amarok not working through proxy, you might want to checkout bug# 246828. If you want both KDE and non-KDE applications to share proxy information, then you need to configure system wide proxy environment variables and configure KDE's proxy to "Use preset proxy environment variables", which it will gladly do so.
Git commit c3ebe03d3fb61659e59ce58d1f452cd2d5cac16a by Pali Rohár. Committed on 20/05/2014 at 00:00. Pushed by pali into branch 'master'. Add support for system proxy settings via KProtocolManager in ICQ protocol Related: bug 186872 M +1 -1 protocols/oscar/icq/ui/icqeditaccountui.ui M +12 -17 protocols/oscar/oscaraccount.cpp http://commits.kde.org/kopete/c3ebe03d3fb61659e59ce58d1f452cd2d5cac16a