http:request hanging

Joel Reymont joelr1@REDACTED
Fri Aug 7 17:46:26 CEST 2009


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.

	Thanks, Joel

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont



More information about the erlang-questions mailing list