comp.lang.ada
 help / color / mirror / Atom feed
From: eduardsapotski@gmail.com
Subject: Re: GNATCOLL JSON Parsing
Date: Mon, 26 Nov 2018 08:11:34 -0800 (PST)
Date: 2018-11-26T08:11:34-08:00	[thread overview]
Message-ID: <4d7da2e7-ae4f-40da-a6af-e46db135e807@googlegroups.com> (raw)
In-Reply-To: <lypnur3k9a.fsf@pushface.org>

понедельник, 26 ноября 2018 г., 18:56:36 UTC+3 пользователь Simon Wright написал:
> Björn Lundin <b.f.lundin@gmail.com> writes:
> 
> > So my version crashes on AWS.Client.Get
> > I cannot really help you further here
> 
> I think this is because of SSL not being supported (I'm using the
> unpatched CE 2018).
> 
> For me, GDB says
> 
> Catchpoint 1, PROGRAM_ERROR (SSL not supported.) at 0x00000001000018fe in test_json () at /Users/simon/tmp/cla/test_json.adb:12
> 12	   Aws_Reply := Aws.Client.Get
> (gdb) c
> Continuing.
> 
> Catchpoint 1, PROGRAM_ERROR (aws-client.ads:592 finalize/adjust raised exception) at 0x00000001000018fe in test_json ()
>     at /Users/simon/tmp/cla/test_json.adb:12
> 12	   Aws_Reply := Aws.Client.Get
> 
> I triet getting the JSON file and using a file:// URL to get it locally,
> but now I get a constraint error
> 
> Catchpoint 1, CONSTRAINT_ERROR (aws-url.adb:374 range check failed) at 0x00000001000018de in test_json () at /Users/simon/tmp/cla/test_json.adb:12
> 12	   Aws_Reply := Aws.Client.Get
> 
> which seems to be something to do with a port number?
> 
> Unfortunately the AWS in GNAT CE seems to have been compiled without
> debugging symbols, so I can't get any further.

Yes, most likely a problem with ssl. I build AWS separately with support openssl. Everything is working.
But json can be obtained without ssl. Try this: http://api.exmo.com/v1/pair_settings/ 

  reply	other threads:[~2018-11-26 16:11 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  5:52 GNATCOLL JSON Parsing eduardsapotski
2018-06-08  9:35 ` Björn Lundin
2018-06-08 10:40 ` eduardsapotski
2018-06-08 12:00 ` Per Sandberg
2018-06-08 15:19 ` eduardsapotski
2018-06-08 15:26   ` Björn Lundin
2018-12-03 15:02   ` Olivier Henley
2018-12-03 18:06     ` Dmitry A. Kazakov
2018-12-03 18:45       ` Olivier Henley
2018-12-03 20:54         ` Dmitry A. Kazakov
2018-12-03 22:01           ` Olivier Henley
2018-12-03 18:06     ` briot.emmanuel
2018-12-03 19:12       ` Olivier Henley
2018-12-03 19:43         ` briot.emmanuel
2018-12-03 20:48           ` Olivier Henley
2018-12-03 20:56             ` Olivier Henley
2018-12-04  7:25             ` briot.emmanuel
2018-12-04 13:39               ` Olivier Henley
2018-12-04 10:14             ` gautier_niouzes
2018-12-04 13:47               ` Olivier Henley
2018-06-08 15:58 ` eduardsapotski
2018-06-08 16:35 ` eduardsapotski
2018-06-08 17:09   ` Björn Lundin
2018-06-09  4:33   ` gautier_niouzes
2018-11-27  6:22   ` Per Sandberg
2018-06-09  4:37 ` gautier_niouzes
2018-06-09  5:08 ` eduardsapotski
2018-06-09  5:31 ` eduardsapotski
2018-06-12  9:55   ` R Srinivasan
2018-06-09  5:35 ` eduardsapotski
2018-11-26  6:42 ` eduardsapotski
2018-11-26 10:17   ` Björn Lundin
2018-11-26 15:56     ` Simon Wright
2018-11-26 16:11       ` eduardsapotski [this message]
2018-11-26 18:01         ` Simon Wright
2018-11-26 20:32           ` Björn Lundin
2018-12-03 18:10   ` Simon Wright
2018-11-26 10:26 ` eduardsapotski
2018-11-26 10:50 ` eduardsapotski
2018-11-26 16:16 ` eduardsapotski
2018-11-27  1:47 ` eduardsapotski
replies disabled

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