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

fluentd dies with unexpected error plugin=Fluent::Plugin::ForwardInput title=:event_loop error_class=Errno::ECONNREFUSED error="Connection refused - SSL_accept" #2694

Closed
antoninblanc opened this issue Nov 13, 2019 · 1 comment · Fixed by #2695
Labels
bug Something isn't working

Comments

@antoninblanc
Copy link
Contributor

Describe the bug

2019-11-13 11:55:19 +0100 [warn]: thread exited by unexpected error plugin=Fluent::Plugin::ForwardInput title=:event_loop error_class=Errno::ECONNREFUSED error="Connection refused - SSL_accept"
2019-11-13 11:55:19 +0100 [error]: unexpected error error_class=Errno::ECONNREFUSED error="Connection refused - SSL_accept"
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/server.rb:695:in `accept_nonblock'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/server.rb:695:in `try_handshake'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/server.rb:711:in `try_tls_accept'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/server.rb:738:in `on_readable'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/cool.io-1.5.4/lib/cool.io/io.rb:186:in `on_readable'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/cool.io-1.5.4/lib/cool.io/loop.rb:88:in `run_once'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/cool.io-1.5.4/lib/cool.io/loop.rb:88:in `run'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
  2019-11-13 11:55:19 +0100 [error]: /usr/lib64/ruby/gems/2.4.0/gems/fluentd-1.7.4/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2019-11-13 11:55:19 +0100 [error]: unexpected error error_class=Errno::ECONNREFUSED error="Connection refused - SSL_accept"

Your Environment

  • fluentd 1.7.4
  • Operating system: Gentoo Linux
  • Kernel version: 4.14.55-gentoo

Your Configuration

<source>
  @type forward
  bind ::
  port 24224
  <transport tls>
    cert_path /etc/letsencrypt/live/xxxxxxxxx/fullchain.pem
    private_key_path /etc/letsencrypt/live/xxxxxxxxx/privkey.pem
    private_key_passphrase
  </transport>
  <security>
    shared_key xxxxxxxxx
    self_hostname xxxxxxxxx
  </security>
</source>

Additional context

May be similar to #2135

@repeatedly
Copy link
Member

Ah, SSL_accept returns more different error...
Here is a patch: #2695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants