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

TLS initialization failed - Appimage on Debian 11 #65

Open
canonex opened this issue Nov 8, 2022 · 14 comments
Open

TLS initialization failed - Appimage on Debian 11 #65

canonex opened this issue Nov 8, 2022 · 14 comments
Labels
bug Something isn't working
Milestone

Comments

@canonex
Copy link

canonex commented Nov 8, 2022

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

@donaldsv
Copy link

donaldsv commented Nov 9, 2022

Same error here with the same version.

@AlexandrePTJ AlexandrePTJ added the bug Something isn't working label Nov 10, 2022
@AlexandrePTJ AlexandrePTJ added this to the Next milestone Nov 10, 2022
@AlexandrePTJ
Copy link
Owner

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

@canonex
Copy link
Author

canonex commented Nov 10, 2022

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

@noseshimself
Copy link

noseshimself commented Nov 18, 2022

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.

AlexandrePTJ added a commit that referenced this issue Nov 19, 2022
@AlexandrePTJ
Copy link
Owner

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.

@noseshimself
Copy link

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

@canonex
Copy link
Author

canonex commented Nov 20, 2022

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

@AlexandrePTJ
Copy link
Owner

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
Copy link
Owner

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 ?

@canonex
Copy link
Author

canonex commented Nov 21, 2022

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

@AlexandrePTJ
Copy link
Owner

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.

@thsfo
Copy link

thsfo commented Nov 30, 2022

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 )

@AlexandrePTJ AlexandrePTJ modified the milestones: Next, 0.8, 0.9 Mar 14, 2023
@canonex
Copy link
Author

canonex commented May 3, 2023

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

Thank you,
Riccardo

AlexandrePTJ added a commit that referenced this issue May 4, 2023
AlexandrePTJ added a commit that referenced this issue May 5, 2023
@AlexandrePTJ AlexandrePTJ added this to the 0.9.3 milestone May 8, 2023
@AlexandrePTJ
Copy link
Owner

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

@AlexandrePTJ AlexandrePTJ modified the milestones: 0.9.3, 1.0 May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants