Problem with "Discover" app - can't go through "Downloading updates" and have to kill the process before

Hello,

I have installed Fedora two times already (like 5-6 and 2-3 months ago - I was testing a few distributions) and I always had problem with Discover app.
From the very beginning after installation, after I close Discover app, I can’t open it again. It’s like I can open it only one time.
So, I asked AI back then what should I do and it kind of give me a partial solution which is just changing the menu item to do pkill -9 'plasma-discover'; plasma-discover %u.
But recently, I noticed that I cannot updates programs. I go to “Updates”, it changes the number of updates on the left panel, but it stays at the “Downloading updates…” state. Refreshing does not help. As you can see, the “Update all” button is unavailable, so I have to do updates manually which is unfortunate because I don’t really know Linux commands.

Running command “plasma-discover %u”, and trying the “Updates” says this:
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x55fe6f7e0660)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:124:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
QIODevice::read (QSslSocket): device not open
qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:40:5: QML OverlaySheet: Binding loop detected for property "y":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:121:5
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
org.kde.plasma.libdiscover.backend.flatpak: No "/var/lib/flatpak/appstream/fedora-testing/x86_64" appstream metadata found for "fedora-testing"
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade")
QIODevice::read (QSslSocket): device not open

Thanks in advance for any help! :smiling_face: I feel Linux runs faster than Windows on my computer, but I still run into some weird problems.

hi, welcome.

some servers are faster than others and it could be the local server to your location is not one of the fast ones.

you can usually change where you get your software from from in settings which varies by disto

try running the GUI gnome-software with root privileges from a command line

on my 'buntu flavored distro i can run sudo software-properties-qt and get GUI where i can change the software server or even have it find the best one for me.

Unless you use Snap packages (which generally you don’t on Fedora unless you’ve deliberately chosen to), then try this:

sudo dnf remove plasma-discover-snap

This package seems to appear on many Fedora systems even if they don’t use Snap, and seems to have been responsible for some Discover hangs since Plasma 6.7.

Thank you for your answer, it helped with the Updates tab problem!

I still have two questions though.
Do you think I should make a bug report about that?
And, do you possibly know why I have to kill the Discover process every time? Is it reparable?
$ plasma-discover
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x55dcaaa6e5a0)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:124:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
[Here I enter plasma-discover on another tab]
QIODevice::read (QSslSocket): device not open

Thank you again :slightly_smiling_face:

I think no need - it’s already tracked in bug 500513.

I’m not sure, but it could be bug 521682 (which is also still open).

The person in comment 37 there seems to have similar logs to yours.

Thank you so much for checking! Good to know it’s already being worked on. Have a great day! :grinning_face_with_smiling_eyes: