There's a patch for this problem that worked wonder for me at 
https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368#ticket-79-33

check it and comment if it works, thanks
alexkwolfe wrote:
> Yes. That's exactly where it is hanging for me.
>
> On Jul 27, 1:17 pm, Billy <[email protected]> wrote:
>   
>> I don't think a successful connection ever even takes place if
>> max_hosts > 1, at least not for me.  When I set the default_run_options
>> [:max_hosts] = 3 (really any number except 1 will do) and ssh_options
>> [:verbose] = 0, it shows the connecting hanging right after
>> negotiating protocol version, before the transport algorithm is
>> negotiated or public keys are exchanged. Is this the same place it is
>> hanging for others?
>>
>> On Jul 27, 1:34 pm, Will Clark <[email protected]> wrote:
>>
>>
>>
>>     
>>> It does work. Thanks Billy. Do you guys think it has something to do
>>> with the server not closing a connection or something?
>>>       
>>> On Jul 27, 9:43 am, Billy <[email protected]> wrote:
>>>       
>>>> Having the same problem running ruby 1.8.7 p173 with both capistrano
>>>> 2.5.5 and 2.5.8. As a temporary workaround, I limited max_hosts to one
>>>> connection in my deploy.rb script (default_run_options[:max_hosts] =
>>>> 1). This seems to solve this problem, though it obviously is not the
>>>> best solution.
>>>>         
>>>> On Jul 24, 10:37 am, Will Clark <[email protected]> wrote:
>>>>         
>>>>> Looks like I replied to soon. The first deploy using 1.8.7 worked just
>>>>> fine. The second time I tried deploying, it hung at the exact same
>>>>> spot.
>>>>>           
>
> >
>
>   


-- 
Rafa


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to