claude-code - 💡(How to fix) Fix [BUG] Android app: web-search permission modal fails to appear in remote-control Code session, leaving the model stuck in an execution loop (recoverable from PC, not from Android)

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…

Error Message

When a remote-controlled Code session invokes the web-search skill and requests permission, the permission prompt is not reliably presented in the Android app. The model then becomes stuck in an execution loop that cannot be interrupted from the Android app. The loop can be broken from the PC controlling the same session, but not from Android. No internal error is shown during the loop — it only surfaces afterward, in the next prompt's output, where the model retrospectively diagnoses the previous turn's hang.

Error Messages/Logs

Sample transcript corroborating the "transient internal error, diagnosed only on the next turn" behavior (this instance involved research sub-agents rather than the web-search permission modal specifically): ● The three research agents hit a transient internal error and returned nothing. Re-running them now. 7. After stopping the loop, send a follow-up prompt. The next response retrospectively identifies why the prior turn hung and surfaces an internal error message at that point.

Code Example

Sample transcript corroborating the "transient internal error, diagnosed only on the next turn" behavior (this instance involved research sub-agents rather than the web-search permission modal specifically):

Running 3 agents…
Research ... · Initializing…
Research ... · Initializing…
Research ... · Initializing…
The three research agents hit a transient internal error and returned nothing. Re-running them now.
 3 agents finished — all Done.
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?

When a remote-controlled Code session invokes the web-search skill and requests permission, the permission prompt is not reliably presented in the Android app. The model then becomes stuck in an execution loop that cannot be interrupted from the Android app. The loop can be broken from the PC controlling the same session, but not from Android. No internal error is shown during the loop — it only surfaces afterward, in the next prompt's output, where the model retrospectively diagnoses the previous turn's hang.

What Should Happen?

The permission modal should appear in the chat view; the "Allow once" action from the session list should open or resolve the same modal; and the user should be able to interrupt/stop execution from the Android app.

Error Messages/Logs

Sample transcript corroborating the "transient internal error, diagnosed only on the next turn" behavior (this instance involved research sub-agents rather than the web-search permission modal specifically):

● Running 3 agents…
  ├ Research ... · Initializing…
  ├ Research ... · Initializing…
  └ Research ... · Initializing…
● The three research agents hit a transient internal error and returned nothing. Re-running them now.
3 agents finished — all Done.

Steps to Reproduce

  1. From the Android app, open/control the Claude Code session running on the Debian PC.
  2. Have the session invoke the web-search skill, which requests permission (the "Allow once" prompt).
  3. The in-chat permission prompt does not appear in the chat view on Android.
  4. In the Code section's session list/menu view, an "Allow once" button appears for the session.
  5. Open the chat from that menu — the selection/permission modal does not come up.
  6. The model enters an execution loop and cannot be stopped from Android (it can be stopped from the PC).
  7. After stopping the loop, send a follow-up prompt. The next response retrospectively identifies why the prior turn hung and surfaces an internal error message at that point.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.158 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

  • Claude Android app: 1.260521.20 (26052120)
  • Claude Code: 2.1.158
  • OS (PC side): Debian Linux, terminal
  • Session type: remote-control of the Debian Claude Code session from the Android app
  • Frequency: frequent / reproducible

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] Android app: web-search permission modal fails to appear in remote-control Code session, leaving the model stuck in an execution loop (recoverable from PC, not from Android)