Search code examples
sslgithubsqueak

Squeak-5.2 can't connect to https://github.com/


To repeat: install Squeak-5.2 on Windows (I used Vista because it's what I have)

Open up a Workspace, type:

WebClient httpHead: 'https://google.com/'

and highlight the expression, hit Alt-P to print the result (it should return a normal HTTP/1.1 response). Repeat the same process for github.com:

WebClient httpHead: 'https://github.com/'

the two will be different, and at least on my Windows system, fails for github.com, but only that site. Squeak gets as far as telling me: SSL Connect failed with code: -5. The same does not happen under Linux, I get a normal HTTP/1.1 response for github.com.

I have no idea what that code means, nor has my attempts to google the question come up with anything reasonable. Can someone tell me (first off) what on earth that return code means in Squeaks SSL context?

Regards, BrickViking (a.k.a. Dr Smokey) (Post 1)


Solution

  • I did find something that worked on my 32-bit Vista, bear in mind that this OS hasn't been supported in over 18 months. This link from John Haller's website refers to an update (KB4056564) than can be applied on Vista that allows Squeak to connect to github.com. I finally found the link when I fed Google with the term "TLS 1.2 Vista".

    Regards, BrickViking (a.k.a. DrSmokey) (Post 2)