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