SSH connection fails with "undefined method `send_pending' for nil:NilClass
---------------------------------------------------------------------------
Key: JRUBY-5867
URL: http://jira.codehaus.org/browse/JRUBY-5867
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby 1.6.2
Environment: net-ssh 2.1.4 (but also earlier 2.0 versions)
net-ssh-gateway 1.1.0 (but also 1.0.1)
bouncy-castle-java (1.5.0146.1)
jruby-openssl (0.7.4)
Reporter: Anders Bengtsson
I have a Capistrano script that connects to a remote server using SSH via a
gateway server. On MRI (1.9.2, 1.8.7) it works, but on JRuby 1.6.2 the SSH
connection fails with this (names redacted):
* establishing connection to gateway `"[email protected]"'
* Creating gateway using [email protected]
* establishing connection to `yyyy@yyyy' via gateway
NoMethodError: undefined method `send_pending' for nil:NilClass
postprocess at
/Users/anders.bengtsson/.rvm/gems/jruby-1.6.2/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:236
each at org/jruby/RubyArray.java:1602
postprocess at
/Users/anders.bengtsson/.rvm/gems/jruby-1.6.2/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:235
process at
/Users/anders.bengtsson/.rvm/gems/jruby-1.6.2/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:203
initiate_event_loop! at
/Users/anders.bengtsson/.rvm/gems/jruby-1.6.2/gems/net-ssh-gateway-1.1.0/lib/net/ssh/gateway.rb:198
initiate_event_loop! at
/Users/anders.bengtsson/.rvm/gems/jruby-1.6.2/gems/net-ssh-gateway-1.1.0/lib/net/ssh/gateway.rb:197
call at org/jruby/RubyProc.java:268
call at org/jruby/RubyProc.java:232
It seems JRuby-related, but also SSH-related?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email