fathomssen / redtimer

RedTimer - Redmine Time Tracker
GNU Lesser General Public License v3.0
65 stars 17 forks source link

Windows build: TLS initialization failed #133

Closed ghost closed 3 years ago

ghost commented 3 years ago

I like this great tool! However, it only works well in Linux, I did not manage to use the Windows version.

Portable version: redtimer-v1.2.12-win32 grafik

Redmine works well in browser without any TLS problems (internal network). I cannot manage Redtimer to establish a connection properly (always "TLS initialization failed"): grafik

I also tried to use the installer version. Same problem. Is there any Trick to get it work?

mehmetalianil commented 3 years ago

I have the exact same issue. image

URL is: https://redmine4.grusbv.com

ghost commented 3 years ago

I have it also at other Redmine instances. Maybe a Problem of using OpenSSL?

mehmetalianil commented 3 years ago

I tried the following portable versions:

1.2.9 win32 -- did not alert me, but does not connect, therefore not functional. 1.2.10 win32 -- Qt5QmlModels.dll was not found (Also triggers antivirus, so maybe that is the reason.) 1.2.11 win32 -- Qt5QmlModels.dll was not found 1.2.12 win32 -- same as in installer version

mehmetalianil commented 3 years ago

Needless to say, this is also with Ignore SSL errors checked.

fathomssen commented 3 years ago

Hi guys

Sorry for the late reply. I will look into in within the next few days. As I currently don’t have a running Redmine instance: Can I use any of your URL‘s for testing?

Cheers Freddy

mehmetalianil commented 3 years ago

Can arrange that, would a user with a dummy Project do?

mehmetalianil commented 3 years ago

I am not sure how to exchange data, we can chat here: https://chat.grusbv.com/#/welcome You can join #public as Guest without any bells and whistles.

lych commented 3 years ago

Hi, guys! Starting from Qt 5.12.4 it needs OpenSSL 1.1.x which is binary incompatible with 1.0.x. Whereas redtimer builds with 5.15 there is still OpenSSL 1.0.x in the setup. Just install openssl 1.1.x or put libcrypto-1_1.dll and libssl-1_1.dll into redtimer.exe folder. It will start working.

fathomssen commented 3 years ago

Oh thank you so very much! Where can I fetch those OpenSSL libs to pack it into the installer?

lych commented 3 years ago

I've downloaded it here: https://mirror.firedaemon.com/OpenSSL/openssl-1.1.1i-dev.zip Also, can be downloaded via Qt MaintenanceTool.

fathomssen commented 3 years ago

Hi guys, could you please try this build? https://ci.appveyor.com/project/fathomssen/redtimer/builds/36513374/artifacts

lych commented 3 years ago

I've tried the new portable version, works well. Thanks for fixing.

fathomssen commented 3 years ago

Thank you very much for your help! If everything goes smooth, new packages can soon be found here: https://github.com/fathomssen/redtimer/releases/tag/v1.2.13