Weird error when running deploy script with gateway

11 views
Skip to first unread message

mrmanishs

unread,
Dec 8, 2009, 11:16:35 AM12/8/09
to Capistrano
I am trying to run a deploy script with a gateway, and I'm getting a
weird error. I'm not sure if it's the script or my server
configuration. Does anyone have any hints?

servers: ["qa"]
* establishing connection to gateway 'xx.xx.xx.xx:9022'
* Creating gateway using xx.xx.xx.xx:9022
* establishing connection to `qa' via gateway
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-2.0.16/lib/net/ssh/
ruby_compat.rb:36:in `select': closed stream (IOError)
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-2.0.16/lib/net/
ssh/ruby_compat.rb:36:in `io_select'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-2.0.16/lib/net/
ssh/connection/session.rb:201:in `process'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:193:in `initiate_event_loop!'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:192:in `synchronize'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:192:in `initiate_event_loop!'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:190:in `initialize'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:190:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:190:in `initiate_event_loop!'
... 51 levels...
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/
capistrano/cli/execute.rb:14:in `execute'
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-2.5.10/bin/
cap:4
from /opt/local/bin/cap:19:in `load'
from /opt/local/bin/cap:19

Lee Hambley

unread,
Dec 8, 2009, 12:33:29 PM12/8/09
to capis...@googlegroups.com
Please paste all the information we ask for on the group homepage, (use your imagination, we don't need all of it for this)

Anything else strange about your configuration?

-- Lee Hambley

Twitter: @leehambley | @capistranorb
Reply all
Reply to author
Forward
0 new messages