Re: [Pharo-dev] [squeak-dev] WebClient httpGet: 'http://freegeoip.net/json/' works on windows not linux
Hi, (cc-ing vm-dev and pharo b/c severity)
On 15.02.2018, at 15:58, Louis LaBrunda <Lou@Keystone-Software.com> wrote:
Hi Levente,
Thanks for the post. OpenSSL version 1.1.0f is installed.
Yes, OpenSSL 1.1 is not yet supported by SqueakSSL. OpenSSL did a major refactoring from 1.0.2 to 1.1.0. Neither the OpenSSL-plugins from before February nor the current ones will work with 1.1. Sorry. As soon as I get roughly 8-10 hours of leisure time, I'm on it. Best regards -Tobias
Lou
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
-- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon
participants (1)
-
Tobias Pape