-
Notifications
You must be signed in to change notification settings - Fork 351
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
error=":excon is not registered on Faraday::Adapter" with v1.15.0 Docker and fluent-plugin-opensearch #338
Comments
How about adding |
I tried doing a "gem install excon" in my custom docker image, and unfortunately still get the same error. |
Hmm, it seems an issue of fluent-plugin-opensearch.
|
Note: opensearch-transport 2.0.1 & 1.0.1 released at July 26 unlocks faraday 2.x:
As described in https://github.com/opensearch-project/opensearch-ruby/blob/main/opensearch-transport/README.md faraday-excon is additionally required since faraday 2.0. |
I close this issue since it's not this docker image's issue. |
Just wanted to add, that the uken/fluent-plugin-elasticsearch has/had a similar issue (scroll down in issue 1014). In all versions "elasticsearch" is added as dependency, that loads internally the latest faraday version. Starting with version 5.3.0, the plugin becomes usuable again with the latest faraday version, as it relies on version 2.x (before it was 1.x). In summary, not an issue of this image, but one of the plugins installed on top. |
Describe the bug
With FluentD v1.15.0 Docker image for linux/arm64 (tag: fluent/fluentd:v1.15.0-debian-arm64-1.0) I get the following recurring exception, and no records logged to opensearch as desired.
unexpected error error_class=Faraday::Error error=":excon is not registered on Faraday::Adapter" (see full error below)
To Reproduce
Generate a FluentD docker image from the fluent/fluentd:v1.15.0-debian-arm64-1.0 base image.
Install fluent-plugin-opensearch gem.
Try to send records to OpenSearch.
Expected behavior
Records record to opensearch
Your Environment
Your Configuration
Your Error Log
Additional context
Not reproducible with FluentD v1.14.6, fluent-plugin-opensearch v1.0.7
The text was updated successfully, but these errors were encountered: