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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.210.17 with SMTP id gi17mr29708791icb.1.1411902535305; Sun, 28 Sep 2014 04:08:55 -0700 (PDT) X-Received: by 10.140.30.36 with SMTP id c33mr305475qgc.2.1411902535270; Sun, 28 Sep 2014 04:08:55 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!a13no4831009igq.0!news-out.google.com!i10ni40qaf.0!nntp.google.com!v10no84154qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 28 Sep 2014 04:08:55 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.39.9.16; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P NNTP-Posting-Host: 82.39.9.16 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: using a Get in AWS From: tonyg Injection-Date: Sun, 28 Sep 2014 11:08:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:189233 Date: 2014-09-28T04:08:55-07:00 List-Id: On Sunday, 28 September 2014 10:33:29 UTC+1, Simon Wright wrote: > tonyg writes: > > > > > Execution terminated by unhandled exception > > > Exception name: CONSTRAINT_ERROR > > > Message: aws-url.adb:339 range check failed > > > > > > > > > with AWS.Client; use AWS.Client; > > > with AWS.Response; > > > with Ada.Text_IO; > > > procedure Main_Aws_Test is > > > > > > > > > > > > Test_Data : AWS.Response.Data := > > > AWS.Client.Get (URL => "www.yahoo.com" ); > > > > If this happened to me I'd start by seeing what happens at > > aws-url.adb:339 and (then) try the full URL "http://www.yahoo.com". Thanks Simon. The lack of the http:// was the problem. I have accordingly slapped myself in the face with a sizable haddock several times