[erlang-questions] http:request hanging

Colm Dougan colm.dougan@REDACTED
Fri Aug 7 21:19:06 CEST 2009


On Fri, Aug 7, 2009 at 4:46 PM, Joel Reymont<joelr1@REDACTED> wrote:
> I'm issuing a GET to Amazon EC2 to start an instance, e.g.
>
> URL =
> "https://ec2.amazonaws.com/?Action=RunInstances&ImageId=amixxxxx&MinCount=1&MaxCount=1&KeyName=gsg-keypair&AWSAccessKeyId=xxxxx&Timestamp=2009-08-07T15%3A27%3A23Z&SignatureVersion=1&Version=2007-08-29&Signature=xxxx".
> http:request(get, {URL, []}, [{ssl, []}], []).
>
> Pasting the URL above into Firefox returns XML and starts the instance.
> Issuing the http:request above from Erlang, on the other hand, just hangs.
>
> Any explanation for this? How would I go about debugging it? I'm using OTP
> R13B01.

I get the same hang on on 12B-5.  However when i firstly do
"application:start(ssl)" I get a response.

Colm


More information about the erlang-questions mailing list