claude-code - 💡(How to fix) Fix [Bug] Browser-based authentication blocks on Enter key, requires ESC to proceed [1 comments, 2 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#45220Fetched 2026-04-09 08:10:29
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4cross-referenced ×2commented ×1

Error Message

[{"error":"AxiosError: Request failed with status code 401\n at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.057Z"},{"error":"AxiosError: Request failed with status code 401\n at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.058Z"},{"error":"MaxFileReadTokenExceededError: File content (20686 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at CT7 (/$bunfs/root/src/entrypoints/cli.js:4309:13191)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:51.524Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.006Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.007Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ikari/src/code.\n at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:20:28.285Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:26:25.374Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n at emit (node:events:…

Code Example

[{"error":"AxiosError: Request failed with status code 401\n    at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n    at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.057Z"},{"error":"AxiosError: Request failed with status code 401\n    at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n    at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.058Z"},{"error":"MaxFileReadTokenExceededError: File content (20686 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at CT7 (/$bunfs/root/src/entrypoints/cli.js:4309:13191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:51.524Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.006Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.007Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ikari/src/code.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:20:28.285Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:26:25.374Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:
RAW_BUFFERClick to expand / collapse

Bug Description no authentication that opens a browser and waits for me to press enter when done - works. Enter does nthing. Every time, every plugin. I can only press ESC.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.94
  • Feedback ID: ac94b253-fcd3-4fdf-a8d8-a7f66171f5dd

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n    at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.057Z"},{"error":"AxiosError: Request failed with status code 401\n    at oB (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async nI1 (/$bunfs/root/src/entrypoints/cli.js:1963:13999)\n    at async fn9 (/$bunfs/root/src/entrypoints/cli.js:1963:14538)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:18:47.058Z"},{"error":"MaxFileReadTokenExceededError: File content (20686 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at CT7 (/$bunfs/root/src/entrypoints/cli.js:4309:13191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:51.524Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.006Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:19:54.007Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ikari/src/code.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:20:28.285Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:22:52.650Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2815)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T08:26:25.374Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:541:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:541:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:538:2886)\n    at emit (node:events:

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to authentication and ripgrep search timeouts, and a potential workaround could be to adjust the search parameters or check the authentication flow.

Guidance

  • Check the authentication flow to ensure it is working correctly and not causing the 401 errors.
  • Adjust the search parameters to be more specific, as the ripgrep search is timing out after 20 seconds.
  • Verify that the file paths and patterns being searched are correct and exist.
  • Consider increasing the timeout limit for the ripgrep search if necessary.

Example

No code snippet can be provided as the issue lacks specific code details.

Notes

The provided error logs indicate multiple issues, including authentication errors, ripgrep timeouts, and file not found errors. It is unclear which issue is the primary cause of the problem. Further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Adjust the search parameters to be more specific and verify the authentication flow, as these are the most likely causes of the issue.

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