Skip to content

AppImage doesn't start on linux due to NSS cert error #3211

Description

@isysd-mirror

Context

Complete and adjust the contents leaving the information that fits your case and deleting the information that doesn't.

Operating System: Linux (Xubuntu x64 20.04)

Software version: today's develop branch, Dec 20 nightly, Dec 22 nightly

Reproducible: the issue may? be reproduced.

Explain your issue

1. Explain what the problem seems to be.

I have tried running the AppImage on linux in various ways, and it never fully loads the app. The window opens, but the canvas either remains white or stuck on "The UI is loading..."

I have tried building the AppImage locally and running different nightly builds. In all cases, when the AppImage is run from command line, an error like this is thrown:

$ ~/Downloads/Superalgos-1.0.1-20211222.AppImage
Checking for update
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[800605:1222/093633.030066:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[800561:1222/093633.435757:ERROR:nss_util.cc(286)] After loading Root Certs, loaded==false: NSS error code: -8018
Update for version 1.0.1-20211222 is not available (latest version: 1.0.1-20211222, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null

After discussing with @NAmorim, it seems like there's an issue with a check for new releases on github.com. This fits with the error message, which seems to relate to x509 certificate databases (NSS). Presumably the electron client needs to be provided with an NSS database which includes the root key which signed the x509 cert for github.com.

2. Clearly explain what you wish to accomplish.

Start the electron app on linux. Specifically, I wish to use the User Profile builder.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstaleStale Issue

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions