<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-04 11:05 GMT+02:00 Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi Cyril<br>
<span class="gmail-"><br>
<br>
> On 03.04.2018, at 15:26, Cyril Ferlicot D <<a href="mailto:cyril@ferlicot.me">cyril@ferlicot.me</a>> wrote:<br>
><br>
> Hi Tobias,<br>
><br>
> I have a problem with SSL and Winodws 7, I think it might be a VM plugin<br>
> problem (excuse me if we find at the end that it is not) and I heard<br>
> you're the one maintaining the SSL plugin.<br>
><br>
> If I execute this code:<br>
><br>
> ZnClient new url: '<a href="https://google.com" rel="noreferrer" target="_blank">https://google.com</a>'; get.<br>
><br>
> I get a result.<br>
><br>
> If I execute this code:<br>
><br>
> ZnClient new url: '<a href="https://github.com" rel="noreferrer" target="_blank">https://github.com</a>'; get.<br>
><br>
> I get this error: Error: SSL Exception: connect failed [code:-5]<br>
><br>
> I tried with both stable and latest vm. (The stable is from august 2017<br>
> I think)<br>
><br>
> I sent a mail on the Pharo dev ML and we are at least two having this<br>
> problem with Windows 7 when it's working with Windows 10.<br>
><br>
> Let me know if you need any more details on this issue.<br>
><br>
> I opened on issue:<br>
> <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/236" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/issues/236</a><br>
><br>
<br>
</span>Can you please change ZdcSecureSocket>>sslSession to<br>
<br>
sslSession<br>
        ^ sslSession ifNil: [<br>
                sslSession := self sslSessionClass new<br>
                        enableLogging;<br>
                        yourself].<br>
<br>
<br>
And please paste what appears on stdout?<br>
<br>
(you may have to execute the vm from the commandline).<br>
<br>
Best regards<br>
<span class="gmail-HOEnZb"><font color="#888888">        -Tobias<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div><br></div><div>I confirm, same behavior as Cyril on windows 7 with latest bintray VM pharo.cog.spur_win32x86_201804032021.zip<br><br></div><div>logging output:<br><br>>PharoConsole.exe Pharo7.0-32bit-b6db964.image<br>sqSetStringPropertySSL(1): (null)<br>sqSetStringPropertySSL(2): <a href="http://github.com">github.com</a><br>sqConnectSSL: input token 0 bytes<br>sqConnectSSL: Input to InitSecCtxt is 0 bytes<br>AquireCredentialsHandle returned: 0<br>InitializeSecurityContext returned: 90312<br>Input Buffers:<br>        buf[0]: 2 (0 bytes) ptr=0<br>        buf[1]: 0 (0 bytes) ptr=0<br>        buf[2]: 0 (0 bytes) ptr=0<br>        buf[3]: 0 (0 bytes) ptr=0<br>Output Buffers:<br>        buf[0]: 2 (122 bytes) ptr=596140<br>        buf[1]: 0 (0 bytes) ptr=0<br>sqCopyDescToken:<br>         type=2, size=122<br>         type=0, size=0<br>sqConnectSSL: input token 7 bytes<br>sqConnectSSL: Input to InitSecCtxt is 7 bytes<br>InitializeSecurityContext returned: 80090302<br>Input Buffers:<br>        buf[0]: 2 (7 bytes) ptr=14b8fe0<br>        buf[1]: 0 (0 bytes) ptr=0<br>        buf[2]: 0 (0 bytes) ptr=0<br>        buf[3]: 0 (0 bytes) ptr=0<br>Output Buffers:<br>        buf[0]: 2 (0 bytes) ptr=0<br>        buf[1]: 0 (0 bytes) ptr=0<br>Unexpected return code 2148074242<br></div></div><br></div></div>