Skip to content

NoMethodError empty? false:FalseClass #865

@ethanghunt

Description

@ethanghunt

We have been working on API integrations and have often been running into this error when the targeted API is taking too much traffic.

undefined method `empty?' for false:FalseClass
.../ruby/gems/openssl-3.3.0/lib/openssl/buffering.rb:216:in `read_nonblock'

if @rbuffer.empty?

@rbuffer is false in this scenario, and unfortunately, boolean does not respond to .empty?

I noticed that this line of code has moved or been removed in the most recent commit of the repo, so some investigation may need to be done or it may already be fixed.

Thank you!

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