-
Notifications
You must be signed in to change notification settings - Fork 18
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 DataReader.cc:224 unexpected mdsd ack status: ACK_DECODE_ERROR, tag '0' #74
Comments
Any update regarding this case ? |
Any update? I'm facing the same issue. |
Update - Adding it just in case if someone comes across similar issue. I was able to fix by using simple logging with color disabled. Colors was causing addition of extra characters. |
Disabling colorization is not always possible, especially when running third-party workloads. Opened this issue to ensure the plugin handles (encodes or sanitizes) such characters safely and successfully: #79 |
Added this code to program class where our apis are being monitored by Geneva. Still receives the Decode error. |
Confirmed by the original user through teams that this fix is not a solution for this error. They don't have this code anymore but it got auto-resolved. |
I am using td-agent_3.8.1-0_amd64.deb and fluent-plugin-mdsd-0.1.9.pre.build.master.71-td.amd64.gem
td-agent.conf is the default one.
<match mdsdNet.**>
@type mdsd
@log_level info
djsonsocket /var/run/mdsd/default_djson.socket
acktimeoutms 5000 # milli-seconds
# Convert hash value to valid json. The => are replaced with :
convert_hash_to_json true
num_threads 1
buffer_chunk_limit 8m
buffer_type file
buffer_path /var/log/td-agent/state/out_mdsd*.buffer
buffer_queue_limit 128
flush_interval 1s
retry_limit 3
retry_wait 10s
However I see that the fluent events sent for logger.info get correctly pushed to mdsd however all other log types (debug, error, exception) are suppressed. In the td-agent.log, I saw below errors:
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=2
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=3
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=0
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=15
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=0
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=1
2021-05-25 12:07:36 +0000 [warn]: #0 incoming chunk is broken: host="127.0.0.1" msg=1
2021-05-25T12:09:39.3500460Z: error DataReader.cc:224 unexpected mdsd ack status: ACK_DECODE_ERROR, tag '0'
2021-05-25T12:12:45.7766050Z: error DataReader.cc:224 unexpected mdsd ack status: ACK_DECODE_ERROR, tag '0'
2021-05-25T12:12:49.5995980Z: error DataReader.cc:224 unexpected mdsd ack status: ACK_DECODE_ERROR, tag '0'
2021-05-25 12:07:21 +0000 [warn]: #0 emit transaction failed: error_class=TypeError error="no implicit conversion of Integer into String" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.11.5/lib/fluent/match.rb:137:in
match?'" tag=0 2021-05-25 12:07:26 +0000 [warn]: #0 emit transaction failed: error_class=TypeError error="no implicit conversion of Integer into String" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.11.5/lib/fluent/match.rb:137:in
match?'" tag=34The text was updated successfully, but these errors were encountered: