Page 1 of 1

downloadFile error

Posted: Tue Feb 24, 2015 8:03 pm
by Akaya
Tried downloading a file from dropbox using downloadFile and sysDownloadError returned this: Unable to init SSL Context

What does that mean?

Re: downloadFile error

Posted: Wed Feb 25, 2015 10:10 pm
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...

Re: downloadFile error

Posted: Wed Feb 25, 2015 11:57 pm
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.

Re: downloadFile error

Posted: Thu Feb 26, 2015 10:48 pm
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: )

Re: downloadFile error

Posted: Fri Feb 27, 2015 10:51 pm
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.

Re: downloadFile error

Posted: Fri Feb 27, 2015 11:34 pm
by Vadi
Confirmed, thanks for reporting this!

Re: downloadFile error

Posted: Fri Jul 03, 2015 4:20 pm
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

Re: downloadFile error

Posted: Wed Oct 05, 2016 3:21 am
by SlySven
See PR323 (development) and PR324 (release_30) for the fix for THIS I believe.