downloadFile error

Post Reply
User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

downloadFile error

Post by Akaya »

Tried downloading a file from dropbox using downloadFile and sysDownloadError returned this: Unable to init SSL Context

What does that mean?

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: downloadFile error

Post by SlySven »

You are using Windows I take it? Seems that there might be an outdated or missing SSL Library, an admittedly old StackOverflow post suggests that you might need libeay32.dll, libssl32.dll, ssleay32.dll from the OpenSSL project. Whether that is still relevant remains to be seen but it does seem that you cannot get the SSL subsystem up and running...

User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

Re: downloadFile error

Post by Akaya »

Ah. Great find. Thanks!

If you're not downloading from a secure https it seems to work fine. But I believe a 3.0 update was supposed to resolve that issue. Seems to be broke again. Ill give those .dll files a whirl when I get home.

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: downloadFile error

Post by SlySven »

If you are not downloading from a https: site then it isn't needed, but it is a Qt system thing rather than a Mudlet specific issue - so I'm not entirely certain that a 3.0 update would make a difference (unless we had coded something wrong which, regrettably, can happen! :wink: )

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: downloadFile error

Post by Vadi »

https support was added in 3.0: https://github.com/vadi2/Mudlet/commit/ ... 7e50b9d346

Sounds like we need to double-check if it works on Windows with the libraries the installer comes with.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: downloadFile error

Post by Vadi »

Confirmed, thanks for reporting this!

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: downloadFile error

Post by Nyyrazzilyss »

Just giving a small bump to this - My package is currently on github, and it would be nice if I can set it to auto-update itself from that source (which to my knowledge is https only) - Using 3.0-delta/windows 7

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: downloadFile error

Post by SlySven »

See PR323 (development) and PR324 (release_30) for the fix for THIS I believe.

Post Reply