Comments (9)
I get a similar error (Listen loop error), but with SSL, using Ruby 1.9.3p125
Mon Apr 23 15:43:08 -0700 2012: Listen loop error: #<OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv3 read client certificate A>
/Users/spike/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/openssl/ssl-internal.rb:166:in `accept'
/Users/spike/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/openssl/ssl-internal.rb:166:in `accept'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/server.rb:217:in `run'
(eval):3:in `each_without_optional_block'
(eval):3:in `each'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/server.rb:213:in `run'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/server.rb:204:in `initialize'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/server.rb:204:in `new'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/server.rb:204:in `run'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/lib/puma/cli.rb:428:in `run'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/gems/puma-1.2.1/bin/puma:10
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/bin/puma:19:in `load'
/Users/spike/.rvm/gems/ruby-1.8.7-p357@myapp/bin/puma:19
It is nonfatal, the request still is handled correctly, there are no noticeable effects as a result, but I see this in the log. My guess is that Puma is trying to read the client certificate, but there is none, and instead of failing that routine gracefully it outputs this error?
Thanks
from puma.
I get the same error with MRI 1.9.3p194, even on puma 1.4.0
2012-06-07 21:23:31 +0000: Listen loop error: #<OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=unknown state>
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:164:in `accept'
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:164:in `accept'
/usr/local/lib/ruby/gems/1.9.1/gems/puma-1.4.0/lib/puma/server.rb:217:in `block (2 levels) in run'
/usr/local/lib/ruby/gems/1.9.1/gems/puma-1.4.0/lib/puma/server.rb:213:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/puma-1.4.0/lib/puma/server.rb:213:in `block in run'
from puma.
BTW I'm using Ubuntu Server 12.04 (32bit) and the site works, but that gets printed to the logs.
from puma.
The most recent version cited here is 1.4.0. Can any of you confirm if this is still an issue with the 2.0 betas?
from puma.
I am getting a similar error while running puma-1.6.3 java on jruby,
Error in reactor loop escaped: Detected invalid array contents due to unsynchronized modifications with concurrent users (ConcurrencyError)
org/jruby/RubyArray.java:2494:in `delete'
/home/developer/.rvm/gems/jruby-1.7.2/gems/puma-1.6.3-java/lib/puma/reactor.rb:51:in `run'
org/jruby/RubyArray.java:1613:in `each'
/home/developer/.rvm/gems/jruby-1.7.2/gems/puma-1.6.3-java/lib/puma/reactor.rb:26:in `run'
/home/developer/.rvm/gems/jruby-1.7.2/gems/puma-1.6.3-java/lib/puma/reactor.rb:95:in `run_in_thread'
_____________________________________________________________________________________________
developer@localhost ~ $ jruby --version
jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on OpenJDK 64-Bit Server VM 1.7.0_09-b30 [linux-amd64]
developer@localhost ~ $ gem list puma
*** LOCAL GEMS ***
puma (1.6.3 java)
from puma.
This is fixed in 2.0.
from puma.
Experienced same issue on heroku during stress and security testing. Using rails 4.0, ruby 2.0.0p247 and puma 2.5.0.
Error message:
2013-08-14T10:06:48.859102+00:00 app[web.1]: Error in reactor loop escaped: closed stream (IOError)
2013-08-14T10:06:48.959732+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.5.0/lib/puma/reactor.rb:99:in `close'
2013-08-14T10:06:49.061355+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.5.0/lib/puma/reactor.rb:99:in `ensure in run'
2013-08-14T10:06:49.166861+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.5.0/lib/puma/reactor.rb:100:in `run'
2013-08-14T10:06:49.272039+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.5.0/lib/puma/reactor.rb:107:in `block in run_in_thread'
Update: Saw puma 2.5.1 was released. Will update and report soon.
Update: 2.5.1 also affected.
from puma.
Cast @evanphx
from puma.
@x3qt Please open a new issue with as much info as you have
from puma.
Related Issues (20)
- Puma and Puma Dev Linux issue
- Phased-Restart Causes Action Cable Connection Loss on Rails App Restart HOT 3
- Add a hook for "before shutdown" HOT 6
- Systemd watchdog kills puma during hot restart. HOT 4
- NoMethodError: undefined method `release' for Rack:Module error at "rails s" initialization time HOT 5
- Staging environment, request.ENV['HTTP_HOST'] displays 2 urls when it should be a single url HOT 1
- HttpParserError raised when body (chunk) exceeds 4096 bytes does not end with "\r\n" HOT 4
- undefined method `log_writer' for #<Puma::Launcher on usin plugin :solid_queue in puma HOT 1
- `TestWorkerGemIndependence#test_changing_nio4r_version_during_phased_restart` fails in head builds
- Option to restrict cipher suites for TLS1.3
- Requests with a caret (`<` or `>`) in a query parameter raise a `Puma::HttpParserError` HOT 10
- Random freezes in dev mode
- Puma doesn't start the Rails app after run
- "undefined method `on_booted` for nil:NilClass" on "pumactl start" HOT 2
- Large number of workers are booting too long or not booting the first time HOT 4
- What options are not available when using `rails s`? HOT 1
- MAX_CHUNK_HEADER_SIZE = 4096 is too small for podman HOT 6
- Puma config get evaluated twice with pumactl
- question about puma architecture
- Windows - Puma compiled without ssl support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puma.