mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5365] [Issue]: Streaming text freezes iOS browsers during generation #2968
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5365
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Streaming responses abort mid-generation on iOS browsers when Smooth Streaming Text is enabled. The response freezes at roughly 75% completion and the UI becomes unresponsive, while desktop browsers do not reproduce the issue under identical conditions.
Expected behavior
The AI response should stream to completion without freezing the page, locking the UI, or aborting the request.
Actual behavior
The response streams normally until approximately 75% complete, then freezes. UI buttons become unresponsive, and the reverse proxy reports that the client aborted the streaming request.
Steps to reproduce
Environment
34442e26da)Logs, screenshots, or video
Caddy reverse proxy log: "msg":"aborting with incomplete response","upstream":"127.0.0.1:7860","uri":"/api/generate","error":"reading: context canceled". No screenshots or video provided.
Additional context
The issue was tested across multiple iOS browsers and chat completion models. It has not been reproduced on desktop browsers under identical conditions. Disabling Smooth Streaming Text in settings appears to resolve the issue completely. Active connection: OpenRouter Opus 4.6; provider: openrouter; model: anthropic/claude-opus-4.6. GPU: Apple GPU.
Discord thread: Text streaming freezes app on iOS mobile browsers
Discord thread link: https://discord.com/channels/1417099416812392641/1540388182787629086
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 21, 2026):
Resolved by #5367, merged into staging as
448042c2dc.