Bug 1186636

Summary: adding Flathub fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: carlo coppa <woddy68>
Component: OtherAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Andreas.Stieger
Version: Current   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description carlo coppa 2021-05-29 19:18:05 UTC
I did a standard installation of Tumbleweed 20210524, on reboot I added the flathub repository but Discover crashed and I couldn't restart it anymore. So I switched to the terminal, getting this error :
~> flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

(flatpak remote-add:3203): GLib-Net-WARNING **: 22:45:35.422: Failed to set GnuTLS session priority with error beginning at %COMPAT: The
request is invalid.
**
GLib-Net:ERROR:../tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priority: assertion failed: (priority)
Bail out! GLib-Net:ERROR:../tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priority: assertion failed: (pr
iority)
Annullato (core dump creato)

Also if I update it
~> flatpak update
Looking for updates…
Nothing to do.

(flatpak update:3833): GLib-Net-WARNING **: 22:47:28.497: Failed to set GnuTLS session priority with error beginning at %COMPAT: The req
uest is invalid.
**
GLib-Net:ERROR:../tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priority: assertion failed: (priority)
Bail out! GLib-Net:ERROR:../tls/gnutls/gtlsconnection-gnutls.c:107:g_tls_connection_gnutls_set_handshake_priority: assertion failed: (pr
iority)
Annullato (core dump creato)


Finally I managed to solve thanks to a user who on Reddit who had the same experience, installing gnutls solved the problem. (sudo zypper in gnutls)
Comment 1 Andreas Stieger 2021-05-30 07:33:28 UTC
duplicate, fix already on it's way.

*** This bug has been marked as a duplicate of bug 1186385 ***