From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:aed:35cc:: with SMTP id d12mr3312776qte.298.1585838936180; Thu, 02 Apr 2020 07:48:56 -0700 (PDT) X-Received: by 2002:aca:62d5:: with SMTP id w204mr2360041oib.119.1585838935607; Thu, 02 Apr 2020 07:48:55 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.muarf.org!nntpfeed.proxad.net!feeder1-1.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 2 Apr 2020 07:48:55 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=179.35.31.165; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 179.35.31.165 References: <7dc6d888-696c-4936-b678-66e1c8198449@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1751295b-bd07-4a29-8181-2a24764e1644@googlegroups.com> Subject: Re: Simple parse from https website From: "Rego, P." Injection-Date: Thu, 02 Apr 2020 14:48:56 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58284 Date: 2020-04-02T07:48:55-07:00 List-Id: > This is certainly an induced error. You get some exception which > propagates on and upon finalization of an AWS object (AWS Client?) > causes another exception inside its Finalize. I suggest you to report it > to AdaCore, as this is surely a bug. > > As for the original error, like another poster guessed, you seem try to > establish an insecure connection (HTTP) to a secure server (HTTPS), get > bounced and then, see above. > > You need to configure OpenSSL or GNUTLS for you AWS client before > connecting. I cannot help with details because I don't use AWS. There > should be some samples of secure HTTP connection using an AWS client. I'd love not to use AWS, but it was the simpler possible solution that I found today (I know I did years ago something like that, but it's lost in a dark place in my mind lol) > Hmm, google.com content does not look like JSON, far from. Though they > may have REST API in JSON format, is that you are trying to do? Ops...not, just testing more simpler cases. I am trying to get the data from https://poloniex.com/public?command=returnTicker Just tried with google to check if it's problem from polo ticker. But the exception was the same.