Skip to content

Instantly share code, notes, and snippets.

@CpuID
Created September 17, 2013 03:19
Show Gist options
  • Save CpuID/6589692 to your computer and use it in GitHub Desktop.
Save CpuID/6589692 to your computer and use it in GitHub Desktop.
weird SSH timeout issue (using rye / Net::SSH)
Failure on thread threadname: connection closed by remote host
/var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/transport/packet_stream.rb:87:in `next_packet': connection closed by remote host (Net::SSH::Disconnect)
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:172:in `poll_message'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:167:in `loop'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:167:in `poll_message'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:454:in `dispatch_incoming_packets'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:216:in `preprocess'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:200:in `process'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:164:in `loop'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:164:in `loop_forever'
from /var/lib/gems/1.8/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:164:in `loop'
from /var/lib/gems/1.8/gems/rye-0.9.8/lib/rye/box.rb:717:in `disconnect'
from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
from /var/lib/gems/1.8/gems/rye-0.9.8/lib/rye/box.rb:716:in `disconnect'
from /var/lib/gems/1.8/gems/rye-0.9.8/lib/rye/box.rb:142:in `initialize'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment