openclaw - 💡(How to fix) Fix [Bug]: Twitch channel enabled but never connects after update (schema/config mismatch, no clear validation path) [1 participants]

Official PRs (…)
ON THIS PAGE

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#60041Fetched 2026-04-08 02:37:03
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Summary

After updating OpenClaw, Twitch channel shows as enabled but never successfully connects. Status reports: “Account has never connected successfully.”

Environment

• OpenClaw version: 2026.4.1 (upgraded via npm global install) • Host: Linux (Raspberry Pi) • Gateway managed via openclaw gateway commands • Twitch plugin appears bundled/enabled

What we expected

Twitch channel should connect and join chat once valid credentials are present.

What happened

• Twitch remains in WARN/unconnected state • We hit config schema friction while trying multiple config formats • OpenCLAW onboard did not expose a clear Twitch path in this environment • This created a chicken-and-egg flow where config discovery is hard without a successful load path

Repro (high-level)

  1. Upgrade OpenClaw to the latest (npm install -g openclaw@latest)
  2. Configure Twitch credentials in env
  3. Enable Twitch channel in config
  4. Restart gateway
  5. Run openclaw status --deep
  6. Observe Twitch WARN: account has never connected successfully • Tried both flat config and accounts.default config shape • Tried fresh tokens • Bot account was a moderator in the channel • Channel/account names verified correct

Notes

• Credentials were rotated/refreshed during testing • Bot account is a moderator in the target channel • We intentionally redacted channel/account identifiers for security

Requested improvements

  1. Clear canonical Twitch config schema example for current release
  2. Better validation errors (show exact invalid path + expected shape)
  3. OpenCLAW onboard parity for Twitch setup in all supported environments
  4. A dry-run config validation command that includes channel/plugin schema checks before restart
  5. Connection diagnostics section for Twitch (auth, scopes, channel join, rate limits)

Impact

This blocks a production-safe Twitch rollout and increases the risk of restarts while troubleshooting config shape issues.

Error Message

• Twitch remains in WARN/unconnected state 6. Observe Twitch WARN: account has never connected successfully 5. Observe Twitch shows ON / WARN with “Account has never connected successfully.” The Twitch plugin appears to authenticate and log Connected to Twitch as <bot>, but immediately enters the health-monitor auto-restart loop. In openclaw status --deep, Twitch shows ON / WARN with Account has never connected successfully, and the connection never stabilizes.

Root Cause

Summary

After updating OpenClaw, Twitch channel shows as enabled but never successfully connects. Status reports: “Account has never connected successfully.”

Environment

• OpenClaw version: 2026.4.1 (upgraded via npm global install) • Host: Linux (Raspberry Pi) • Gateway managed via openclaw gateway commands • Twitch plugin appears bundled/enabled

What we expected

Twitch channel should connect and join chat once valid credentials are present.

What happened

• Twitch remains in WARN/unconnected state • We hit config schema friction while trying multiple config formats • OpenCLAW onboard did not expose a clear Twitch path in this environment • This created a chicken-and-egg flow where config discovery is hard without a successful load path

Repro (high-level)

  1. Upgrade OpenClaw to the latest (npm install -g openclaw@latest)
  2. Configure Twitch credentials in env
  3. Enable Twitch channel in config
  4. Restart gateway
  5. Run openclaw status --deep
  6. Observe Twitch WARN: account has never connected successfully • Tried both flat config and accounts.default config shape • Tried fresh tokens • Bot account was a moderator in the channel • Channel/account names verified correct

Notes

• Credentials were rotated/refreshed during testing • Bot account is a moderator in the target channel • We intentionally redacted channel/account identifiers for security

Requested improvements

  1. Clear canonical Twitch config schema example for current release
  2. Better validation errors (show exact invalid path + expected shape)
  3. OpenCLAW onboard parity for Twitch setup in all supported environments
  4. A dry-run config validation command that includes channel/plugin schema checks before restart
  5. Connection diagnostics section for Twitch (auth, scopes, channel join, rate limits)

Impact

This blocks a production-safe Twitch rollout and increases the risk of restarts while troubleshooting config shape issues.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Summary

After updating OpenClaw, Twitch channel shows as enabled but never successfully connects. Status reports: “Account has never connected successfully.”

Environment

• OpenClaw version: 2026.4.1 (upgraded via npm global install) • Host: Linux (Raspberry Pi) • Gateway managed via openclaw gateway commands • Twitch plugin appears bundled/enabled

What we expected

Twitch channel should connect and join chat once valid credentials are present.

What happened

• Twitch remains in WARN/unconnected state • We hit config schema friction while trying multiple config formats • OpenCLAW onboard did not expose a clear Twitch path in this environment • This created a chicken-and-egg flow where config discovery is hard without a successful load path

Repro (high-level)

  1. Upgrade OpenClaw to the latest (npm install -g openclaw@latest)
  2. Configure Twitch credentials in env
  3. Enable Twitch channel in config
  4. Restart gateway
  5. Run openclaw status --deep
  6. Observe Twitch WARN: account has never connected successfully • Tried both flat config and accounts.default config shape • Tried fresh tokens • Bot account was a moderator in the channel • Channel/account names verified correct

Notes

• Credentials were rotated/refreshed during testing • Bot account is a moderator in the target channel • We intentionally redacted channel/account identifiers for security

Requested improvements

  1. Clear canonical Twitch config schema example for current release
  2. Better validation errors (show exact invalid path + expected shape)
  3. OpenCLAW onboard parity for Twitch setup in all supported environments
  4. A dry-run config validation command that includes channel/plugin schema checks before restart
  5. Connection diagnostics section for Twitch (auth, scopes, channel join, rate limits)

Impact

This blocks a production-safe Twitch rollout and increases the risk of restarts while troubleshooting config shape issues.

Steps to reproduce

  1. Install/update to OpenClaw 2026.4.2
  2. Configure Twitch channel with a valid bot username, client ID, access token, target channel, and allowlist
  3. Restart gateway
  4. Run openclaw status --deep
  5. Observe Twitch shows ON / WARN with “Account has never connected successfully.”
  6. Check logs and observe pattern: • Connected to Twitch as <bot> • immediate auto-restart attempt 1/10 in 5s • repeats until retry limit

Expected behavior

With valid Twitch credentials and a correct channel config, the Twitch channel should connect successfully, remain connected, join chat, and show as healthy in openclaw status --deep instead of entering an auto-restart loop.

Actual behavior

The Twitch plugin appears to authenticate and log Connected to Twitch as <bot>, but immediately enters the health-monitor auto-restart loop. In openclaw status --deep, Twitch shows ON / WARN with Account has never connected successfully, and the connection never stabilizes.

OpenClaw version

OpenClaw 2026.4.2

Operating system

Linux 6.12.75+rpt-rpi-2712 (arm64) on Raspberry Pi 5, Node.js 24.13.0

Install method

No response

Model

claude-opus-4-6; gpt-5.4

Provider / routing chain

• Channel: Twitch (via @openclaw/twitch bundled plugin) • Auth: StaticAuthProvider (no clientSecret / no token refresh) • Token source: env var (${TWITCH_ACCESS_TOKEN}) • Config shape: channels.twitch.accounts.default • Gateway: self-hosted, systemd, loopback bind • Health monitor: triggers auto-restart loop immediately after IRC connect • Fallback: none — retries until 10/10 attempts exhausted, then stops

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 issue with the Twitch channel not connecting successfully after updating OpenClaw may be resolved by verifying the config schema and ensuring correct credentials, as well as potentially modifying the health monitor settings to prevent immediate auto-restart attempts.

Guidance

  • Review the Twitch config schema example for the current OpenClaw release to ensure correct configuration format.
  • Verify that the credentials (bot username, client ID, access token, target channel, and allowlist) are correct and properly set in the environment variables.
  • Check the logs for any specific error messages or patterns that may indicate the cause of the connection issue, such as authentication or rate limit problems.
  • Consider modifying the health monitor settings to introduce a delay between auto-restart attempts or to disable the auto-restart loop temporarily for troubleshooting purposes.

Example

No specific code example is provided due to the lack of explicit code references in the issue, but ensuring the config shape matches the expected format (e.g., channels.twitch.accounts.default) is crucial.

Notes

The issue seems to be related to the configuration and authentication process. However, without more detailed logs or specific error messages, it's challenging to pinpoint the exact cause. The requested improvements, such as better validation errors and a dry-run config validation command, could significantly aid in diagnosing and resolving the issue.

Recommendation

Apply a workaround by carefully reviewing and adjusting the Twitch configuration and credentials, and consider temporarily adjusting the health monitor settings to prevent the auto-restart loop, allowing for more detailed troubleshooting and potentially resolving the connection issue.

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

With valid Twitch credentials and a correct channel config, the Twitch channel should connect successfully, remain connected, join chat, and show as healthy in openclaw status --deep instead of entering an auto-restart loop.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING