GithubHelp home page GithubHelp logo

Comments (6)

yehosef avatar yehosef commented on July 29, 2024 1

installed sudo gem install excon and it works now - thanks!

from fluent-plugin-elasticsearch.

pitr avatar pitr commented on July 29, 2024

Is this still a problem? Is there a chance this sends nil to fluentd-plugin-elasticsearch?

from fluent-plugin-elasticsearch.

pitr avatar pitr commented on July 29, 2024

Oh, this is on es.ping! The exception is thrown from patron's C code. Please update to v0.8.0 to see if this is still an issue. We switched to use excon gem.

from fluent-plugin-elasticsearch.

gtmtech avatar gtmtech commented on July 29, 2024

I am also getting this, using excon gem

2015-10-24 16:08:06 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-10-24 16:08:07 +0000 error_class="TypeError" error="no implicit conversion of nil into String" plugin_id="output_from_docker"
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon/connection.rb:89:in `initialize'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon.rb:126:in `new'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon.rb:126:in `new'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb:53:in `call'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/http/faraday.rb:21:in `block in perform_request'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/base.rb:191:in `call'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/base.rb:191:in `perform_request'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/client.rb:119:in `perform_request'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/actions/ping.rb:20:in `block in ping'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/utils.rb:191:in `__rescue_from_not_found'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/actions/ping.rb:19:in `ping'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:64:in `client'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:171:in `rescue in send'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:169:in `send'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:163:in `write'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/buffer.rb:325:in `write_chunk'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/buffer.rb:304:in `pop'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/output.rb:321:in `try_flush'
  2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/output.rb:140:in `run'

from fluent-plugin-elasticsearch.

pitr avatar pitr commented on July 29, 2024

@gtmtech can you share your config?

from fluent-plugin-elasticsearch.

goller avatar goller commented on July 29, 2024

I think I understand @gtmtech 's issue.
If you don't have excon installed then you get his error.

excon_options = { client_key: @client_key, client_cert: @client_cert, client_key_pass: @client_key_pass }

from fluent-plugin-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.