Support » Plugin: DecaLog » datadog traces failed to connect to local host

  • hello dear Pierre.
    I am having a lot of “curl error: Failed to connect to localhost port 8126 after 0 ms: Connection refused”
    this is coming from the traces integration from decalog to the datadog agent, hosted on the same server which is configured in your amazing plugin like this:

    error in datadog screenshot:

    do you have an idea what can cause this?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pierre Lannoy


    Hello @freshuk !
    Is it a new error on server where it was previously working, or is it an error on a new server/config?
    The message indicates that the connection is refused. So it mainly suggests that:
    – localhost is unknown
    – connection is refused from local host (agent config?)
    – the port is wrong
    – the proto is wrong


    Thread Starter freshuk


    this is a new message on server that it didnt happent before.
    most of the traces are flowing fine without error, but maybe 5-8% do get this error.

    Plugin Author Pierre Lannoy


    Ah ok, so it’s not all messages…
    I never saw this.
    Could you try to uncheck all optional fields (in the logger settings) to see if it’s the same thing with a smaller payload?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘datadog traces failed to connect to local host’ is closed to new replies.