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] Error when try connects to Elastic (ECK) #488

Open
weyderfs opened this issue Apr 5, 2024 · 0 comments
Open

[fluentd] Error when try connects to Elastic (ECK) #488

weyderfs opened this issue Apr 5, 2024 · 0 comments

Comments

@weyderfs
Copy link

weyderfs commented Apr 5, 2024

Guys,

I'm having a problem deploying Chart with the following error:

The client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product.
2024-04-05 20:02:49 +0000 [error]: #0 unexpected error error_class=Elastic::Transport::Transport::Error error="EOFError (EOFError)"
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elastic-transport-8.2.2/lib/elastic/transport/transport/base.rb:324:in `rescue in perform_request'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elastic-transport-8.2.2/lib/elastic/transport/transport/base.rb:285:in `perform_request'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elastic-transport-8.2.2/lib/elastic/transport/transport/http/faraday.rb:36:in `perform_request'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elastic-transport-8.2.2/lib/elastic/transport/client.rb:174:in `perform_request'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elasticsearch-8.8.0/lib/elasticsearch.rb:71:in `method_missing'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/elasticsearch-api-8.8.0/lib/elasticsearch/api/actions/info.rb:41:in `info'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-elasticsearch-5.3.0/lib/fluent/plugin/out_elasticsearch.rb:498:in `detect_es_major_version'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-elasticsearch-5.3.0/lib/fluent/plugin/out_elasticsearch.rb:489:in `block in handle_last_seen_es_major_version'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-elasticsearch-5.3.0/lib/fluent/plugin/elasticsearch_index_template.rb:56:in `retry_operate'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-elasticsearch-5.3.0/lib/fluent/plugin/out_elasticsearch.rb:486:in `handle_last_seen_es_major_version'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-elasticsearch-5.3.0/lib/fluent/plugin/out_elasticsearch.rb:338:in `configure'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.16.2/lib/fluent/plugin.rb:187:in `configure'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.16.2/lib/fluent/agent.rb:132:in `add_match'
  2024-04-05 20:02:49 +0000 [error]: #0 /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.16.2/lib/fluent/agent.rb:74:in `block in configure'

The configMap:

    # Send the logs to the standard output
    <match **>
      @type elasticsearch
      include_tag_key true
      host "#{ENV['FLUENT_ELASTICSEARCH_HOST']}"
      port "#{ENV['FLUENT_ELASTICSEARCH_PORT']}"
      user "#{ENV['FLUENT_ELASTICSEARCH_USER']}"
      password "#{ENV['FLUENT_ELASTICSEARCH_PASSWORD']}"
      ssl_verify false      
      logstash_format true
    </match>
  • The Chart version: 0.5.2
  • kind: "DaemonSet"
  • variant: elasticsearch8

Has anyone had this problem and managed to resolve it?

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

1 participant