openclaw - 💡(How to fix) Fix Gateway restart hangs on Telegram deleteWebhook retry loop — blocks boot 30+ minutes [1 comments, 2 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#80454Fetched 2026-05-11 03:14:26
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
closed ×1commented ×1

Code Example

[telegram] deleteWebhook failed: Network request for 'deleteWebhook' failed!
[telegram] Telegram webhook cleanup failed: Network request for 'deleteWebhook' failed!; retrying in 2.04s.
[boot] agent run failed: session file locked (timeout 10000ms): sessions.json.lock
RAW_BUFFERClick to expand / collapse

Version: OpenClaw 2026.4.24 (cbcfdf6) OS: macOS, Apple Silicon MacBook Air

Problem: When the gateway crashes or restarts, it enters an infinite retry loop trying to clean up the Telegram webhook via deleteWebhook. Each attempt fails and retries every 2 seconds, blocking the entire boot sequence. Gateway stays unreachable for 30+ minutes. Happens multiple times per day.

Log pattern (repeating):

[telegram] deleteWebhook failed: Network request for 'deleteWebhook' failed!
[telegram] Telegram webhook cleanup failed: Network request for 'deleteWebhook' failed!; retrying in 2.04s.
[boot] agent run failed: session file locked (timeout 10000ms): sessions.json.lock

Also: Cannot update OpenClaw — recent updates break the install. Stuck on 2026.4.24.

Expected: Gateway should boot even if webhook cleanup fails — skip or timeout after 1-2 attempts.

Note from Discord (Krill): Newer code may already treat this as non-fatal. Include here for tracking

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