| Author |
Message |
|
| Guest |
Posted: Fri Aug 07, 2009 3:48 pm |
|
|
|
Guest
|
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
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Aug 07, 2009 5:13 pm |
|
|
|
Guest
|
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
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| colm |
Posted: Fri Aug 07, 2009 7:20 pm |
|
|
|
User
Joined: 19 May 2008
Posts: 33
|
On Fri, Aug 7, 2009 at 4:46 PM, Joel Reymont<joelr1@gmail.com> 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
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Aug 07, 2009 8:49 pm |
|
|
|
Guest
|
On Aug 7, 2009, at 8:19 PM, Colm Dougan wrote:
> I get the same hang on on 12B-5. However when i firstly do
> "application:start(ssl)" I get a response.
That's not it because the code has inets:start(), ssl:start(), etc.
before the http request and it still hangs even after I explicitly
start the applications.
---
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
Post received from mailinglist |
|
|
| Back to top |
|
| baryluk |
Posted: Fri Aug 07, 2009 8:54 pm |
|
|
|
User
Joined: 05 Aug 2009
Posts: 48
|
Dnia 2009-08-07, pią o godzinie 21:47 +0100, Joel Reymont pisze:
> On Aug 7, 2009, at 8:19 PM, Colm Dougan wrote:
>
> > I get the same hang on on 12B-5. However when i firstly do
> > "application:start(ssl)" I get a response.
>
> That's not it because the code has inets:start(), ssl:start(), etc.
> before the http request and it still hangs even after I explicitly
> start the applications.
>
I have the same problem with 13B01.
--
Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Aug 07, 2009 8:57 pm |
|
|
|
Guest
|
On Aug 7, 2009, at 9:52 PM, Witold Baryluk wrote:
> I have the same problem with 13B01.
What is your OS and 'openssl version'?
This works fine on Ubuntu, btw, same 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
Post received from mailinglist |
|
|
| Back to top |
|
| baryluk |
Posted: Fri Aug 07, 2009 9:06 pm |
|
|
|
User
Joined: 05 Aug 2009
Posts: 48
|
Dnia 2009-08-07, pią o godzinie 21:56 +0100, Joel Reymont pisze:
> On Aug 7, 2009, at 9:52 PM, Witold Baryluk wrote:
>
> > I have the same problem with 13B01.
>
> What is your OS and 'openssl version'?
>
> This works fine on Ubuntu, btw, same R13B01.
Upgraded Erlang 5 minutes ago, and now it works.
I can swear that it wasn't working yesterday (it was hanging).
It is Debian Unstable. I will report it back, if this
problem will repeat.
--
Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Post received from mailinglist |
|
|
| Back to top |
|
| colm |
Posted: Fri Aug 07, 2009 11:29 pm |
|
|
|
User
Joined: 19 May 2008
Posts: 33
|
On Fri, Aug 7, 2009 at 6:12 PM, Joel Reymont<joelr1@gmail.com> 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
>
>
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 11, 2012 2:22 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
than half a century, and a football team's worth of of Cheap Ralph Lauren Shirts of children and grandchildren."He died as he lived. He
hard until the end, stayed positive, thought only of others others replica Christian Louboutin others and constantly reminded everyone of how blessed his life
been. His ambitions were far reaching, but he never never discount designer *beep* never believed he had to leave this Happy Valley to
them. He was a man devoted to his family, family, [h4]designer replica *beep*[/h4] family, his university, his players and his community," Paterno's family
in a statement.While at Penn State's helm, Paterno, who was was [h2]replica designer bags for sale[/h2] was born in Brooklyn, N.Y., led the Nittany Lions to
undefeated seasons and two NCAA championships, had only five losing losing cheap Ralph Lauren Polo losing seasons, was inducted into the College Football Hall of |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|