openclaw - 💡(How to fix) Fix Telegram: Agent replies fail in specific session despite healthy connection [2 comments, 3 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#72867Fetched 2026-04-28 06:31:10
View on GitHub
Comments
2
Participants
3
Timeline
4
Reactions
0
Timeline (top)
commented ×2labeled ×2

Fix Action

Fix / Workaround

Description: Agent replies are failing to deliver to Telegram, even though the underlying connection is healthy. Direct messages sent via the message tool are delivered successfully, but standard conversational replies from the agent's main processing loop are not. The issue is session-specific and can be temporarily resolved by resetting the session (/reset), but it eventually reoccurs.

Code Example

- plugins.entries.memory-lancedb: plugin disabled (memory slot set to "memory-core") but config is present
[plugins] active-memory: config.modelFallbackPolicy is deprecated and no longer changes runtime behavior; set config.modelFallback explicitly if you want a fallback model
Slack: ok (252ms)
Telegram: ok (@robbie_2026_bot) (863ms)
Agents: voice (default)
Heartbeat interval: 30m (voice)
Session store (voice): /Users/kelcyagent/.openclaw/agents/voice/sessions/sessions.json (102 entries)
- agent:voice:main (0m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd (7m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd:run:56016ad8-4899-4de7-83c3-406327022670 (7m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd:run:f97e1393-a14e-4a4c-b31e-d0c7d91c0f81 (33m ago)
- agent:voice:telegram:default:direct:1710337261 (55m ago)
RAW_BUFFERClick to expand / collapse

Title: Telegram: Agent replies fail in specific session despite healthy connection

Description: Agent replies are failing to deliver to Telegram, even though the underlying connection is healthy. Direct messages sent via the message tool are delivered successfully, but standard conversational replies from the agent's main processing loop are not. The issue is session-specific and can be temporarily resolved by resetting the session (/reset), but it eventually reoccurs.

Steps to Reproduce:

  1. Engage in a conversation with the agent on Telegram.
  2. At some point, the agent's replies will stop arriving, even though the system shows the turn was completed.
  3. Send a direct test message using message(action="send", channel="telegram", ...) - this message is delivered.
  4. Reset the session. Conversational replies will work again for a while before failing again.

Expected Behavior: All agent replies should be delivered to Telegram consistently.

Actual Behavior: Agent replies get "stuck" in the session delivery pipeline, while more direct message paths work correctly, indicating a session-specific issue rather than a transport or plugin configuration problem.

Diagnostics: The following output from openclaw doctor shows a healthy Telegram connection (Telegram: ok) and no other critical errors that would explain this behavior.

- plugins.entries.memory-lancedb: plugin disabled (memory slot set to "memory-core") but config is present
[plugins] active-memory: config.modelFallbackPolicy is deprecated and no longer changes runtime behavior; set config.modelFallback explicitly if you want a fallback model
Slack: ok (252ms)
Telegram: ok (@robbie_2026_bot) (863ms)
Agents: voice (default)
Heartbeat interval: 30m (voice)
Session store (voice): /Users/kelcyagent/.openclaw/agents/voice/sessions/sessions.json (102 entries)
- agent:voice:main (0m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd (7m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd:run:56016ad8-4899-4de7-83c3-406327022670 (7m ago)
- agent:voice:cron:93365a42-644c-460b-84db-93fd5df091bd:run:f97e1393-a14e-4a4c-b31e-d0c7d91c0f81 (33m ago)
- agent:voice:telegram:default:direct:1710337261 (55m ago)```

extent analysis

TL;DR

Resetting the session using the /reset command may temporarily resolve the issue, but a more permanent fix likely involves investigating and addressing the session-specific delivery pipeline issue.

Guidance

  • Investigate the session delivery pipeline to identify why conversational replies are getting "stuck" while direct messages are delivered successfully.
  • Review the openclaw doctor output to ensure there are no other configuration issues or deprecated settings that could be contributing to the problem.
  • Consider adding logging or debugging statements to the agent's main processing loop to gain more insight into the issue.
  • Test the agent with different conversation scenarios to see if the issue is specific to certain types of messages or interactions.

Example

No specific code snippet can be provided without more information about the agent's implementation, but adding logging statements to the conversational reply handling code could help identify the issue.

Notes

The issue seems to be specific to the session delivery pipeline, and the fact that resetting the session temporarily resolves the issue suggests that there may be a problem with the way sessions are being managed or stored.

Recommendation

Apply workaround: Reset the session using the /reset command when the issue occurs, while also investigating the root cause of the session-specific delivery pipeline issue to find a more permanent fix.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING