Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The AppImage will not run if libssl1.1 is not installed #25

Closed
cip123 opened this issue Jan 26, 2023 · 14 comments
Closed

The AppImage will not run if libssl1.1 is not installed #25

cip123 opened this issue Jan 26, 2023 · 14 comments

Comments

@cip123
Copy link

cip123 commented Jan 26, 2023

I downloaded a release Linux.package.64-bit.Qt.6.2 (I am on PopOs 22_04) and ran it, but I can't get pass by configuration.

I chose Clockify, and I entered my API key, and then it prompted me for the workspace.

No matter what value I enter, I can't get past that screen.

I noticed the following warning in the console.

[2023-01-26 22:31:12.505] [qt] [warning] qt.tlsbackend.ossl: Incompatible version of OpenSSL (built with OpenSSL 1.x, runtime version is >= 3.x)
[2023-01-26 22:31:12.505] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:31:12.505] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
@LorenDB
Copy link
Contributor

LorenDB commented Jan 26, 2023

Can you upload ~/.local/share/Christian Light/TimeLight/TimeLight.log? That should have more detailed log output. You could also try installing libssl3 if it is not already installed.

@cip123
Copy link
Author

cip123 commented Jan 26, 2023

[2023-01-26 22:09:28.445] [timelight] [trace] Starting TimeLight 2.4.1...
[2023-01-26 22:09:28.485] [timelight] [trace] Loaded API key from secret storage
[2023-01-26 22:09:28.487] [timelight] [trace] Loaded Graph access token from secret storage
[2023-01-26 22:09:28.488] [timelight] [trace] Loaded Graph refresh token from secret storage
[2023-01-26 22:09:28.492] [timelight] [trace] Initializing API key
[2023-01-26 22:10:09.539] [qt] [warning] qt.tlsbackend.ossl: Incompatible version of OpenSSL (built with OpenSSL 1.x, runtime version is >= 3.x)
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.539] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslKey
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: Active TLS backend does not support key creation
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: The backend "cert-only" does not support QSslSocket
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: The backend named "cert-only" does not support TLS
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
[2023-01-26 22:10:09.746] [network] [trace] Network request: GET https://api.clockify.me/api/v1/workspaces
[2023-01-26 22:10:09.746] [qt] [warning] qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
[2023-01-26 22:10:09.746] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:18.775] [timelight] [trace] Saved API key to secret storage
[2023-01-26 22:10:18.791] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:18.797] [timelight] [trace] Saved Graph access token to secret storage
[2023-01-26 22:10:18.809] [timelight] [trace] Saved Graph refresh token to secret storage
[2023-01-26 22:10:27.972] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:28.468] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:28.683] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:28.889] [timelight] [trace] Initializing workspace
[2023-01-26 22:10:29.078] [timelight] [trace] Initializing workspace

@cip123
Copy link
Author

cip123 commented Jan 26, 2023

libssl3 is already installed:

libssl3 is already the newest version (3.0.2-0ubuntu1.7).

@LorenDB
Copy link
Contributor

LorenDB commented Jan 26, 2023

OK, I will have to do some deeper debugging. I'll get back to you soon if I find anything that looks like it could be the problem.

@LorenDB
Copy link
Contributor

LorenDB commented Jan 26, 2023

I tried running the AppImage on openSUSE and doing a fresh install in Windows Sandbox. Neither exhibited the problem.

Could you try building the app from source?

@cip123
Copy link
Author

cip123 commented Jan 26, 2023

I will try it, but I think it will be over the weekend.

By the way, do you have any screenshots? I don't know what to expect :).

@LorenDB
Copy link
Contributor

LorenDB commented Jan 26, 2023

I don't have any screenshots. There's not much to screenshot, as it's just a system tray icon.

@LorenDB
Copy link
Contributor

LorenDB commented Jan 27, 2023

OK, I just spun up a Pop!_OS VM. It looks like this is caused by the fact that Ubuntu has stopped packaging libssl 1.1 in favor of libssl 3 (which is a good thing). However, it seems that the AppImages are being linked to libssl 1.1, meaning that HTTPS traffic fails, meaning that once you have input the API key, TimeLight is unable to communicate with the Clockify API. I will look for a fix.

@LorenDB
Copy link
Contributor

LorenDB commented Jan 27, 2023

I'm not finding a good fix right off the bat. For now, I'd say work around this either by building from source or by installing libssl1.1. If you do build from source, be prepared to hunt down a number of packages that may need installed.

@cip123
Copy link
Author

cip123 commented Jan 27, 2023

OK, installing libssl1.1 worked. Thanks a lot.
If somebody else needs it, here is the link.

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb

@LorenDB
Copy link
Contributor

LorenDB commented Jan 30, 2023

I'm going to close this for now as I'm afraid that this is not an easily fixable issue at the moment. I'll pin this issue in case other people have the same question.

@LorenDB LorenDB closed this as completed Jan 30, 2023
@LorenDB LorenDB pinned this issue Jan 30, 2023
@LorenDB LorenDB changed the title Cannot start it on PopOs 22.04 libssl errors on Ubuntu-based distributions Jan 30, 2023
@cip123
Copy link
Author

cip123 commented Feb 1, 2023

I wanted to mention that I have the same issue with Arch.

@LorenDB
Copy link
Contributor

LorenDB commented Feb 1, 2023

True, anybody with no libssl1 in their distro will be affected.

@LorenDB LorenDB changed the title libssl errors on Ubuntu-based distributions The AppImage will not run if libssl1.1 is not installed Feb 1, 2023
@wu-lee
Copy link

wu-lee commented Mar 8, 2024

Same issue here on Kubuntu 22.04 LTS. Lucky I saw the pinned issue, would have been a bit clueless otherwise and so probably would have given up and moved on.

The installation steps described above allow me to successfully authenticate and show the list of workspaces, and therefore get past the set-up step.

Possibly worth a mention on the main project page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants