Timeout :: Error: Execution timed out with Capistrano / Rubber
We've been using the rubber gem to deploy on AWS for months now and now we're getting unexpectedly Timeout::Error: execution expired error
with Capistrano. I tried downgrading net-ssh
to 2.7 and it didn't help. I believe the old net-ssh 2.8 has been solved for a while and we are using 2.9.1 (and have been for a while).
I can use SSH in examples with no problem. Has anyone faced similar problems? Is there something else I should check to get me in the right direction?
Thank!
source to share
Has anything changed on the network, DNS name, Elastic IP, etc.? See the links below for users who have had similar issues:
https://groups.google.com/forum/#!msg/rubber-ec2/aK2RqUO7x-M/pzM0S-azDCIJ
Rubber and Amazon EC2 hosting issue (Net :: SSH :: AuthenticationFailed: root)
https://github.com/rubber/rubber/issues/141
Also, if your files are too big, it might be disabled during download. See this link for an example on how to increase the timeout:
source to share