openclaw - 💡(How to fix) Fix [Bug]: Config write size-drop loop in v2026.5.2 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#77824Fetched 2026-05-06 06:20:45
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Author
Timeline (top)
labeled ×2closed ×1commented ×1

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

Error Message

gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869)

Root Cause

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

Steps to reproduce

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

Expected behavior

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

Actual behavior

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

OpenClaw version

v2026.5.2

Operating system

windows11

Install method

No response

Model

minimax

Provider / routing chain

minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The gateway is generating a malformed write payload, causing a config write size-drop loop, which can be fixed by identifying and correcting the issue with the plugin auto-enable changes.

Guidance

  • Investigate the plugin auto-enable changes to determine why the gateway is generating a truncated config payload missing models, channels, bindings, and gateway sections.
  • Review the code responsible for persisting plugin auto-enable changes to ensure it is correctly handling the config data.
  • Check the OpenClaw version and Node.js version for any known issues or compatibility problems.
  • Consider temporarily disabling the plugin auto-enable feature to prevent the loop from occurring while investigating the issue.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue appears to be specific to the OpenClaw version 2026.5.2 and Node.js version v24.15.0, so any fixes or workarounds may be version-dependent.

Recommendation

Apply a workaround by temporarily disabling the plugin auto-enable feature to prevent the loop from occurring while investigating the issue, as the root cause is not immediately clear and may require further debugging.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Bug Report: Config write size-drop loop in v2026.5.2

Environment:

OpenClaw: 2026.5.2 (8b2a6e5) Node.js: v24.15.0 OS: Windows_NT 10.0.26200 Issue: Gateway tries to persist plugin auto-enable changes → writes a truncated config (~16869 bytes, missing most sections) → size-drop guard rejects it (current: 52121 bytes) → writes .rejected file → auto-restores from backup → retries within seconds → loop repeats.

Frequency: Hundreds of .json.rejected and .json.clobbered files per day. Last 2 files at 19:40 today.

Key logs:

复制 gateway: failed to persist plugin auto-enable changes: Error: Config write rejected: openclaw.json (size-drop:52121->16869) Config auto-restored from backup: openclaw.json (size-drop-vs-last-good:52121->16869) channel reload still deferred after 2665562ms Current config (52121 bytes) is healthy. The rejected payload is consistently ~16869 bytes — gateway appears to be generating a malformed write payload missing models, channels, bindings, gateway sections.

Impact:

Feishu channel reload deferred for minutes at a time System instability during deferral windows

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Config write size-drop loop in v2026.5.2 [1 comments, 2 participants]