kemai icon indicating copy to clipboard operation
kemai copied to clipboard

TLS initialization failed - Appimage on Debian 11

Open canonex opened this issue 2 years ago • 14 comments

Hi, the Kemai-0.7.1-x86_64.AppImage on Debian 11 shows me, for multiple instances of Kimai, on different servers: Error on request [version]: TLS initialization failed when testing the connection.

The server ssl certificate is valid and is not self signed.

Thank you, Riccardo

canonex avatar Nov 08 '22 16:11 canonex

Same error here with the same version.

donaldsv avatar Nov 09 '22 15:11 donaldsv

You got this error only with 0.7.1 and not with 0.7.0 or 0.6 ?

AlexandrePTJ avatar Nov 10 '22 08:11 AlexandrePTJ

I receive the same using 0.7.0. With 0.6 the error is similar: Error on request [version]: SSL handshake failed

With this specific domain I'm using Let's Encrypt: browsers correctly shows the encrypted connection.

Thank you, Riccardo

canonex avatar Nov 10 '22 10:11 canonex

It's not a certificate problem. The connection isn't opened at all.

qt.network.ssl: No TLS backend is available
qt.network.ssl: No functional TLS backend was found
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

[2022-11-18 20:59:03.606] [kemai] [error] Client error: Error on request [users/me]: TLS initialization failed

is quite clear about it.

This seems like a rather common problem on Debian. This happened a long time ago in Calibre, too, so looking there for a patch might help.

noseshimself avatar Nov 18 '22 20:11 noseshimself

A continuous build is ready. Can be fetched at https://github.com/AlexandrePTJ/kemai/releases/tag/Continuous Please tell me if this bug is fixed. Thanks.

AlexandrePTJ avatar Nov 19 '22 22:11 AlexandrePTJ

working. Would you mind summarizing the trick? This seems to be happening in a lot of AppImages that have not been compiled on Debian.

noseshimself avatar Nov 19 '22 22:11 noseshimself

I still have the same problem using Kemai-0.8.0-x86_64.AppImage from continuous on Debian bookworm/sid... Thank you, Riccardo

canonex avatar Nov 20 '22 17:11 canonex

working. Would you mind summarizing the trick? This seems to be happening in a lot of AppImages that have not been compiled on Debian.

Qt6 split several things in plugins, TLS is part of it. So in the appimage creation process, it is now necessary to add a requirement on tls plugin.

AlexandrePTJ avatar Nov 21 '22 13:11 AlexandrePTJ

I still have the same problem using Kemai-0.8.0-x86_64.AppImage from continuous on Debian bookworm/sid... Thank you, Riccardo

Is it fixed on stable ?

AlexandrePTJ avatar Nov 21 '22 13:11 AlexandrePTJ

Is it fixed on stable ?

Sorry I didn't understand, is there a stable after 0.7.1? Where can I find it?

...or do you mean Debian stable? I can't try this on the fly.

Thank you, Riccardo

canonex avatar Nov 21 '22 16:11 canonex

Is it fixed on stable ?

Sorry I didn't understand, is there a stable after 0.7.1? Where can I find it?

...or do you mean Debian stable? I can't try this on the fly.

Thank you, Riccardo

I meant Debian stable.

AlexandrePTJ avatar Nov 22 '22 12:11 AlexandrePTJ

Bonjour ! _Il n'y a Kemai qui m'aille !!! Hope i can use it ! _ But ... i still have the same problem using Kemai-0.8.0-x86_64.AppImage on Ubuntu Linux Mint 21 Cinnamon . I tried to connect to selfhosted Kimai (yunohost )

thsfo avatar Nov 30 '22 09:11 thsfo

I confirm the same problem still exist using Appimage in Debian 12 bookworm (testing) and in Ubuntu 22.04.

Thank you, Riccardo

canonex avatar May 03 '23 09:05 canonex

Last release looks to works with ubuntu 22, but not on debian 11...

AlexandrePTJ avatar May 10 '23 19:05 AlexandrePTJ