Missing lines in kio_httprc break all HTTP support in KDE

Bug #208872 reported by Sebastien Raveau
4
Affects Status Importance Assigned to Milestone
kdelibs (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: kdelibs

First of all, I experienced this problem with Kubuntu 7 and 8
running KDE 3.5.9 for sure, and maybe under KDE 3.5.8

Somehow my ~/.kde/share/config/kio_httprc ended up having only
these 2 lines in the first paragraph (global options) :

SendUserAgent=true
UserAgentKeys=:

The result was that any KDE app relying on kio_http would not
work: Konqueror would say "Could not connect to ...", Kopete
would manage to connect to (at least) ICQ/AIM/GTalk but would
silently fail to connect to MSN (because the login process
requires a phase of HTTPS) and KWeather would say "the station
needs maintenance".

All in all, none of this would help a "normal user" find the problem;
it is only because I have deep knowledge of the MSN protocol and
of KDE that I suspected the underlying kio_http program.

Trying with another user, everything worked. So I compared with
this other user's .kde/share/config/kio_httprc and it showed 3 extra
lines about cache. Instead of manually messing with the config file,
I tried to see what was in Konqueror's Settings panel about Cache.
I unchecked "Use cache", it added the same 3 lines as for the other
user, and suddenly everything worked again.

The resulting first paragraph of the working kio_httprc is:

MaxCacheSize=5120
SendUserAgent=true
UseCache=false
UserAgentKeys=:
cache=Refresh

Revision history for this message
Xiong Chiamiov (xiong-chiamiov) wrote :

I spent quite a bit of time trying to track down why amarok suddenly stopped submitting to last.fm (or fetching covers from amazon or getting info from wikipedia). Eventually I ended up taking a working vanilla .kde folder and narrowing down which folder/file was causing the problem; it was kio_httprc. I moved it to my desktop and things work fine again. Now that I know about it, it makes sense, but I had no idea how the various kde parts worked together or any such thing. Here are the contents:

MaxCacheSize=5120
UseCache=true
cache=CacheOnly

[$Version]
update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

KDE3 is no longer maintained by the KDE, so no further bugfixes will be made for it.

Changed in kdelibs (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.