Skip to content

undefined method 'wait_readable' for #<OpenSSL::SSL::SSLSocket:0x00007feb9ebacc00> #697

@lukasz-wojcik

Description

@lukasz-wojcik

5.0.3 version has just been released has been released. We have bumped the version of the gem automatically since that was a patch update and then experienced a NoMethodError

undefined method `wait_readable' for #<OpenSSL::SSL::SSLSocket:0x00007feb9ebacc00>

backtrace points to: /gems/http-5.0.3/lib/http/timeout/global.rb:38:

@socket.wait_readable(@time_left)

There is a change in that line in a following PR: #691

However in another place in a similar case the method wait_readable is called on io object not directly on socket:

rescue IO::WaitReadable
wait_readable_or_timeout

# Wait for a socket to become readable
def wait_readable_or_timeout
@socket.to_io.wait_readable(@time_left)
log_time
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions