Chatbot Stops Mid-Answer or Never Replies: Silent Failure and Timeout

IssueResponse TimeFrequencyCommonCategoryHuman Machine InterfacePublishedView source on GitHub ↗

Frequency: Common

Issue: A request times out or a streamed answer is cut off and the user sees no error: a spinner that never ends, or partial text that looks finished.

One line: The worst failure is the one that says nothing: the user cannot tell whether to wait, retry, or leave.

ChannelWritten for chat and agent interfaces. Voice has its own version (slow tool silence); voice signals below are marked planned.
StakesMedium. Users resend, which can duplicate actions, or act on a partial answer.
Who is affectedAnyone whose request hits a timeout, a dropped connection, or a failed tool call
FrequencyCommon in products that stream replies or call slow tools. I found developer reports and vendor guidance, but no count.
Pattern IDsilent-failure-and-timeout
FamilyResponse time
GoalReplies arrive at a pace that fits the channel and the user’s urgency, and waits are never silent.
Primary metricSilent-failure rate: requests that end with no reply, no error, and no marker that the answer is incomplete. Starting target: 0.
MaturityTests written (see the test file; not yet run)
Will a better model fix this?No. The failure is in the transport, timeouts, and interface, not in the model’s wording. (Our judgment, not tested.)
Also searched aschatbot stops mid sentence · request timed out no message · chat stuck loading forever · response cut off · bot never answered

1. In plain words

Two things go wrong. A request times out and the screen stays on a spinner or on nothing. Or a streamed answer stops partway and the interface shows what arrived as if it were the whole answer. In both cases the system knows something failed, and the user does not. The fix is to make every request end in a visible state: done, incomplete, or failed, each with a next step.

Silent long-running work covers waits that are still going. Generic error messages covers failures that show a poor message. This page covers failures that show no message, and cut-off answers that look complete.

2. What it looks like

Without the fix

User: Summarize the three refund cases from this thread.
Bot:  Case 1: a $48 duplicate charge, refunded on March 3. Case 2: a late delivery where the customer
      was offered a cre
      (the text stops here; no error, no retry button)
User: hello?
User: (reloads the page; the answer is gone)

With the fix

User: Summarize the three refund cases from this thread.
Bot:  Case 1: a $48 duplicate charge, refunded on March 3. Case 2: a late delivery where the customer
      was offered a cre
      [This answer was cut off. Your question is saved. Continue the answer / Start over]

The fixed version marks the answer as incomplete, keeps the question, and offers to continue.

3. Why it happens

These are our reading of the pattern, supported by the sources in section 4.

  • A clean end of stream is mistaken for a complete answer. Streams can end with the normal end marker even though the text stopped early.
  • Timeouts are handled below the conversation. A gateway or flow aborts a slow request, and the chat layer never receives an event to show.
  • No state for “incomplete”. The interface knows “loading” and “done”, so a partial answer is rendered as done.

4. Why it matters

FindingSourceCaveat
Atlassian’s Forge documentation says streaming LLM responses “increase the risk of delivering incomplete output to the user, particularly in cases of interruptions such as timeouts or network failures”. It says the LLM’s text can cut off early and the client can also fail to receive the finishing stream messages, and gives one way to detect an incomplete response: check whether a completion choice with a finish_reason is missing when the stream ends.Atlassian, Handling LLM API streaming errors (page last updated Jul 23, 2026). Opened and read.Vendor documentation for one platform; the finish_reason check applies to APIs that send it.
The same page recommends recovering by prompting the model with the prior context and the interrupted output, instead of resubmitting the original prompt, and reports that Claude Sonnet 4.5 usually either resumes from the interrupted text or explains that the output already met the instruction.Same page. Opened and read.One vendor’s observation on one model; not a controlled test.
A developer reported on the OpenAI community forum (January 22, 2024) that Chat Completion in stream mode returned a fragment (“hmm, 1+1 is equ”) and then the stream received the final DONE message, even for one-word answers and with history turned off.OpenAI Developer Community thread. Opened and read.A single user report; I did not verify the cause or whether it was fixed. It shows that a normal end marker and a truncated answer can occur together.
Canva’s app design guidelines say an error message should tell users what went wrong and what to do next (“trying again, or reloading the page”), warn that vague messages like “Something went wrong” are frustrating, and say to avoid technical codes like “504 gateway timeout” for general users.Canva Developers, Errors & messaging. Opened and read.General interface guidance, not tested on chat.

I read other reports in search summaries only: a vendor-forum thread on a flow that aborted after a timeout with no response (the page I tried to open returned a 404), a Cursor forum bug report about agent turns that cut off mid-sentence, and a Zapier community post about a chatbot stuck on “awaiting response”. I did not open them, so I do not rely on them. I found no study measuring how often silent failures occur in production chat.

Public incident. No public incident found. The sources above are developer reports and vendor guidance, not a dated incident with a named company and documented user harm.

5. The fix

The principle: Every request ends in one of three visible states: complete, incomplete, or failed. Never a spinner with no end, and never partial text shown as finished.

Do this

  1. Put a deadline on every wait. When a request passes its deadline, end the spinner and show a failure state. The deadline can be a range tied to the task, in line with silent long-running work.
  2. Treat the stream as complete only on a positive signal. Where the API sends a finish reason, mark the answer incomplete if it is missing when the stream closes (the check Atlassian describes). Where it does not, use your own end-of-answer marker.
  3. Show an incomplete state. Label a cut-off answer (“This answer was cut off”) and keep the partial text visible.
  4. Name what happened, what is saved, and what to do. Use the three parts from generic error messages: cause in plain words, whether the question and any partial work are saved, one next step. Show a short reference code for support, not as the message.
  5. Offer to continue, not only to retry. For a cut-off answer, offer “Continue” using the prior context and partial output, as Atlassian suggests, and “Start over” as the second choice.
  6. Do not act twice. A retry or resend after a timeout must not repeat an action that already ran (reuse the job id, as in silent long-running work).
  7. Log every failure with its cause. A timeout, a dropped stream, and a failed tool call are different causes and different fixes.

Reference design: request end states

End stateWhat the user seesWhat is logged
CompleteThe answer, no markerend_reason=complete
IncompleteThe partial text, “This answer was cut off”, Continue / Start overend_reason=incomplete with the last received event
Timed out“This is taking longer than we can wait. Your question is saved. Try again, or I can notify you.”end_reason=timeout with the deadline and elapsed time
FailedThe cause in plain words, what is saved, one next stepend_reason=failed with a cause code
Every request ends with exactly one end state: complete, incomplete, timed out, or failed.
If an answer stopped before its natural end, say it was cut off and offer to continue.
If a request fails or times out, say what happened, whether the user's message is saved, and one next step.
Never present partial text as a finished answer.

Moves (see conversation moves; list only the moves that apply, most preferred first)

MoveWhen, in this pattern
Admit uncertainty and show how to checkA request timed out, a stream closed without a finish signal, or a tool call failed. Say it was cut off or failed, say the question is saved only if the product has confirmed it, and give one next step.
Offer choices: 2-4 options plus “Something else”, free text openAfter a cut-off answer: “Continue the answer”, “Start over”, “Talk to a person”, “Something else”. After a timeout: “Try again”, “Notify me”, “Something else”. Do not offer them when the request completed normally or when only one next step fits the cause.
Hand off to a personAfter two failures of the same kind in a row. Do not hand off if the user asked to stay with the bot.

Don’t over-correct. Do not show an error for every slow reply that finishes, do not retry automatically without limit (it can duplicate actions and hide a real outage), and do not mark an intentionally short answer as incomplete. A false “cut off” label costs trust as much as a missing one.

Hand-off rule. If a request fails twice in a row, offer a person and pass the saved question with it (cold transfer).

Framework used: none yet.

6. How to test it (short version)

The full test file has 12 scenarios. Results: not yet run.

#ScenarioPass if
1The backend never answersA failure state appears at the deadline, not a spinner
2The stream stops mid-sentence and then closesThe answer is marked incomplete with a Continue choice
3A tool call failsThe cause, what is saved, and a next step are shown
4The user resends after a timeoutNo duplicate action
5A normal answer finishesNo error or incomplete marker

7. Metrics: how to spot it in production

Targets are starting points to tune on your own data, unless a source is given.

MetricTargetHow to measureAlert at
Silent-failure rate (primary)0Requests with no end_reason, or whose UI never left the loading state past the deadlineAny
Streams closed without a finish signalTrack; set from baselineStreams that closed with no finish reason and no complete markerRising two weeks in a row
Incomplete answers shown as complete (counter-check)0Sampled review of answers ending mid-sentence with no incomplete markerAny
Failures with cause, saved state, and next step100%Log: end reason and the template usedBelow 95%
False incomplete labels (counter-metric)Under 1%Answers labeled cut off that were completeOver 3%
Duplicate actions after a timeout retry0Actions started twice within a minute from one requestAny

