[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Cannot connect to SSL host (Issue #652)

unique75m notifications at github.com
Tue Aug 30 11:31:10 UTC 2022


The following code worked in the past. Now i get an error -5. Where can i find an explanation about this error? I guess the server side has changed and possibly Squeak SSL does not support that. I can connect to the same server on VisualWorks with the TLS plugin, which uses only an OpenSSL library. I do not know what Squeak does in its primitives.

| stream |
stream := SecureSocketStream openConnectionToHostNamed: 'stream.data.alpaca.markets' port: 443.
stream sslConnect.
stream binary.
stream halt.
stream close

This example with another server is working

| stream |
stream := SecureSocketStream openConnectionToHostNamed: 'quotes-ws.boerse-go.de' port: 443.
stream sslConnect.
stream binary.
stream halt.
stream close

-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/652
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/652 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220830/2bf0cd0e/attachment.html>


More information about the Vm-dev mailing list