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

attempted to decode type "array" with method for "str" #7132

Closed
pkopac opened this issue Jan 11, 2021 · 1 comment
Closed

attempted to decode type "array" with method for "str" #7132

pkopac opened this issue Jan 11, 2021 · 1 comment
Labels
team/agent-apm trace-agent

Comments

@pkopac
Copy link

pkopac commented Jan 11, 2021

Output of the info page (if this is a bug)

===============
Agent (v7.24.1)
===============

  Status date: 2021-01-11 12:58:07.430883 UTC
  Agent start: 2021-01-07 15:05:39.563073 UTC
  Pid: 29886
  Go Version: go1.14.7
  Python Version: 3.8.5
  Build arch: amd64
  Agent flavor: agent
  Check Runners: 4
  Log Level: info
...
=========
APM Agent
=========
  Status: Running
  Pid: 29890
  Uptime: 337947 seconds
  Mem alloc: 36,681,744 bytes
  Hostname: xxx
  Receiver: localhost:8126
  Endpoints:
    https://trace.agent.datadoghq.com

  Receiver (previous minute)
  ==========================
    From ruby 2.5.8 (ruby-x86_64-linux), client 0.43.0
      Traces received: 544 (552,876 bytes)
      Spans received: 1100
      
    Default priority sampling rate: 100.0%
    Priority sampling rate for 'service:platform-sidekiq,env:': 100.0%
    Priority sampling rate for 'service:platform-sidekiq,env:prd': 100.0%

  Writer (previous minute)
  ========================
    Traces: 0 payloads, 0 traces, 0 events, 0 bytes
    Stats: 0 payloads, 0 stats buckets, 0 bytes

Describe what happened:
Getting around a million per week, it seems like it's failing to parse, so we're probably missing some traces, but IDK what the payloads are, let me know if you an idea how to provide more debugging info.

yyyy-MM-dd HH:mm:ss UTC | TRACE | ERROR | (pkg/trace/api/api.go:384 in handleTraces) | Cannot decode v0.4 traces payload: msgp: attempted to decode type "array" with method for "str"
E, [yyyy-MM-ddTHH:mm:ss.SSSSSS #[597-32597]] ERROR -- ddtrace: [ddtrace] (/srv/platform/shared/bundle/ruby/2.5.0/gems/ddtrace-0.43.0/lib/ddtrace/transport/http/client.rb:35:in `rescue in send_request') Internal error during HTTP transport request. Cause: Empty input at line 1, column 1 [parse.c:926] in 'msgp: attempted to decode type "array" with method for "str"

Describe what you expected:
No logs about parsing failures.

Steps to reproduce the issue:
IDK

Additional environment details (Operating System, Cloud provider, etc):

@ogaca-dd ogaca-dd added the team/agent-apm trace-agent label Jan 18, 2021
@vandonr
Copy link

vandonr commented Oct 4, 2024

closing as there is no way to repro, it's old, and mostly because it's probably fixed by DataDog/dd-trace-java#6892 and available in tracer versions >= 1.33

@vandonr vandonr closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/agent-apm trace-agent
Projects
None yet
Development

No branches or pull requests

3 participants