Skip to content

Discord 0.0.9 fails to launch #73

Closed

Description

@buenchico

Hi,

discord fails to launch. Running it on console produce:

$ flatpak run com.discordapp.Discord                          
Gtk-Message: 18:47:59.958: Failed to load module "canberra-gtk-module"
Discord 0.0.9
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/buenchico/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules
[Modules] Module installed file path: /home/buenchico/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules/installed.json
[Modules] Module download path: /home/buenchico/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 1000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 1994.1441612867388 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 3471.232217695405 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 9709.191002417268 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 12624.199343672812 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 19146.52462664575 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
(node:4) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 resume listeners added. Use emitter.setMaxListeners() to increase limit
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1563990480860
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms

Discord loading screen appears and an empty window is rendered without actually launching the app.

Activity

  1. refi64 commented on Oct 7, 2019

    @refi64
    Contributor

    Out of curiosity, what is your host distro?

  2. buenchico commented on Oct 9, 2019

    @buenchico
    Author

    Mageia 7

  3. refi64 commented on Oct 9, 2019

    @refi64
    Contributor

    Interesting, the only other report I've seen for this bug was also on Mageia.

  4. ruslansin commented on Jan 24, 2020

    @ruslansin

    I have the same problem for Arch Linux. It happened about 2 days ago. I tried to delete .var/<discord_app_dir> and reinstall the app, but it didn't help.

    Something like flatpak run com.discordapp.Discord --ignore-certificate-errors suppresses the problem, but it would be great to find the root of the problem.

     ✘  ~  flatpak run com.discordapp.Discord
    Gtk-Message: 13:20:21.932: Failed to load module "canberra-gtk-module"
    Gtk-Message: 13:20:21.932: Failed to load module "canberra-gtk-module"
    Discord 0.0.9
    Starting app.
    Starting updater.
    [Modules] Modules initializing
    [Modules] Distribution: remote
    [Modules] Host updates: enabled
    [Modules] Module updates: enabled
    [Modules] Module install path: /home/dev/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules
    [Modules] Module installed file path: /home/dev/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules/installed.json
    [Modules] Module download path: /home/dev/.var/app/com.discordapp.Discord/config/discord/0.0.9/modules/pending
    [Modules] No updates to install
    [Modules] Checking for host updates.
    [Modules] Host is up to date.
    [Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
    [Modules] No module updates available.
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 1000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 2935.286315751863 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 3211.4214338108013 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 8524.383046434083 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 12396.065469640667 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    [WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
    [WebContents] retrying load https://discordapp.com/app?_=1579861223108
    (node:4) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 resume listeners added. Use emitter.setMaxListeners() to increase limit
    
    
    
  5. lae commented on Jan 24, 2020

    @lae

    Yeah, can confirm this started happening for me on Arch Linux after restarting my client today as well (and tried the same thing troubleshooting steps Ruslan did before I landed on this issue). This doesn't happen with Discord outside of flatpak.

    edit:
    Further research led me to this reddit post. Downgrading p11-kit (and reverse dependencies) seems to have resolved this for me:

    ~]$ sudo pacman -U /var/cache/pacman/pkg/p11-kit-0.23.18.1-2-x86_64.pkg.tar.xz  /var/cache/pacman/pkg/ca-certificates-utils-20181109-2-any.pkg.tar.xz /var/cache/pacman/pkg/ca-certificates-mozilla-3.49.1-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/nss-3.49.1-1-x86_64.pkg.tar.zst
    警告: パッケージ p11-kit のダウングレード (0.23.19-1 => 0.23.18.1-2)
    警告: パッケージ ca-certificates-utils のダウングレード (20181109-3 => 20181109-2)
    警告: パッケージ ca-certificates-mozilla のダウングレード (3.49.1-2 => 3.49.1-1)
    警告: パッケージ nss のダウングレード (3.49.1-2 => 3.49.1-1)
    

    Is this a flatpak bug? This also seems related: https://bugzilla.redhat.com/show_bug.cgi?id=1766340

  6. Vash63 commented on Jan 25, 2020

    @Vash63

    Same problem on Arch here as of 2 days ago

  7. jameswestman commented on Jan 25, 2020

    @jameswestman

    I'm experiencing this on Fedora 32.

  8. realnc commented on Jan 26, 2020

    @realnc

    I've been using discord from flatpak for quite a while now. It was working fine. Today, I'm getting the same error.

    I'm on Gentoo Linux. The Gentoo packages that got updated between Discord working and not working are:

    sys-apps/shadow-4.8.1 (from 4.8)
    app-crypt/p11-kit-0.23.19 (from 0.23.18.1)
    dev-libs/nss-3.49.2 (from 3.49.1)
    mail-client/thunderbird-bin-68.4.2 (from 68.4.1)

  9. realnc commented on Jan 26, 2020

    @realnc

    OK, I downgraded p11-kit back to 0.23.18.1 and Discord works again.

  10. turtle-bazon commented on Jan 27, 2020

    @turtle-bazon

    Also affects Slack and, I think, other applications with access to services.

  11. dac73 commented on Jan 27, 2020

    @dac73

    Same problem on Manjaro as of today (probably yesterday's update).
    Downgrade fixes the issue.

  12. hphilm commented on Jan 28, 2020

    @hphilm

    So something is off with p11-kit 0.23.19-1. Did anyone do a git-bisect yet?

  13. nightuser commented on Jan 28, 2020

    @nightuser

    @philmmanjaro

    API change: p11-glue/p11-kit@1def807

    Upstream flatpak issue: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/2247

    UPD: It seems that the fix is in the works (the latest update on the issue was less than 30 mins ago). And hopefully, the fix is trivial (just updating p11-kit in the platform).

  14. Vash63 commented on Jan 28, 2020

    @Vash63

    @philmmanjaro

    API change: p11-glue/p11-kit@1def807

    Upstream flatpak issue: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/2247

    UPD: It seems that the fix is in the works (the latest update on the issue was less than 30 mins ago). And hopefully, the fix is trivial (just updating p11-kit in the platform).

    If the fix is just to update p11-kit in the platform I worry that this means this will happen every time that package is updated on my system... isn't flatpak supposed to prevent compatibility issues, not make them worse?

  15. TingPing commented on Jan 28, 2020

    @TingPing
    Member

    Flatpak sadly does not maintain p11-kit. I have no idea why they broke but that discussion probably belongs wit them.

  16. ebbit1q commented on Feb 6, 2020

    @ebbit1q

    This issue has been solved for me, flatpak 1.6.1 is now in arch repositories.

  17. TingPing commented on Feb 6, 2020

    @TingPing
    Member

    It was fixed by a p11-kit update not by flatpak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions