Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError #87

Open
confact opened this issue Apr 19, 2017 · 1 comment
Open

NoMethodError #87

confact opened this issue Apr 19, 2017 · 1 comment

Comments

@confact
Copy link

confact commented Apr 19, 2017

I am using this doing http checks on many urls many times per day.

And i get this error many times per day, is it a bug or a problem i have done?

NoMethodErrorlib/net/http/persistent.rb in block in request at line 929
undefined method `<=' for nil:NilClass Did you mean? <=>

This is the code where it fails:

      begin
        connection.requests += 1

        response = http.request req, &block

        if req.connection_close? ||
           ((response.http_version <= '1.0') &&

Could this be wrong url or anything else?

@drbrain
Copy link
Owner

drbrain commented Apr 29, 2020

Can you still reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants