openclaw - 💡(How to fix) Fix [Bug]: `messages.tts` silently hangs at `tool:tts:started` when provider=elevenlabs (direct curl works — routing layer is the bug)

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…

When messages.tts is configured with provider elevenlabs, calls to the TTS tool get stuck at tool:tts:started and never produce a tool:tts:completed event. The session hangs, the user never gets audio, and the only signal is the missing completion event.

A direct curl to the ElevenLabs API with the same key/voice/text returns 200 with audio bytes immediately, so the failure is in the OpenClaw routing/plugin layer, not at the provider.

Error Message

The plugin appears to hang internally without surfacing an error. No retry, no timeout, no log line indicating the upstream request was even attempted. Add a per-request timeout in the elevenlabs branch of the routing layer, plus an error log line when the upstream HTTP call fails or never starts. A simple curl runner inside the plugin would already reveal the failure point.

Root Cause

TTS reply is a fallback channel for voice-mode users. With this hang, the user has no signal that their request failed.

RAW_BUFFERClick to expand / collapse

Summary

When messages.tts is configured with provider elevenlabs, calls to the TTS tool get stuck at tool:tts:started and never produce a tool:tts:completed event. The session hangs, the user never gets audio, and the only signal is the missing completion event.

A direct curl to the ElevenLabs API with the same key/voice/text returns 200 with audio bytes immediately, so the failure is in the OpenClaw routing/plugin layer, not at the provider.

Reproduce

  1. Configure messages.tts.provider = elevenlabs, valid apiKey, valid voiceId.
  2. Trigger any TTS (e.g. agent finishes a turn that requests TTS reply).
  3. Observe: tool:tts:started fires; no tool:tts:completed; the run eventually times out.
  4. Run the equivalent curl -X POST https://api.elevenlabs.io/v1/text-to-speech/<voiceId> -H "xi-api-key: …" -d '{"text":"…"}' from the same host with the same key — returns 200, MP3 audio bytes.

Expected

TTS request reaches ElevenLabs and the response stream is forwarded back; tool:tts:completed fires.

Actual

The plugin appears to hang internally without surfacing an error. No retry, no timeout, no log line indicating the upstream request was even attempted.

Why this matters

TTS reply is a fallback channel for voice-mode users. With this hang, the user has no signal that their request failed.

Environment

OpenClaw 2026.5.7 (eeef486); macOS; messages.tts plugin.

Suggestion

Add a per-request timeout in the elevenlabs branch of the routing layer, plus an error log line when the upstream HTTP call fails or never starts. A simple curl runner inside the plugin would already reveal the failure point.

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

openclaw - 💡(How to fix) Fix [Bug]: `messages.tts` silently hangs at `tool:tts:started` when provider=elevenlabs (direct curl works — routing layer is the bug)