Skip to content

HTTP 400: Message size too large #636

@ThomasHappyHotel

Description

@ThomasHappyHotel

Since November 26th, our agent has been shutting down with the following error:

ERROR logdna_agent::_main: bad request, check configuration: 400 Bad Request

In another issue I found that I can expand the agent logs with RUST_LOG=info,mz_http::client=debug. Now we get:

DEBUG mz_http::client: failed request: 400 Bad Request {"status":"not ok","errors":["local:10::Broker: Message size too large"]}

How can I get the agent to run stably again?

P.S.: Can I make the agent restart automatically so that I do not lose logs? I have Restart=on-failure in the service file, but it does not seem to work (at least for this error).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions