Description: Hi. For several years LO comes with a broken ssl module, due to this is very hard to use internet services. Steps to Reproduce: 1.If you have a win32 machine,write an py file with only one command: 2. import ssl 3.put it in Script/python folder, then run it 4.You will get an error , something like "the system cannot run DLL ..." 5.ATTENTION!!! Usually from console everything works fine,the error is present when run the script as a macro (especial if a python version is already installed in your system) Actual Results: Getting an error Expected Results: . Reproducible: Always User Profile Reset: yes Additional Info: To verify if ssl module is broken: 1.open LibreOffice/program/python-core-3.3.0 2.Search _ssl.pyd file . 3.If size is about 48kb, the file is broken. 4.Normal _ssl.pyd file has about 1.163 kb. 5.Once you copy and paste an _ssl.pyd file from the SAME VERSION of desktop python ,the internet services work fine. If I will find how to attach an normal _ssl.pyd ,I will attach it here.For current LO version is a file from python 3.3.5. User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Created attachment 133820 [details] The working _ssl.pyd from desktop Python
5.1 version is EOL. Could you give a try to last stable LO version 5.3.3 (or at least last one of branch 5.2, 5.2.7)?
I opened this topic after got this morning the update 5.2.7.2 The problem is still alive. I never found this problem on my win64 macchine, only on win32 one. Just check your _ssl.pyd size. Greetings
Thank you for your feedback. On Windows 10, I also got a file of 48kb. Since I don't see any Script/python folder, I don't know how to test it but certainly someone may give it a try. Anyway since I don't have more questions, let's put this one back to UNCONFIRMED.
I am developing an extension, for LibreOffice, named LibreWeb. You can find it on official LibreOffice extensions web-site. If your LibreOffice has this problem (broken ssl ) you will always get an error,when trying to open some web site(see extension help for more information). After replacing _ssl.pyd with a working one, extension works fine. I am trying to say to developers to re-build again the LibreOffice python,and then include it in LibreOffice.
Michael: noticing your patches about Python upgrade, I thought you might be interested in this one.
I found this thread: http://nabble.documentfoundation.org/error-python-uno-amp-HTTPSConnection-td4020234.html @Laurent: Were you be able to fix it ?
in my master dev build it is working fine (with CPython 3.5 and MSVC 2017). the obvious difference between the 2 _ssl.pyd is that the small one is dynamically linked and the large one is statically linked. if put the following in instdir/share/Scripts/python/usessl.py: def UseSSL(): import ssl xModel = XSCRIPTCONTEXT.getDocument().getText().setString("UseSSL success") ...and run it from Writer, there is no error and the expected success message appears in the document. do you perhaps have some files "ssleay32.dll" and "libeay32.dll" somewhere in C:/Windows ? that is known to ruin one's day.
Hi vlad, Please check the details mentioned in comment 8
Hi to all. I confirm you the availability of these files(ssleay32.dll and libeay32.dll) in 3 different places: -LibreOffice/program -Git program -Intel No match on Windows folder. Greetings
Thank you Vlad for your feedback, it confirms Michael's comment 8. Let's put this one to WFM then.
LibreOffice 5.3.6.1 The problem came again after update to this version.
Seems like a duplicate of bug 109241, please test with a daily build, and the upcoming 5.3.7/5.4.2 releases should include the fix. *** This bug has been marked as a duplicate of bug 109241 ***