openclaw - 💡(How to fix) Fix UnraidClaw plugin spams 50+ "invalid config" lines during startup despite valid config [1 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#63234Fetched 2026-04-09 07:56:33
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
referenced ×1

The UnraidClaw plugin spams invalid config: serverUrl: must have required property 'serverUrl', apiKey: must have required property 'apiKey' roughly every 300ms during gateway startup, producing 50+ log lines over ~25 seconds before the gateway reaches ready state. Once ready, the plugin loads correctly and all 40 tools register fine.

The config is valid — serverUrl, apiKey, and tlsSkipVerify are all present under plugins.entries.unraidclaw.config. The issue appears to be a timing problem: plugin config validation runs repeatedly before the config values are fully resolved.

Error Message

Gateway startup log (stderr, timestamps condensed):

Root Cause

The UnraidClaw plugin spams invalid config: serverUrl: must have required property 'serverUrl', apiKey: must have required property 'apiKey' roughly every 300ms during gateway startup, producing 50+ log lines over ~25 seconds before the gateway reaches ready state. Once ready, the plugin loads correctly and all 40 tools register fine.

The config is valid — serverUrl, apiKey, and tlsSkipVerify are all present under plugins.entries.unraidclaw.config. The issue appears to be a timing problem: plugin config validation runs repeatedly before the config values are fully resolved.

Code Example

"plugins": {
  "entries": {
    "unraidclaw": {
      "enabled": true,
      "config": {
        "serverUrl": "https://192.168.x.x:9876",
        "apiKey": "REDACTED",
        "tlsSkipVerify": true
      }
    }
  }
}

---

17:50:14.827 [gateway] UnraidClaw: registered 40 tools     ← config IS valid
17:50:15.139 [gateway] ready (4 plugins, 1.8s)

17:50:16.861 [plugins] unraidclaw invalid config: serverUrl: must have required property 'serverUrl' ...
17:50:17.160 [plugins] unraidclaw invalid config: ...
17:50:17.472 [plugins] unraidclaw invalid config: ...
  ... (repeats ~50 times, every ~300ms) ...
17:50:41.082 [plugins] unraidclaw invalid config: ...

17:50:41.968 [plugins] UnraidClaw: registered 40 tools     ← registers again, works fine
RAW_BUFFERClick to expand / collapse

Summary

The UnraidClaw plugin spams invalid config: serverUrl: must have required property 'serverUrl', apiKey: must have required property 'apiKey' roughly every 300ms during gateway startup, producing 50+ log lines over ~25 seconds before the gateway reaches ready state. Once ready, the plugin loads correctly and all 40 tools register fine.

The config is valid — serverUrl, apiKey, and tlsSkipVerify are all present under plugins.entries.unraidclaw.config. The issue appears to be a timing problem: plugin config validation runs repeatedly before the config values are fully resolved.

Environment

  • OpenClaw: 2026.4.8 (also reproduced on 2026.4.5)
  • Install: Docker (ghcr.io/openclaw/openclaw:latest)
  • OS: Unraid 6.12.54 / Linux x64
  • Plugin: UnraidClaw (bundled)

Config (redacted)

"plugins": {
  "entries": {
    "unraidclaw": {
      "enabled": true,
      "config": {
        "serverUrl": "https://192.168.x.x:9876",
        "apiKey": "REDACTED",
        "tlsSkipVerify": true
      }
    }
  }
}

Observed behavior

Gateway startup log (stderr, timestamps condensed):

17:50:14.827 [gateway] UnraidClaw: registered 40 tools     ← config IS valid
17:50:15.139 [gateway] ready (4 plugins, 1.8s)

17:50:16.861 [plugins] unraidclaw invalid config: serverUrl: must have required property 'serverUrl' ...
17:50:17.160 [plugins] unraidclaw invalid config: ...
17:50:17.472 [plugins] unraidclaw invalid config: ...
  ... (repeats ~50 times, every ~300ms) ...
17:50:41.082 [plugins] unraidclaw invalid config: ...

17:50:41.968 [plugins] UnraidClaw: registered 40 tools     ← registers again, works fine

The plugin validates and registers successfully at 17:50:14, then a separate startup phase hammers the same validation in a tight loop from 17:50:16 to 17:50:41. After that, everything works.

Expected behavior

If the config is valid (which it is — the plugin successfully registers), the validation loop should not fire, or should stop after the first successful registration.

Related issues

  • #44398 — Same pattern for channel plugins (health monitor infinite restart of unconfigured WhatsApp plugin, no backoff)
  • #61683 — Plugin-scoped config errors should degrade gracefully
  • #47654 — Strip unknown keys with warnings instead of crash-looping

This appears to be the tool-plugin variant of the validation-loop family. The config is correct, nested properly under .config, and the plugin works — but some startup phase doesn't see the resolved values and retries aggressively until it does.

extent analysis

TL;DR

The UnraidClaw plugin's validation loop can be mitigated by adjusting the plugin's configuration loading to ensure that the serverUrl and apiKey are fully resolved before validation runs.

Guidance

  • Review the plugin's configuration loading mechanism to identify why the serverUrl and apiKey are not being resolved in time for the initial validation.
  • Consider implementing a delay or a retry mechanism with a backoff strategy to prevent the aggressive retrying of validation.
  • Verify that the plugins.entries.unraidclaw.config object is being properly populated and passed to the plugin's validation function.
  • Investigate if there are any other plugins or components that may be interfering with the UnraidClaw plugin's configuration loading or validation.

Example

No code snippet is provided as the issue seems to be related to the plugin's internal implementation and the provided configuration is already correct.

Notes

The issue appears to be related to a timing problem, where the plugin's validation runs before the configuration values are fully resolved. This is similar to other issues reported, such as #44398 and #61683, which suggests that this might be a more general problem with the plugin framework.

Recommendation

Apply a workaround, such as implementing a delay or a retry mechanism with a backoff strategy, to mitigate the aggressive retrying of validation until the underlying issue is fixed.

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

If the config is valid (which it is — the plugin successfully registers), the validation loop should not fire, or should stop after the first successful registration.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING