frequent calls to sftp.upload! causes "IOError : Unable to establish loopback 
connection"
-----------------------------------------------------------------------------------------

                 Key: JRUBY-4936
                 URL: http://jira.codehaus.org/browse/JRUBY-4936
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5.1
         Environment: Windows XP, Java 1.6.0_18, net-ssh 2.0.23 gem, net-sftp 
2.0.4 gem
            Reporter: Shane Witbeck
            Assignee: Thomas E Enebo


Apologies if this is not the right place to file this issue. Since the same 
code works using MRI, I thought this might be a good place to start. 

I have some code that uploads dozens of files to a server via sftp.upload!. 
After several files upload successfully, I get the following exception:

Buildr aborted!
IOError : Unable to establish loopback connection
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/ruby_compat.rb:22:in
 `io_select'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/packet_stream.rb:73:in
 `a
vailable_for_read?'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/packet_stream.rb:85:in
 `n
ext_packet'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/session.rb:169:in
 `poll_m
essage'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/session.rb:164:in
 `loop'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/session.rb:164:in
 `poll_m
essage'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:456:in
 `dispa
tch_incoming_packets'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:213:in
 `prepr
ocess'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:197:in
 `proce
ss'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:161:in
 `loop'

C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:161:in
 `loop'

C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:110:in
 `close
'
C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/net-sftp-2.0.4/lib/net/sftp.rb:36:in 
`start'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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


Reply via email to