transgui icon indicating copy to clipboard operation
transgui copied to clipboard

Latest x64 version for windows, error "SSL/TLS support is not compiled!"

Open mrplumber opened this issue 5 years ago • 19 comments

  1. Windows 10 x64
  2. Transmission 2.92
  3. Transmission Remote GUI 5.18.0 x64 (transgui-5.18.0-setup_64bit.exe)

I get an error message "Error checking for new version. SSL/TLS support is not compiled!" (screenshot attached) whenever I choose 'Check for updates' from Help menu. transmission_openssl_x64

To resolve the issue I replaced original libeay32.dll and ssleay32.dll with 64 bit versions from https://indy.fulgan.com/SSL/?C=N;O=D (openssl-1.0.2t-x64_86-win64.zip to be specific). Could it be that installation package for 64 bit Transmission Remote GUI is bundled with wrong type of OpenSSL libraries?

mrplumber avatar Oct 18 '19 20:10 mrplumber

Interesting...

Here's the info of dlls in the repo, as you can see the file and machine type will be different:

~/transgui $ exiftool setup/win/openssl/*.dll | grep '^\(File\|Machine\) Type  '
File Type                       : Win32 DLL
Machine Type                    : Intel 386 or later, and compatibles
File Type                       : Win32 DLL
Machine Type                    : Intel 386 or later, and compatibles

~/transgui $ exiftool setup/win_amd64/openssl/*.dll | grep '^\(File\|Machine\) Type  '
File Type                       : Win64 DLL
Machine Type                    : AMD AMD64
File Type                       : Win64 DLL
Machine Type                    : AMD AMD64

This is the inspect result of the dlls of 64bit release, looks correct to me:

$ wget -q https://github.com/transmission-remote-gui/transgui/releases/download/v5.18.0/transgui-5.18.0-setup_64bit.exe

$ innoextract transgui-5.18.0-setup_64bit.exe 
Warning: Unexpected data while converting from Windows-1252 to UTF-8.
Extracting "Transmission Remote GUI 5.18" - setup data version 5.6.0 (unicode)
 - "tmp/idp.dll" [temp]
 - "app/transgui.exe"
 - "app/LICENSE.txt"
 - "app/README.md"
 - "app/README.txt"
 - "app/history.txt"
 - "app/lang/transgui.be"
 - "app/lang/transgui.ca"
 - "app/lang/transgui.cs"
 - "app/lang/transgui.da"
 - "app/lang/transgui.de"
 - "app/lang/transgui.el"
 - "app/lang/transgui.en"
 - "app/lang/transgui.es"
 - "app/lang/transgui.fi"
 - "app/lang/transgui.fr"
 - "app/lang/transgui.hr"
 - "app/lang/transgui.hu"
 - "app/lang/transgui.it"
 - "app/lang/transgui.ko"
 - "app/lang/transgui.lt"
 - "app/lang/transgui.lv"
 - "app/lang/transgui.nl"
 - "app/lang/transgui.no"
 - "app/lang/transgui.pl"
 - "app/lang/transgui.pt"
 - "app/lang/transgui.pt_br"
 - "app/lang/transgui.ro"
 - "app/lang/transgui.ru"
 - "app/lang/transgui.sv"
 - "app/lang/transgui.template"
 - "app/lang/transgui.tr"
 - "app/lang/transgui.uk"
 - "app/lang/transgui.zh"
 - "app/lang/transgui.zh_tw"
 - "app/libeay32.dll"
 - "app/ssleay32.dll"
Done with 1 warning.

$ exiftool app/*.dll | grep '^\(File\|Machine\) Type  '                                                                                                                                                  
File Type                       : Win64 DLL
Machine Type                    : AMD AMD64
File Type                       : Win64 DLL
Machine Type                    : AMD AMD64

Currently we didn't receive other feedback like this issue.

PeterDaveHello avatar Oct 23 '19 14:10 PeterDaveHello

version 5.18 32/64 bit, Windows 10x64, SSL / TLS does not work. 2019-11-02 12_42_18 2019-11-02 12_43_27

uniss2209 avatar Nov 02 '19 10:11 uniss2209

Same issue on fresh Win10 Install: SSL-TLS support is not compiled

Berty607 avatar Nov 02 '19 19:11 Berty607

I uninstalled the 64 bit version. 32 bit version works fine.

Berty607 avatar Nov 02 '19 19:11 Berty607

I get the same error when trying to update geoip database. Running 5.18 on Linux Mint 64bit

itlists avatar Nov 12 '19 00:11 itlists

The standalone Windows 64 bit ZIP files are missing the two dll files hence the error on windows. The setup has them but not the zip file. You will need to include them when packaging the standalone 64 bit zip versions.

Revenger avatar Dec 08 '19 14:12 Revenger

@Revenger The zip tarball is intended to not include them, please take a look at README.

PeterDaveHello avatar Dec 08 '19 14:12 PeterDaveHello

I had same issue.

  1. uninstall 64bit install version

  2. download 64bit zip version and excute => same

  3. install 32bit install version and excute > work!

  4. backup the Geoip.dat and flags.zip from C:\Users\ ##Username##\AppData\Local\Transmission Remote GUI

  5. uninstall 32bit install version

  6. install 64bit install version and excute

  7. shutdown the transmission gui

  8. put the 2 files in C:\Users\ ##Username##\AppData\Local\Transmission Remote GUI

  9. excute the transmission gui

  10. enable nation(?) and flags(?) from peer tab => I don't know what it is because I use different language.

Internetworkin avatar Mar 13 '20 14:03 Internetworkin

I solved the problem like this: Download the OpenSSL library indy.fulgan.com/SSL/openssl-1.0.2q-x64_86-win64.zip and place it in the Transmission program folder (in %ProgramFiles%\Transmission Remote GUI). You need to replace ssleay32.dll and libeay32.dll. It helped me to update the Geoip database.

jokis-dm avatar Apr 28 '20 02:04 jokis-dm

Apparently, OpenSSL version 1.1 has renamed the DLLs to this: libssl-1_1-x64 libcrypto-1_1-x64

But because transmission-remote-gui looks for ssleay32 and libeay32, I believe it cannot find the dll

obones avatar May 05 '20 10:05 obones

I had this problem too (non working update, and geoip download..). What helped was to download and extract: https://indy.fulgan.com/SSL/Archive/Experimental/openssl-1.0.2o-x64-VC2017.zip (in parent web path are also other packages for other OS) and copy libeay32.dll + ssleay32.dll to C:\Program Files\Transmission\transgui and restart TransGUI app. Can developers @PeterDaveHello @leonsoft-kras @antekgla please include these files by default? I am having TransGUI 5.18.0 Windows 10 64bit.

slrslr avatar Jul 15 '20 09:07 slrslr

Same problem with U 20.04, apparently need the two files. Any 'official' versions? (Vaguely remember running into this years ago. Both are long gone now.)

Doesn't seem right to have features broken right out of the box. Looking for at least a link to the 'real' versions, thanks.

u2n avatar Oct 22 '20 20:10 u2n

Just stumbled across this problem, turns out that the openssl dlls that are installed with the 5.18 x64 installer have a dependency to MSVCR120.dll. In other words, they were built with Visual Studio 2013 and require the Visual C++ 2013 redistributables to run. They can be found here: https://support.microsoft.com/en-us/help/4032938/update-for-visual-c-2013-redistributable-package

I would suggest shipping with openssl libraries linked with the static VC++ runtime (/MT) to avoid this problem in the future.

vandrewal avatar Nov 19 '20 23:11 vandrewal

Thanks @vandrewal I faced this issue on a fresh win10 installation and vc++ redistributable helped me.

spanevin avatar Jul 29 '21 13:07 spanevin

VC++ runtime also fixed same issue on win 11

tncxrb avatar Oct 27 '21 05:10 tncxrb

VC++ 2013 x64 worked for me

RyanHir avatar May 03 '22 21:05 RyanHir

I solved the problem like this: Download the OpenSSL library indy.fulgan.com/SSL/openssl-1.0.2q-x64_86-win64.zip and place it in the Transmission program folder (in %ProgramFiles%\Transmission Remote GUI). You need to replace ssleay32.dll and libeay32.dll. It helped me to update the Geoip database.

This worked perfectly fine for me.

zQueal avatar Aug 17 '22 08:08 zQueal

I had this problem too (non working update, and geoip download..). What helped was to download and extract: https://indy.fulgan.com/SSL/Archive/Experimental/openssl-1.0.2o-x64-VC2017.zip (in parent web path are also other packages for other OS) and copy libeay32.dll + ssleay32.dll to C:\Program Files\Transmission\transgui and restart TransGUI app. Can developers @PeterDaveHello @leonsoft-kras @antekgla please include these files by default? I am having TransGUI 5.18.0 Windows 10 64bit.

Thanks!

SlightDust avatar Aug 19 '22 17:08 SlightDust

I think the problem can be summed up as:

  • the 32-installer is okay because it installs the 32-bit 2013 VC++ runtime
  • the 64-installer is bad because it also installs the 32-bit 2013 VC++ runtime. It should install the 64-bit version of the runtime.
  • the 32 and 64-bit zip versions are both bad because they do not include the necessary libeay32.dll and ssleay32.dll files in the zips

As @vandrewal said linking to the static VC++ runtime would be best as most machines already have the latest runtime (as of now the 2015-2023 version)

The zip versions need to be bundled with libeay32.dll and ssleay32.dll to work properly

Also, https://indy.fulgan.com/SSL/openssl-1.0.2u-x64_86-win64.zip appears to be the latest version of the archived ssl dlls on the fulgan site.

elisimpson avatar Nov 06 '23 23:11 elisimpson