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.
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
saved "profile"
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
That's what I feared :thinking: What about https://make.mudlet.org/snapshots/70f5c4/Mudlet-4.1.2-testing-PR3146-e5a5214-linux-x64.AppImage.tar ?
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