#telegram stopped working
16 messages · Page 1 of 1 (latest)
Let me check the docs against that error so I can give you a clean fix.
I checked the gist. This is not a Telegram transport failure, the agent is dying before it can reply.
The key error is:
Embedded agent failed before reply: Sandbox mode requires Docker, but the "docker" command was not found in PATH
So the fix is:
- Please paste:
openclaw --version
- Then run:
openclaw doctor
openclaw sandbox explain
- If you do not want sandboxing right now, the quickest fix is:
openclaw config set agents.defaults.sandbox.mode off
openclaw gateway restart
- If you do want sandboxing, install Docker and make sure the gateway service can see
dockerin its PATH, then restart the gateway.
One important nuance: your failing session is telegram:direct:..., so if you set agents.defaults.sandbox.mode: "non-main", that Telegram session can still be sandboxed.
Docs:
https://docs.openclaw.ai/cli/doctor
https://docs.openclaw.ai/gateway/sandboxing
https://docs.openclaw.ai/help/troubleshooting
If you paste openclaw --version and the doctor output, I can tell you the exact next step.
OpenClaw 2026.4.12 (1c0672b)
I dont use sandboxing as I dont have docker etc
https://gist.github.com/viklall/7353e270b00834633fefadf5faf57bef
I’m checking the exact config path so I don’t send you on a goose chase.
Yep, then your config still has sandboxing enabled somewhere.
From the logs, OpenClaw is trying to sandbox the Telegram session, and since Docker is missing it crashes before replying.
Please run these and paste the output:
openclaw config get agents.defaults.sandbox.mode
openclaw config get agents.list
openclaw sandbox explain --session 'agent:main:telegram:direct:473602828'
Most likely one of these is true:
agents.defaults.sandbox.modeisnon-mainorall- your
mainagent has an override underagents.list[].sandbox.mode
If you want sandboxing fully off, the fix is usually:
openclaw config set agents.defaults.sandbox.mode off
openclaw gateway restart
But if agents.list shows an agent-specific override, that also needs to be set to off (agent-specific config wins).
Small gotcha from the docs: non-main is based on the session key, not just “groups”, so a Telegram direct session can still count as non-main and get sandboxed.
Relevant docs:
https://docs.openclaw.ai/gateway/sandboxing
https://docs.openclaw.ai/cli/sandbox
https://docs.openclaw.ai/help/faq
Paste those 3 outputs and I’ll point at the exact bad setting.
Nice, we found it.
Your config has:
agents.defaults.sandbox.mode = non-main
and your main agent has no override, so Telegram direct sessions are being sandboxed. Since you do not have Docker, they fail.
You can fix it with:
openclaw config set agents.defaults.sandbox.mode off
openclaw gateway restart
Then verify with:
openclaw sandbox explain --session 'agent:main:telegram:direct:473602828'
It should change from:
runtime: sandboxedmode: non-main
to:
runtime: directmode: off
Then test Telegram again.
Docs:
https://docs.openclaw.ai/gateway/sandboxing
https://docs.openclaw.ai/cli/sandbox
If it still fails after that, paste the new logs and I’ll keep going.