Bug 469011 - Plasma-discover error during firmware update
Summary: Plasma-discover error during firmware update
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: fwupd Backend (show other bugs)
Version: 5.27.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 16:01 UTC by rafalkozlowski07
Modified: 2023-04-27 16:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rafalkozlowski07 2023-04-26 16:01:40 UTC
Basing on problem discussed on reddit https://www.reddit.com/r/kde/comments/12z7c4d/comment/jhr5hqa/
discover tells me there is firmware update for my laptop. Every attempt ends with nothing. Everything blinks and that's all. I checked logs and there is

Fwupd Error: Could not download QUrl("https://fwupd.org/downloads/f0941937f233a30cf779523fee4ba407eebd58d7920603b25d2ee92aaf3241a5-Latitude_5420_TGL_1.27.0.cab") "Error transferring https://fwupd.org/downloads/f0941937f233a30cf779523fee4ba407eebd58d7920603b25d2ee92aaf3241a5-Latitude_5420_TGL_1.27.0.cab - server replied: TOO MANY REQUESTS"

I can download this file outside plasma-discover, so it seems to be problem with plasma-discover itself or fwupd.

I have 1.11.2 and there is 1.27.0 so it looks it is not working for a while
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Dell Latitude 5420
openSUSE Tumbleweed
Comment 1 Nate Graham 2023-04-26 18:19:08 UTC
> server replied: TOO MANY REQUESTS
It sounds like the server was overloaded at the moment you told Discover to download the firmware update. If you try again, does it work now?
Comment 2 rafalkozlowski07 2023-04-26 18:55:55 UTC
(In reply to Nate Graham from comment #1)
> > server replied: TOO MANY REQUESTS
> It sounds like the server was overloaded at the moment you told Discover to
> download the firmware update. If you try again, does it work now?

First time tried few weeks ago. I don't know if then was the same error message but i guess it was. As i asked others on reddit i am not only one. Some people manually updated with fwupd.
Tried now again. Not overwhelming hours for servers in my timezone but the same result.
Comment 3 Nate Graham 2023-04-26 20:08:27 UTC
Hmm Ok, maybe it is an issue on Discover's side then. I wonder if this is the issue that was fixed with https://invent.kde.org/plasma/discover/-/commit/39ac7a6b82b3dc20f3c44ef11246d72545897f2d.
Comment 4 Nate Graham 2023-04-26 20:28:31 UTC
Talked to the author of that commit and he confirms that it is. So this should be fixed in Plasma 5.27.5.

Ultimately this is actually a bug in the LVFS which made the questionable decision to block all requests fro Mozilla user agents, which Discover happens to use because it uses QtNetwork which has that user agent by default.
Comment 5 rafalkozlowski07 2023-04-27 16:15:25 UTC
(In reply to Nate Graham from comment #4)
> Talked to the author of that commit and he confirms that it is. So this
> should be fixed in Plasma 5.27.5.
> 
> Ultimately this is actually a bug in the LVFS which made the questionable
> decision to block all requests fro Mozilla user agents, which Discover
> happens to use because it uses QtNetwork which has that user agent by
> default.

Great. Thanks for you attention!