You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using the same Http Object and use the same connection for sending http requests, my code works fine on Ruby but when i use Jruby i get the Following exception:
IOError: stream closed
close at org/jruby/RubyIO.java:2099
sysclose at org/jruby/ext/openssl/SSLSocket.java:750
close at /home/denimuser/.rvm/gems/ruby-2.0.0-p451/gems/jruby-openssl-0.9.6-java/lib/jopenssl19/openssl/buffering.rb:447
close at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb:76
transport_request at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/http.rb:1339
request at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/http.rb:1302
request at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/http.rb:1295
start at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/http.rb:746
request at /home/denimuser/jruby-1.7.19/lib/ruby/1.9/net/http.rb:1293
Im using the latest Jruby version:
nikhil@client:~/nikhil/client$ jruby -v
jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on OpenJDK 64-Bit Server VM 1.7.0_75-b13 +jit [linux-amd64]
Im suspecting the following code to be culprit, the first request goes out fine but the subsequent fails:
This is pretty old and although there is a code snippet it is not enough for me to easily test 9.x to see if this is a problem there. Please re-open if you find this is broken on 9.x.
Im using the same Http Object and use the same connection for sending http requests, my code works fine on Ruby but when i use Jruby i get the Following exception:
Im using the latest Jruby version:
Im suspecting the following code to be culprit, the first request goes out fine but the subsequent fails:
The text was updated successfully, but these errors were encountered: