#Discord gateway doesnt work doesnt matter what i try
1 messages · Page 1 of 1 (latest)
Exec approval is required, but native chat exec approvals are not configured on Discord.
Approve it from the Web UI or terminal UI for now. Discord supports native exec approvals for this account. Configure channels.discord.execApprovals.approvers or commands.ownerAllowFrom; leave channels.discord.execApprovals.enabled unset/auto or set it to true.
Let me check the docs and source so I don’t make up config keys.
that’s frustrating. The exact Discord inbound worker timed out message is a real known symptom, especially with Discord threads and attachments, so you’re not imagining it.
Can you paste these 5 outputs first so we can separate “transport/auth is broken” from “Discord worker got wedged”:
openclaw --version
openclaw status --all
openclaw gateway status
openclaw channels status --probe
openclaw logs --follow
Also tell me these 3 things:
- Does the bot still show as online in Discord?
- Did this start right after a thread message with an attachment/video/file?
- Are DMs broken too, or only guild/thread messages?
Fast checks while you gather that:
- In Discord Developer Portal, make sure Message Content Intent is still enabled.
- Make sure the bot still has View Channels, Send Messages, Read Message History, and if you use threads, Send Messages in Threads.
- If this was triggered by a thread attachment, try sending a plain text message in a DM or normal channel too. There’s a known thread/attachment hang issue.
Docs:
- https://docs.openclaw.ai/help/faq
- https://docs.openclaw.ai/help/troubleshooting
- https://docs.openclaw.ai/channels/troubleshooting
- https://docs.openclaw.ai/channels/discord
Likely relevant known bug if your logs match the 1800s hang:
Paste the outputs here and I’ll help narrow it down.
just tell me how i can make this longer than 30 mins: Discord inbound worker timed out.
set channels.discord.inboundWorker.runTimeoutMs.
For 1 hour:
{
channels: {
discord: {
inboundWorker: {
runTimeoutMs: 3600000, // 60 min
},
},
},
}
For disable it entirely:
{
channels: {
discord: {
inboundWorker: {
runTimeoutMs: 0,
},
},
},
}
If you use multi-account Discord, put it under the account instead:
{
channels: {
discord: {
accounts: {
default: {
inboundWorker: {
runTimeoutMs: 3600000,
},
},
},
},
},
}
Then restart the gateway.
Also, if the thing actually timing out is the 30s listener, that is a different knob:
channels.discord.eventQueue.listenerTimeout
Docs section: https://docs.openclaw.ai/channels/discord
Small warning: this only makes the watchdog wait longer, it does not fix the underlying hang.