Git Product home page Git Product logo

Comments (7)

tyronedougherty avatar tyronedougherty commented on July 18, 2024

I've got the same issue here. Any suggestions from people? It seems like previously Faraday Middleware was not compatible with Faraday 0.9 but that looks like it was fixed ?

I'm not a ruby dev so I'm not particularly familiar with where to go from here, so any suggestions would be helpful! :)

from fluent-plugin-aws-elasticsearch-service.

tyronedougherty avatar tyronedougherty commented on July 18, 2024

I've found the source of the issue and have a fix! It seems that Ruby was not installing the gems in a place that the td-agent user has access to and therefore could not require the faraday_middleware gem. To fix this, first uninstall faraday_middleware with

sudo gem uninstall faraday_middleware

then reinstall it under the td-agent user using the following command:

sudo -u td-agent /usr/sbin/td-agent-gem install faraday_middleware

I also then stumbled across an issue whereby the plugin was unable to connect to our AWS Elasticsearch endpoint when we were just specifying the domain. To fix this, you must specify the protocol and port. For example, our endpoint config now looks like this:

<endpoint>
   url "http://xxx.ap-southeast-2.es.amazonaws.com:80"
   region "ap-southeast-2"
   access_key_id "xxx"
   secret_access_key "xxx"
</endpoint>

I hope this fixes any issues anyone might have!
cc @BoGs

from fluent-plugin-aws-elasticsearch-service.

atomita avatar atomita commented on July 18, 2024

Hi @BoGs.

I'm sorry, "v0.0. *" is bug-ridden.
Please try using the "v0.1.0".

thanks!

from fluent-plugin-aws-elasticsearch-service.

atomita avatar atomita commented on July 18, 2024

sorry...

I was mistaken dependencies.
I removed the "require 'faraday_middleware'".

Please try using the "v0.1.1".

thanks

from fluent-plugin-aws-elasticsearch-service.

fragtom avatar fragtom commented on July 18, 2024

thx for fixing that lines, I've removed gem install procedure of my docker container.

from fluent-plugin-aws-elasticsearch-service.

BoGs avatar BoGs commented on July 18, 2024

Thanks for the new version - it is working now. Thanks for the quick response.

from fluent-plugin-aws-elasticsearch-service.

atomita avatar atomita commented on July 18, 2024

Thank you for the reply!

from fluent-plugin-aws-elasticsearch-service.

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.