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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, WEIRD_PORT autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:454e:: with SMTP id y75mr18449645ita.37.1543248695131; Mon, 26 Nov 2018 08:11:35 -0800 (PST) X-Received: by 2002:aca:5395:: with SMTP id h143mr461199oib.6.1543248695029; Mon, 26 Nov 2018 08:11:35 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!k10no49930itk.0!news-out.google.com!y103-v6ni54ita.0!nntp.google.com!q69no49883itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 26 Nov 2018 08:11:34 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=151.249.135.130; posting-account=M7mWIgoAAACGA_Fxpu1-vAqIUttmwREB NNTP-Posting-Host: 151.249.135.130 References: <9524b3ee-476f-4af6-ab83-b15a6c2a417c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4d7da2e7-ae4f-40da-a6af-e46db135e807@googlegroups.com> Subject: Re: GNATCOLL JSON Parsing From: eduardsapotski@gmail.com Injection-Date: Mon, 26 Nov 2018 16:11:35 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:54898 Date: 2018-11-26T08:11:34-08:00 List-Id: =D0=BF=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA, 26 =D0= =BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2018 =D0=B3., 18:56:36 UTC+3 =D0=BF=D0=BE= =D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Simon Wright = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > Bj=C3=B6rn Lundin writes: >=20 > > So my version crashes on AWS.Client.Get > > I cannot really help you further here >=20 > I think this is because of SSL not being supported (I'm using the > unpatched CE 2018). >=20 > For me, GDB says >=20 > Catchpoint 1, PROGRAM_ERROR (SSL not supported.) at 0x00000001000018fe in= test_json () at /Users/simon/tmp/cla/test_json.adb:12 > 12 Aws_Reply :=3D Aws.Client.Get > (gdb) c > Continuing. >=20 > Catchpoint 1, PROGRAM_ERROR (aws-client.ads:592 finalize/adjust raised ex= ception) at 0x00000001000018fe in test_json () > at /Users/simon/tmp/cla/test_json.adb:12 > 12 Aws_Reply :=3D Aws.Client.Get >=20 > I triet getting the JSON file and using a file:// URL to get it locally, > but now I get a constraint error >=20 > Catchpoint 1, CONSTRAINT_ERROR (aws-url.adb:374 range check failed) at 0x= 00000001000018de in test_json () at /Users/simon/tmp/cla/test_json.adb:12 > 12 Aws_Reply :=3D Aws.Client.Get >=20 > which seems to be something to do with a port number? >=20 > 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 op= enssl. Everything is working. But json can be obtained without ssl. Try this: http://api.exmo.com/v1/pair= _settings/=20