claude-code - 💡(How to fix) Fix [BUG] Remote Control session in-browser failed to render AskUserQuestion UI - session is now completely stuck [1 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
anthropics/claude-code#55655Fetched 2026-05-03 04:47:50
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Using /remote-control from a browser, AskUserQuestion has rendered correctly for me many times. In a single instance, it failed to render, and the session is now permanently wedged — Claude is waiting on an answer I have no way to provide from the browser side.

I want to flag this less as "AskUserQuestion is broken" (it is not, in my experience) and more as: a single transient render failure is enough to nuke a remote-control session, because there is no cancel/abort affordance for a pending tool prompt.

Error Message

Error Messages/Logs

Root Cause

I want to flag this less as "AskUserQuestion is broken" (it is not, in my experience) and more as: a single transient render failure is enough to nuke a remote-control session, because there is no cancel/abort affordance for a pending tool prompt.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Summary

Using /remote-control from a browser, AskUserQuestion has rendered correctly for me many times. In a single instance, it failed to render, and the session is now permanently wedged — Claude is waiting on an answer I have no way to provide from the browser side.

I want to flag this less as "AskUserQuestion is broken" (it is not, in my experience) and more as: a single transient render failure is enough to nuke a remote-control session, because there is no cancel/abort affordance for a pending tool prompt.

What Should Happen?

Either of these would have made this recoverable from the browser:

  • A "cancel pending question" / "abort tool call" affordance in the remote-control UI, usable when a tool prompt fails to render or the user otherwise needs to bail out.
  • A way to forcibly send a new user message that supersedes the pending tool-prompt wait.

The first feels like the more general fix and would also cover similar classes of stuck-state bugs (see "Related" below).

Error Messages/Logs

Steps to Reproduce

What I think may have happened

I cannot confirm cause and effect. What I know:

  • AskUserQuestion has worked correctly across many prior turns in this and other sessions.
  • Around the moment of the failure, I sent a message to the session.
  • I do not know whether my message went out before, after, or concurrent with an AskUserQuestion call from the agent.

A plausible (but unverified) hypothesis: a race between a client-sent user message and an agent-initiated AskUserQuestion, where one side ends up waiting on the other. I'm not asserting this is the cause — just naming it as the only nearby anomaly I can point at. It could equally be an unrelated render glitch.

Why this is worth filing regardless of root cause

Even if the underlying render/race bug is rare, the lack of any escape hatch turns a transient failure into total session loss. The only documented recovery is to kill the host-side claude process and /resume, which requires physical access to the host machine. I'm currently 3 days away from that host, and the session is unusable until I return.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.126

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Related

This is a new instance of a recurring "remote-control UI gets stuck with no escape" pattern, not a duplicate of any of the below:

  • #54922 — same wedge shape, but triggered by a permission prompt ("allow for session" option) on Linux. Different tool, different trigger.
  • #53630 — MCP permission popup never renders in Claude-in-Chrome (closed completed). Adjacent shape, different surface and tool.
  • #54528, #53470 — cloud-container setup hangs with no cancel option. Different trigger; same missing escape hatch.

A generic "cancel pending tool prompt from the remote-control UI" affordance would mitigate this whole class regardless of which underlying render/race bug caused any individual wedge.

Here's a screenshot of the stuck session: <img width="1002" height="642" alt="Image" src="https://github.com/user-attachments/assets/de6036ae-197c-4e57-87ad-e5cd489fe0bd" />

Regarding the screenshot: -Yes I have tried clicking the "⌄" chevron next to "Asking Next step"- nothing happens -Yes I have tried refreshing the browser -Yes I have tried hard refreshing the browser -Yes I have tried a different browser -Yes I have tried a different device

Furthermore, I have a second terminal running on the host machine, also being remote controlled - that session is fine and still responsive, so there is no issue on the host device. This is a specific AskUserQuestion bug.

extent analysis

TL;DR

Implementing a "cancel pending question" affordance in the remote-control UI could resolve the issue of a single transient render failure causing a permanent session wedge.

Guidance

  • Investigate the possibility of a race condition between client-sent user messages and agent-initiated AskUserQuestion calls, which may be contributing to the render failure.
  • Consider adding a "cancel pending tool prompt" feature to the remote-control UI to provide an escape hatch for users in cases where a tool prompt fails to render or the user needs to abort.
  • Review related issues (#54922, #53630, #54528, #53470) to identify a pattern and potential solutions for mitigating the "remote-control UI gets stuck with no escape" problem.
  • Verify that the issue is not specific to the Opus Claude model or the Windows operating system by testing on different platforms and models.

Example

No code example is provided as the issue does not contain sufficient technical details to create a specific code snippet.

Notes

The root cause of the issue is uncertain, and the provided information does not point to a specific technical solution. However, adding a "cancel pending question" affordance could mitigate the problem and provide a better user experience.

Recommendation

Apply a workaround by implementing a "cancel pending tool prompt" feature in the remote-control UI, as this would provide an immediate solution to the problem of session wedging due to transient render failures.

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

claude-code - 💡(How to fix) Fix [BUG] Remote Control session in-browser failed to render AskUserQuestion UI - session is now completely stuck [1 participants]