-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Integration: TelegramUse this label to identify Telegram bot integration issues with NemoClaw.Use this label to identify Telegram bot integration issues with NemoClaw.bugSomething isn't workingSomething isn't workingstatus: triageFor new items that haven't been reviewed yet.For new items that haven't been reviewed yet.
Description
Description
Expected behavior
The Telegram bridge forwards the message to the OpenClaw agent and returns a response.
Actual behavior
The bot shows "typing..." briefly then returns:
Agent exited with code 255. (node:13471) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
May be related to #93
Reproduction Steps
Steps to reproduce
- Complete nemoclaw onboard and connect sandbox
- Set TELEGRAM_BOT_TOKEN and NVIDIA_API_KEY and run nemoclaw start
- Send a message to the bot on Telegram
Environment
Environment
- NemoClaw: v0.1.0
- OpenShell: 0.0.14
- macOS: Apple M4 Pro (arm64)
- Container runtime: Docker Desktop
- OpenClaw: 2026.3.11 (29dc654)
Debug Output
Root cause
Running the bridge's SSH command manually reproduces the failure:
[diagnostic] lane task error: lane=main durationMs=10611 error="Error: session file locked (timeout 10000ms):
pid=13485 /sandbox/.openclaw-data/agents/main/sessions/80799eb6-d591-4ab1-8738-e6e834477759.jsonl.lock"
FailoverError: session file locked (timeout 10000ms): pid=13485
/sandbox/.openclaw-data/agents/main/sessions/80799eb6-d591-4ab1-8738-e6e834477759.jsonl.lock
The session file is locked by a previous openclaw agent process. The bridge fires a new SSH call before the
prior one has released the lock, causing all subsequent calls to fail.
Workaround
Remove the stale lock file inside the sandbox:
nemoclaw my-nemoclaw connect
rm /sandbox/.openclaw-data/agents/main/sessions/*.lock
Suggested fix
The bridge should either queue messages and wait for the previous call to complete before spawning a new one,
or use unique per-request session IDs to avoid lock contention.Logs
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Integration: TelegramUse this label to identify Telegram bot integration issues with NemoClaw.Use this label to identify Telegram bot integration issues with NemoClaw.bugSomething isn't workingSomething isn't workingstatus: triageFor new items that haven't been reviewed yet.For new items that haven't been reviewed yet.