[Bug/Problem]: 401 Payload too large #640

Open
opened 2025-10-31 15:16:53 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lukasgierth on GitHub (Oct 23, 2025).

When trying to redeploy my monitoring stack i now get this error:

Image

From the log:

komodo  | 2025-10-23T14:14:19.785395Z  WARN ExecuteRequest{req_id=dca74fc0-2094-49e5-bc4b-98da2bc16480 user_id="68c9b7bdb072e2a77f8877ca" update_id="68fa383b2d958e3f77c66855" request="DeployStack"}: core::api::execute: /execute request dca74fc0-2094-49e5-bc4b-98da2bc16480 error: 413 Payload Too Large: Failed to buffer the request body: length limit exceeded
komodo  | 2025-10-23T14:14:19.785484Z  WARN core::api::execute: /execute request dca74fc0-2094-49e5-bc4b-98da2bc16480 task error: 413 Payload Too Large: Failed to buffer the request body: length limit exceeded

I also tried with logging level debug/trace but that was not really helpful.

What i already did:

  • Set higher limit in traefik for my forgejo instance and for komodo core. Cannot set it for komodo periphery because it is not running behind an external proxy.
Originally created by @lukasgierth on GitHub (Oct 23, 2025). When trying to redeploy my monitoring stack i now get this error: <img width="850" height="288" alt="Image" src="https://github.com/user-attachments/assets/d76bb0bd-a74c-4c07-a37f-988aec84de95" /> From the log: ```bash komodo | 2025-10-23T14:14:19.785395Z WARN ExecuteRequest{req_id=dca74fc0-2094-49e5-bc4b-98da2bc16480 user_id="68c9b7bdb072e2a77f8877ca" update_id="68fa383b2d958e3f77c66855" request="DeployStack"}: core::api::execute: /execute request dca74fc0-2094-49e5-bc4b-98da2bc16480 error: 413 Payload Too Large: Failed to buffer the request body: length limit exceeded komodo | 2025-10-23T14:14:19.785484Z WARN core::api::execute: /execute request dca74fc0-2094-49e5-bc4b-98da2bc16480 task error: 413 Payload Too Large: Failed to buffer the request body: length limit exceeded ``` I also tried with logging level debug/trace but that was not really helpful. What i already did: - Set higher limit in traefik for my forgejo instance and for komodo core. Cannot set it for komodo periphery because it is not running behind an external proxy.
Author
Owner

@lukasgierth commented on GitHub (Oct 26, 2025):

@mbecker20 Tried some things to find out what causes this:

It is my synced main.toml! I had around 9 associated config files for this stack (config_files = []), when i removed them or reduced them to like 4, Redeploying started to work again! So it seems there is a bug when the stack settings have to be send to the periphery maybe (or is it a problem when sending inside komodo core itself?) and that data reaches a certain (unknown to me) size limit.

I hope that info helps fixing this issue! 👍

@lukasgierth commented on GitHub (Oct 26, 2025): @mbecker20 Tried some things to find out what causes this: It is my synced main.toml! I had around 9 associated config files for this stack (config_files = []), when i removed them or reduced them to like 4, Redeploying started to work again! So it seems there is a bug when the stack settings have to be send to the periphery maybe (or is it a problem when sending inside komodo core itself?) and that data reaches a certain (unknown to me) size limit. I hope that info helps fixing this issue! 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#640
No description provided.