[erlang-questions] Re: http:request hanging

Colm Dougan colm.dougan@REDACTED
Sat Aug 8 01:25:15 CEST 2009


On Fri, Aug 7, 2009 at 6:12 PM, Joel Reymont<joelr1@REDACTED> wrote:
> 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.

It works for me on Debian testing (squeeze) with OpenSSL 0.9.8k-3 and
erlang 13B-01.

Colm

>
> 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
>
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list