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

undefined method closed? #1510

Comments

@vincentwoo
Copy link

just saw this in my dev logs, using SSL:

14:34:06 web.1     | Error reached top of thread-pool: EOFError (EOFError)
14:34:06 web.1     | Error in reactor loop escaped: undefined method `closed?' for #<Puma::MiniSSL::Socket:0x00007fb06edf4a28>
14:34:06 web.1     | Did you mean?  close (NoMethodError)
14:34:06 web.1     | (eval):2:in `closed?'
14:34:06 web.1     | /Users/vwoo/.gem/ruby/2.5.0/gems/puma-3.11.2/lib/puma/reactor.rb:32:in `block in run_internal'
14:34:06 web.1     | /Users/vwoo/.gem/ruby/2.5.0/gems/puma-3.11.2/lib/puma/reactor.rb:32:in `any?'
14:34:06 web.1     | /Users/vwoo/.gem/ruby/2.5.0/gems/puma-3.11.2/lib/puma/reactor.rb:32:in `rescue in run_internal'
14:34:06 web.1     | /Users/vwoo/.gem/ruby/2.5.0/gems/puma-3.11.2/lib/puma/reactor.rb:28:in `run_internal'
14:34:06 web.1     | /Users/vwoo/.gem/ruby/2.5.0/gems/puma-3.11.2/lib/puma/reactor.rb:154:in `block in run_in_thread'
@dayudodo
Copy link

dayudodo commented Feb 6, 2018

a little different:
Error reached top of thread-pool: EOFError (EOFError)
2018-02-06 14:23:51 +0800: SSL error, peer: 127.0.0.1, peer cert: , #<Puma::MiniSSL::SSLError: System error: Undefined error: 0 - 0>

@mirelon
Copy link

mirelon commented Feb 13, 2018

I have the same issue for Puma 3.7.0:

2018-02-13 11:36:05 +0100: SSL error, peer: <ip>, peer cert: , #<Puma::MiniSSL::SSLError: OpenSSL error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request - 336027804>
Error in reactor loop escaped: undefined method `closed?' for #<Puma::MiniSSL::Socket:0x007f969584f2c8> (NoMethodError)
(eval):2:in `closed?'
<path>/vendor/bundle/ruby/2.3.0/gems/puma-3.7.0/lib/puma/reactor.rb:31:in `block in run_internal'
<path>/vendor/bundle/ruby/2.3.0/gems/puma-3.7.0/lib/puma/reactor.rb:31:in `any?'
<path>/vendor/bundle/ruby/2.3.0/gems/puma-3.7.0/lib/puma/reactor.rb:31:in `rescue in run_internal'
<path>/vendor/bundle/ruby/2.3.0/gems/puma-3.7.0/lib/puma/reactor.rb:28:in `run_internal'
<path>/vendor/bundle/ruby/2.3.0/gems/puma-3.7.0/lib/puma/reactor.rb:153:in `block in run_in_thread'

@sb8244
Copy link

sb8244 commented Mar 2, 2018

I am seeing this on 3.11.2 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment