We have been using the rubber gem to deploy to AWS for months and we are now suddenly getting a Timeout::Error: execution expired error
with Capistrano. I've tried downgrading net-ssh
to 2.7 and that didn't help. I believe the old net-ssh 2.8 has been resolved for awhile now and we are use 2.9.1 (and have been for awhile).
I'm able to SSH into the instances with no problems. Has anyone ran into similar issues? Is there something else I should check that could lead me in the right direction?
Thanks!
Did something in the network change, DNS name, elastic IP, etc? See links below for users that have had similar problems:
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 sizes are too large, perhaps it is timing out during the upload. See this link for an example of how to increase the timeout:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.