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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: using a Get in AWS Date: Sun, 28 Sep 2014 10:33:26 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="272a0c27c56b2c3b0dc8613c85258f4f"; logging-data="25270"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tHsdsMgW2o4dVI4u/FwuoNEJrh/av4d4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:WQVZ9M208IyTX35Qti3g27ksmUM= sha1:s/YPoxEiYPfnaHvjCBVnDLlYNgs= Xref: number.nntp.dca.giganews.com comp.lang.ada:189231 Date: 2014-09-28T10:33:26+01:00 List-Id: 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".