Bug 228597 - Get hot new stuff not working behind a proxy
Summary: Get hot new stuff not working behind a proxy
Status: REPORTED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knewstuff (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 10:48 UTC by Marcos David
Modified: 2019-10-22 19:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos David 2010-02-26 10:48:08 UTC
Version:            (using KDE 4.4.0)
Installed from:    openSUSE RPMs

None of the get hot new stuff dialogs are working.
They worked fine on KDE 4.3.3

Konqueror can access the web, and other applications also have access.
Comment 1 Frederik Gladhorn 2010-03-08 14:51:17 UTC
which libattica version do you have installed?
Comment 2 Marcos David 2010-03-08 15:40:42 UTC
hi,
I'm using version 0.1.2 release 2.1
Comment 3 Frederik Gladhorn 2010-03-26 11:21:56 UTC
Could you please attach the debug output of running "khotnewstuff4 wallpaper.knsrc" in a shell?
Thanks!
Comment 4 Marcos David 2010-04-15 18:26:20 UTC
Sorry it took so long:

Here is the output:

mdavid@tt-mdavid:~/.kde4/share/config> khotnewstuff4 wallpaper.knsrc
khotnewstuff(9638)/knewstuff (api) KNS3::Cache::readKns2MetaFiles: Could not load entry:  "/home/mdavid/.kde4/share/apps/knewstuff2-entries.registry//d2FsbHBhcGVyOjpBIFJhaW55IERheSBpbiBJc3RhbmJ1bA==.meta" 
khotnewstuff(9638)/knewstuff (api) KNS3::Cache::readKns2MetaFiles: Could not load entry:  "/home/mdavid/.kde4/share/apps/knewstuff2-entries.registry//d2FsbHBhcGVyOjpGaWVsZHM=.meta" 
khotnewstuff(9638)/knewstuff (api) KNS3::Cache::readKns2MetaFiles: Could not load entry:  "/home/mdavid/.kde4/share/apps/knewstuff2-entries.registry//d2FsbHBhcGVyOjpMJ0Fyw6huZQ==.meta" 
Object::connect: No such slot KNS3::DownloadDialogPrivate::slotProgress(QString, int)
khotnewstuff(9638)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-mdavid/ksycoca4"
Pfade:  ("/home/mdavid/.kde4/lib/", "/usr/lib/") 
trying to load  "/home/mdavid/.kde4/lib//attica_kde.so" 
trying to load  "/usr/lib//attica_kde.so" 
Using Attica with KDE support 
Adding provider "https://api.opendesktop.org/v1/"


I've upgraded to KDE 4.4.2 release 241.
libattica is now 0.1.2 release 3.1.

Behaviour is still the same (not working)
Comment 5 Marcos David 2010-07-27 10:20:41 UTC
Hi, this bug is still present in openSUSE 11.3 (KDE 4.4.4 release 2)
libattica package:
 libattica0-0.1.3-1.8.i586
Comment 6 Marcos David 2010-08-11 13:15:54 UTC
Just updated to KDE 4.5. Bug is still present. Output from khotnewstuff4:

> khotnewstuff4 wallpaper.knsrc 
Object::connect: No such signal KPushButton::triggered(QAction*)
Object::connect:  (sender name:   'installButton')
Pfade:  ("/home/mdavid/.kde4/lib/", "/usr/lib/") 
Trying to load  "/home/mdavid/.kde4/lib//attica_kde.so" 
Trying to load  "/usr/lib//attica_kde.so" 
Using Attica with KDE support 
Adding provider "https://api.opendesktop.org/v1/" 
khotnewstuff(6679) Attica::KdePlatformDependent::hasCredentials: Found credentials in KWallet
khotnewstuff(6679) Attica::KdePlatformDependent::loadCredentials: Successfully loaded credentials.
Comment 7 Marcos David 2010-08-11 13:18:54 UTC
Just updated to KDE 4.5. 
liattica version is now: libattica0-0.1.4-16.2.i586
Bug is still present. 
Output from khotnewstuff4:

> khotnewstuff4 wallpaper.knsrc 
Object::connect: No such signal KPushButton::triggered(QAction*)
Object::connect:  (sender name:   'installButton')
Pfade:  ("/home/mdavid/.kde4/lib/", "/usr/lib/") 
Trying to load  "/home/mdavid/.kde4/lib//attica_kde.so" 
Trying to load  "/usr/lib//attica_kde.so" 
Using Attica with KDE support 
Adding provider "https://api.opendesktop.org/v1/" 
khotnewstuff(6679) Attica::KdePlatformDependent::hasCredentials: Found credentials in KWallet
khotnewstuff(6679) Attica::KdePlatformDependent::loadCredentials: Successfully loaded credentials.
Comment 8 Ioannis Theodoridis 2013-01-24 15:26:45 UTC
you ll never guess what corrects the problem. Maybe there is a better solution somewhere.
My systems are based mostly on OpenSUSE 12.2. You have to define the proxy in at least two separate places: Yast and Desktop Configuration.
However it 's not enough for the internet access to "get hot new stuff". You have to update the proxy setting for that too somehow. The way I got it to work is this: Open a konqueror window, go to settings-> proxy. Go to manual settings and configure one there (one that works).
If there is already one configured, change to something else, then apply then go back there again and change it again on something that works. Voila! Now you can download stuff after the initial certificate exchange has completed. 
I can't say I feel much smarter about how I resolved this but maybe someone will pick this up and find exactly where it should be updated because I couldn't find it in any file..
Comment 9 Renan Inácio 2017-08-25 17:13:54 UTC
Qt: 4.8.7
KDE: 4.14.30
KHotNewStuff: 0.4
libattica 5.35.0 (on Ubuntu: libkf5attica5-5.35.0-0ubuntu1~ubuntu17.04~ppa1)

Proxy settings are still not respected, it tries to connect to "download.kde.org" directly (checked with wireshark).

Workaround in comment 8 doesn't work, Konqueror 16.12.3 does not have a "Proxy settings". I assume systemsettings' Proxy settings is the one that should be used.