Mudlet: SSL downloads broken on Ubuntu 19.04

Created on 6 Aug 2019  路  15Comments  路  Source: Mudlet/Mudlet

Brief summary of issue

SSL downloads don't seem to be working on Ubuntu (Linux?) machines.

A TLS error is logged on Linux console's stderr upon trying to download anything from HTTPS.

Certs on the remote host are up and valid.

Steps to reproduce the issue

  1. Launch mudlet (preferably from console, if you can, so you see the stderr output).
  2. Try to download a file served from SSL by any means. Examples on [1], [2] and [3].
  3. Note that it fails and some errors, detailed below, are logged on the console's stderr.

Error output

qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
saved "profile"

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

  • Mudlet 4.0.3
  • Ubuntu 19.04
GNLinux bug regression

All 15 comments

Sorry about the problem! I don't have the same. Are you using the official AppImage?

Yes I am, this is a new desktop install and it is freshly downloaded.

Is some library not included in the image required to negotiate the TLS connection?

Yes that is the likely possibility - I think you need openssl 1.0.x installed, and I am guessing your newer Ubuntu installs openssl 1.1.x.

Can I expect this to be fixed on the 4.1.0 milestone or should I downgrade my Ubuntu version?

Yep, we'll look into it.

Cool, thank you for your time. I'll wait.

I've been having this same issue with mudlet 4.0.2 on windows 10

The Windows 10 issue was fixed with 4.0.3, but you will need to update manually from https://mudlet.org/downloads/, since... Well SSL is broken and thus downloading updates don't work either. For more information see https://www.mudlet.org/2019/08/the-long-road-to-a-stable-mudlet-4-0/

This works in 4.1.2.

This is not really solved, issue still persists in 4.1.2.

I'm using Ubuntu 19.04.

This does not work:

lua downloadFile("/tmp/test.zip", "https://mudlet.reinosdeleyenda.es/RLMud_Config.zip")

Stderr shows:

qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

This does properly work (note the absence of HTTPs):

lua downloadFile("/tmp/test.zip", "http://mudlet.reinosdeleyenda.es/RLMud_Config.zip")

Could we please reopen the issue?

@hluaces I'm absolutely not sure if this worked, but can you try https://make.mudlet.org/snapshots/267c86/Mudlet-4.1.2-testing-PR3146-afb1589-linux-x64.AppImage.tar ?

Hey, @keneanung , thanks for your reply.

I'm afraid that build doesn't solve the issue.

qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

OMG @keneanung it's working properly now, I think I'm gonna cry. I'd buy you a beer as of now, because it was a pain that affected all of our gmcp.

I know this is not a proper production build, but it is now my de facto client <3

All right, fix is merged with Mudlet/installers#65

Was this page helpful?
0 / 5 - 0 ratings