JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-5529

[1.9] undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x246adb31> (NoMethodError)

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: JRuby-OSSL 0.7.3
    • Fix Version/s: JRuby 1.7.1
    • Component/s: OpenSSL, Ruby 1.9.2, Ruby 1.9.3
    • Labels:
      None
    • Environment:
    • Number of attachments :
      1

      Description

      /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/bin/jruby --1.9 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/vsrikarunyan/workspace/mine/lab/linkedin.rb
      /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/protocol.rb:135:in `rbuf_fill': undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x246adb31> (NoMethodError)
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/protocol.rb:116:in `readuntil'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/protocol.rb:126:in `readline'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:2211:in `read_status_line'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:2200:in `read_new'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:1183:in `transport_request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:1169:in `request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:1162:in `request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:627:in `start'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/1.9/net/http.rb:1160:in `request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/gems/1.8/gems/oauth-0.4.4/lib/oauth/consumer.rb:164:in `request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/gems/1.8/gems/oauth-0.4.4/lib/oauth/consumer.rb:197:in `token_request'
      from /app/jruby/JRuby.Framwork/Versions/1.6.0.RC2/lib/ruby/gems/1.8/gems/oauth-0.4.4/lib/oauth/consumer.rb:139:in `get_request_token'
      from /Users/vsrikarunyan/workspace/mine/lab/linkedin.rb:21:in `(root)'
      from org/jruby/RubyKernel.java:1073:in `load19'
      from -e:1:in `(root)'

      Process finished with exit code 1

        Issue Links

          Activity

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Venkateshwaralu Srikarunyan
            • Votes:
              17 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: