Cleaning up remaining uses of download.kde.org/ocs/providers.xml

Ben Cooksley bcooksley at kde.org
Fri Nov 13 17:32:10 GMT 2020


On Fri, Nov 13, 2020 at 10:49 PM Dan Jensen <admin at leinir.dk> wrote:

> First part i can sort for some of it at least (the discover and knewstuff
> bits are just some test data, and they can be swapped outright, the other
> two will want someone closer to take a look - i also believe Alexander is
> looking at the discover stuff already elsewhere?) - i'm currently without
> my laptop, which means i sort of... just have the web ide to work with...
> which is... fine for some things and perhaps not so much others.
>

Thanks for getting the process of sorting these out underway.


>
> For the multiple-requests-in-rapid-succession thing, if this is happening
> on recent frameworks (as in, since last year around this time), then
> there's definitely something odd going on. The way to detect this would be
> to do a quick run through the headers of those requests and see what the
> user agent is (which should include the frameworks version as well - that
> code was first released with 5.66, and exists precisely to debug this kind
> of problem).
>

Sadly it seems that the user agent is getting overridden somewhere, as all
recent versions (since sometime in KDE 4.x onward) only send "Mozilla/5.0"
as the user agent when requesting the file - so we've no way of knowing
what versions are in use - or even which application is making the request.

Thanks,
Ben


>
> On Fri, 13 Nov 2020 at 07:48, Ben Cooksley <bcooksley at kde.org> wrote:
>
>> Hi all,
>>
>> Sometime ago we moved the endpoint of the OCS Providers file (which
>> supports KHotNewStuff) that we host from download.kde.org to
>> autoconfig.kde.org.
>> A while back we did a push to migrate the majority of the users of this
>> file to the new endpoint, however unfortunately it seems we missed a couple
>> of users in this.
>>
>> They appear to be:
>> frameworks/knewstuff/tests/khotnewstuff.knsrc
>> frameworks/knewstuff/tests/khotnewstuff_upload.knsrc
>> kde/applications/dolphin/src/settings/services/servicemenu.knsrc
>>
>> kde/workspace/discover/libdiscover/backends/KNSBackend/tests/testplasmoids.knsrc
>> playground/artwork/smaragd/src/smaragd.knsrc
>>
>> It would be appreciated if we could please get these final users updated.
>>
>> I should note that it would appear that one or more of these users may
>> have bug(s) in their implementations, as we often get bursts where the same
>> client will download the file 5-6 times in extremely short succession
>> (sometimes in the same second) - with the file
>> distribute.kde.org/khotnewstuff/fonts-providers.xml being requested
>> simultaneously at the same time as well usually too.
>>
>> It would be fantastic if we could get that looked into as well please.
>>
>> Many thanks,
>> Ben
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20201114/ccd64daa/attachment.htm>


More information about the kde-core-devel mailing list