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

undefined method `request_uri' #1

Open
ostampflee opened this issue Nov 12, 2019 · 3 comments
Open

undefined method `request_uri' #1

ostampflee opened this issue Nov 12, 2019 · 3 comments

Comments

@ostampflee
Copy link

2019-10-24 20:53:30 +0000 [warn]: #0 emit transaction failed:
error_class=NoMethodError error="undefined method request_uri' for #<URI::Generic:0x00007fa711fcb538>" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-plugin-griddb-1.0.0/lib/fluent/plugin/griddb_auth.rb:51:in create_request'" tag="griddb"

My td-agent.conf includes the following as copied from the guideline document:

<match griddb>
   @type griddb
   host localhost
   port 8080
   cluster defaultCluster
   database public
   container col01
   username admin
   password admin
</match>

I'm using td-agent 3.5, which bundles Fluentd 1.7.0 and Ruby 2.4.0.
How are you installing fluentd on your environment? Manual builds or
rvw and gem install fluentd or ...?

@knonomura
Copy link
Member

Thank you for your usage.

I'll confirm your issue.

@knonomura
Copy link
Member

I'm sorry, but I found my guideline is different from the current source code.
Could you please try with the following setting for td-agent.conf ?

<match griddb>
   @type griddb
   host http://localhost:8080
   cluster defaultCluster
   database public
   container col01
   username admin
   password admin
</match>

I'll update the guideline.

@knonomura
Copy link
Member

I updated by 4df1495 .
But I guess this specification is different from other plugins for Fluentd.
So, in the future I might change this specification.

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

2 participants