[squeak-dev] WebClient httpGet: 'http://freegeoip.net/json/' works on windows not linux

Levente Uzonyi leves at caesar.elte.hu
Wed Feb 14 21:35:15 UTC 2018


On Wed, 14 Feb 2018, Louis LaBrunda wrote:

> Hi Everyone,
>
> I use the following:
>
> Json readFrom: (ReadStream on: (WebClient httpGet: 'http://freegeoip.net/json/', (WebClient
> httpGet: 'https://api.ipify.org') content) content utf8ToSqueak).
>
> to get latitude and longitude from the internet.  It works great on windows but not linux
> (Raspbian).  The #primitiveSSLCreate fails.  I expect something linux specific like some FFI or
> something is missing.  Anyone have any idea what?

If it worked on Linux before, then you should use the SqueakSSL plugin 
from an older VM. The code has been changed recently.
If it never worked before, then you probably don't have openssl 1.0.x 
installed.

Levente

>
> Lou
> -- 
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon


More information about the Squeak-dev mailing list