Detection signals (proposed, not yet calibrated)

Signals in a conversation event log that suggest this failure. Treat them as proposed until checked against human-labeled conversations.

SignalWhere it showsCounter-signal (what it could be instead)
A request has a start event and no end event within the deadlineRequest start with no matching answer or error eventA very long job that reported progress and finished late
Stream closed with no finish reasonStream close event missing finish_reason (where the API sends one)An API or provider that never sends one
Assistant text ends without terminal punctuation or a closing structure, then the stream closesLast chars of the final assistant messageA deliberately short or list-style answer
User sends “hello?”, ”??”, or repeats the message soon after sendingNext user turn within a short window with the same or empty contentA user adding a new detail
User reloads or leaves right after a request with no replySession end or page load event after a request startThe user got the answer elsewhere
Voice signals (silence on the line, the caller hanging up during a tool wait) are planned, not yet written.

Starter rule: every request ends in a labeled state (complete, incomplete, timed out, or failed), and a cut-off answer is never shown as finished.

Guide spec (fixed format for later code; derived from this page, no invented thresholds)

pattern_id: silent-failure-and-timeout
runs: post_turn
reads: [request.start_event, request.end_reason, stream.finish_reason, stream.last_event, session.saved_state]
trigger: a request passes its deadline, or a stream closes without a finish signal or a complete marker
moves: [admit_uncertainty, offer_choices, hand_off]
choices: ["Continue the answer", "Start over", "Try again", "Talk to a person", "Something else"]
on_miss: log
metric: silent-failure rate
counter_metric: false incomplete labels
status: proposed

9. Common questions

Why does my chatbot stop mid-sentence?

Several causes are reported: a dropped connection, a timeout, a length limit, or a stream that closes before the model finishes. Atlassian’s documentation lists timeouts and network failures as the interruptions that cause incomplete streamed output. Your own logs will show which one it is.

How do I know a streamed answer is complete?

If your API sends a finish reason, check that one arrived before the stream closed; Atlassian describes this check. A stream can also close normally with a truncated answer (one forum user reported exactly this), so a normal close is not proof.

What should the chatbot say when a request times out?

Say what happened in plain words, that the question is saved, and one next step. Canva’s guidelines suggest trying again or reloading, and advise against codes like “504 gateway timeout” in the message itself.

Should the bot retry automatically?

Once, quietly, is often reasonable if no action has run yet. Beyond that, show the failure and let the user choose, because repeated retries can duplicate actions.


Technical section

T1. Solution architecture

request -> job (id, deadline) -> stream events: start | delta | tool | finish(reason) | close
        -> end-state resolver: complete (finish signal) | incomplete (closed without it)
                              | timed out (deadline passed) | failed (error or tool failure)
        -> UI renders the end state; log end_reason, last_event, cause code
        -> continue path: prior context + partial output -> resume prompt

T2. Guardrails

RuleEnforced whereHow checked
Every job resolves to exactly one end stateEnd-state resolverLog scan: jobs with no end state
A closed stream without a finish signal is never rendered as completeClientTest 2
A retry reuses the job idAPI layerTest 4
The loading state ends at the deadlineClientTest 1

T3. Evals

  • Dataset: 100 injected failures: backend silence, mid-stream cut-offs, dropped connections, tool failures, plus 20 normal replies as controls.
  • Judge rubric: did the user see the right end state, the saved-state message, and a next step; were controls left untouched?
  • Metrics and starting thresholds: silent failures 0; false incomplete labels under 1%. Starting points to tune.
  • Release gate: block a deploy if a new streaming path has no end-state handling.

T4. Alerts

MetricWarnPageFirst response
Silent-failure rateAnyMore than 5 in an hourCheck deadlines and the stream-close handler
Streams closed without a finish signalRisingDoubling day over dayCheck the provider, gateway timeouts, and recent deploys

T5. Trade-offs

  • A short deadline hides real slow successes; a long one prolongs silence. Set it per task type and show progress (silent long-running work).
  • Resuming from partial output depends on the model following the instruction; Atlassian reports two typical responses, so show the result and let the user accept or start over.
  • Marking incomplete answers needs a reliable signal; where the provider sends none, you have to define your own.

Deep dive

Related Guide

How to Detect AI Agent Failures in Production

Related Patterns