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

verify_mode not set in puma. #46

Closed
pretoritus opened this issue Feb 18, 2016 · 2 comments
Closed

verify_mode not set in puma. #46

pretoritus opened this issue Feb 18, 2016 · 2 comments
Assignees
Labels

Comments

@pretoritus
Copy link

We get following error on stdout when we start Logstash with http input configured:

Listen loop error: #<TypeError: can't convert nil into Integer>
org/jruby/puma/MiniSSL.java:162:in `initialize'
org/jruby/puma/MiniSSL.java:131:in `server'
/opt/software/logstash/product/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/minissl.rb:167:in `accept_nonblock'
/opt/software/logstash/product/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/server.rb:328:in `handle_servers'
org/jruby/RubyArray.java:1613:in `each'

It seems that "verify_mode" in puma is not set which is per default nil.

org/jruby/puma/MiniSSL.java:162:
long verify_mode = miniSSLContext.callMethod(threadContext, "verify_mode").convertToInteger().getLongValue();

This affects the Versions 2.1.3, 2.2.1 and 2.2.2. Version 2.2.0 has not this issue.

Release notes of puma 2.16.

=== 2.16.0 / 2016-01-27

  • 7 minor features:
    • Add 'set_remote_address' config option
    • Allow to run puma in silent mode
    • Expose cli options in DSL
    • Support passing JRuby keystore info in ssl_bind DSL
    • Allow umask for unix:/// style control urls
    • Expose old_worker_count in stats url
    • Support TLS client auth (verify_mode) in jruby
@pretoritus
Copy link
Author

Can i support closing this ticket?

@jsvd
Copy link
Contributor

jsvd commented May 6, 2016

closed by #37

@jsvd jsvd closed this as completed May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants