http:request hanging
Joel Reymont
joelr1@REDACTED
Fri Aug 7 19:12:22 CEST 2009
It appears to have something to do with SSL and, perhaps, the version
of OpenSSL in particular.
Does not work on Mac OSX Snow Leopard (x86-64) with OpenSSL 0.9.8k 25
Mar 2009, works on Ubuntu 9.04 with OpenSSL 0.9.8g 19 Oct 2007.
On Aug 7, 2009, at 4:46 PM, Joel Reymont 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.
>
---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont
More information about the erlang-questions
mailing list