comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Simple parse from https website
Date: Thu, 2 Apr 2020 07:48:55 -0700 (PDT)
Date: 2020-04-02T07:48:55-07:00	[thread overview]
Message-ID: <1751295b-bd07-4a29-8181-2a24764e1644@googlegroups.com> (raw)
In-Reply-To: <r64tkm$1ne8$1@gioia.aioe.org>

> 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.

  reply	other threads:[~2020-04-02 14:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-02 13:58 Simple parse from https website Rego, P.
2020-04-02 14:24 ` Egil H H
2020-04-02 14:44   ` Rego, P.
2020-04-03  9:35     ` Björn Lundin
2020-04-03 12:04       ` Rego, P.
2020-04-02 14:42 ` Dmitry A. Kazakov
2020-04-02 14:48   ` Rego, P. [this message]
2020-04-02 17:16     ` Dmitry A. Kazakov
2020-04-02 18:27       ` Rego, P.
2020-04-02 19:05         ` Dmitry A. Kazakov
2020-04-02 19:34           ` Rego, P.
2020-04-03  5:19             ` Jere
2020-04-03 12:13               ` Rego, P.
2020-04-03 12:30                 ` Rego, P.
2020-04-03 12:49                   ` Dmitry A. Kazakov
2020-04-03  6:47             ` Dmitry A. Kazakov
2020-04-03 12:42               ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox