Seahorse::Client::NetworkingError error="execution expired"

789 views
Skip to first unread message

lebron james

unread,
Apr 17, 2018, 8:07:16 PM4/17/18
to Fluentd Google Group
My td-agent works fine when i run it manually but when i run td-agent as a service i get the following error.

2018-04-17 23:54:20 +0000 [warn]: #0 failed to flush the buffer. retry_time=2 next_retry_seconds=2018-04-17 23:54:22 +0000 chunk="56a140ac4c67bdff295da862cc521fe5" error_class=Seahorse::Client::NetworkingError error="execution expired"

here is my conf file:

<source>
  @type tail
  format apache
  read_from_head true
  path /data/access.log
#  pos_file /data/access.log.pos
  tag access.log
</source>

<filter access.lo>
  @type record_transformer
  <record>
    log access.log
  </record>
</filter>


<match access.log>
  # plugin type
  @type kinesis_streams

  # your kinesis stream name
  stream_name mielkdev

  # AWS credentials
  aws_key_id    **************************************
  aws_sec_key **************************************

  # AWS region
  region us-east-1

  # Use random value for the partition key
  random_partition_key true
  <buffer>
    # Frequency of ingestion
    flush_interval 3s
    # Parallelism of ingestion
    flush_thread_count 4

    # num_threads
    num_threads 15

    buffer_chunk_limit 2096
    buffer_queue_limit 1024m
    chunk_limit_size 12g
    queue_limit_length 96
    buffer_type memory
  </buffer>

</match>


Mr. Fiber

unread,
Apr 19, 2018, 12:06:19 AM4/19/18
to Fluentd Google Group
I'm not sure the details but there are several possible reasons.
For example, td-agent is running as td-agent user so can't find proper setting for aws.


Masahiro

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lebron james

unread,
Apr 19, 2018, 10:50:15 AM4/19/18
to Fluentd Google Group
Td-agent is running as root

Mr. Fiber

unread,
Apr 25, 2018, 6:58:04 AM4/25/18
to Fluentd Google Group
root is same. I assume td-agent's user doesn't have proper setting for your AWS, credential or something.

On Thu, Apr 19, 2018 at 11:50 PM, lebron james <msek...@gmail.com> wrote:
Td-agent is running as root
Reply all
Reply to author
Forward
0 new messages