Bug 496550 - KNS content can get stuck updating with "Server stopped accepting new streams before this stream was established" error but shows nothing in the UI
Summary: KNS content can get stuck updating with "Server stopped accepting new streams...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (other bugs)
Version First Reported In: master
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-21 18:47 UTC by Nate Graham
Modified: 2025-05-06 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
KNS update log (124.94 KB, text/x-log)
2024-11-21 18:47 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-11-21 18:47:09 UTC
Created attachment 176015 [details]
KNS update log

STEPS TO REPRODUCE
1. Have KNS content available for update
2. Update it
3. Update process gets stuck at 34% with no errors, warnings, or notices shown in the UI.

Debug logging shows the issue, though: a whole bunch of this:

kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/2040022/1")
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/1256209/1")
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/2139746/5")
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/1367056/1")
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/2137844/1")
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/download/1367056/1")
kf.attica: error found QNetworkReply::ContentReSendError
kf.newstuff.core: job error:  1  status code:  0 ""
KNS error in "Wallpaper Plugins" : KNSCore::ErrorCode::NetworkError "Network error 0: Server stopped accepting new streams before this stream was established" QVariant(int, 0)
invalid kns backend! "/home/nate/kde/usr/share/knsrcfiles/wallpaperplugin.knsrc" because: "Network error in backend Wallpaper Plugins: 0"
kns error "/home/nate/kde/usr/share/knsrcfiles/wallpaperplugin.knsrc" "Network error in backend Wallpaper Plugins: 0"
kf.attica: error found QNetworkReply::ContentReSendError
kf.attica: error found QNetworkReply::ContentReSendError
kf.newstuff.core: job error:  1  status code:  0 ""

error 1 but status code 0? And no messages shown to the user? Seems non-ideal. It should at least have the decency to fail and show an error message in the UI.

Full log attached.
Comment 1 Harald Sitter 2025-04-06 17:53:30 UTC
Might be fixed already. Can you still reproduce this?
Comment 2 Bug Janitor Service 2025-04-21 03:47:16 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-05-06 03:47:24 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.