claude-code - 💡(How to fix) Fix [Bug] Agents get stuck and stop making progress without utilizing token budget [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#48104Fetched 2026-04-15 06:33:05
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Error Message

[{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler"},"request_id":"req_011Ca4AAugsYwWV5YMXbUh4o"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:08.999Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler"},"request_id":"req_011Ca4AAwQot9t3HK3LFhW7r"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:09.402Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler"},"request_id":"req_011Ca4AB2HFSBe931JUz9A47"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.637Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler"},"request_id":"req_011Ca4AB3CozxjB113FJud3q"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.926Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler"},"request_id":"req_011Ca4AB6gv1YGivp4cnr2tg"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:11.946Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:46:45.529Z"},{"error":"AxiosError: Request failed with status code 403\n at vB (B:/~BUN/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (B:/~BUN/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 (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:38.049Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:53.853Z"},{"error":"McpToolCallError: This site is not allowed due to safety restrictions.\n at gkK (B:/~BUN/root/src/entrypoints/cli.js:1622:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:49:53.007Z"},{"error":"Error: File does…

Code Example

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AAugsYwWV5YMXbUh4o\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:08.999Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AAwQot9t3HK3LFhW7r\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:09.402Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB2HFSBe931JUz9A47\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.637Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB3CozxjB113FJud3q\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.926Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB6gv1YGivp4cnr2tg\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:11.946Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:46:45.529Z"},{"error":"AxiosError: Request failed with status code 403\n    at vB (B:/~BUN/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (B:/~BUN/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 (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:38.049Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:53.853Z"},{"error":"McpToolCallError: This site is not allowed due to safety restrictions.\n    at gkK (B:/~BUN/root/src/entrypoints/cli.js:1622:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:49:53.007Z"},{"error":"Error: File does…
RAW_BUFFERClick to expand / collapse

Bug Description The research subagents get stuck for over 45 minutes with same tool use and token count eventually leading to reaching usage limit but then they don't even use extra usage and stay stuck.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.92
  • Feedback ID: 5ef78907-ecc4-4c73-9e7b-51f9ecd87d10

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AAugsYwWV5YMXbUh4o\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:08.999Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AAwQot9t3HK3LFhW7r\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:09.402Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB2HFSBe931JUz9A47\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.637Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB3CozxjB113FJud3q\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:10.926Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ca4AB6gv1YGivp4cnr2tg\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:51435)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:45:11.946Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:46:45.529Z"},{"error":"AxiosError: Request failed with status code 403\n    at vB (B:/~BUN/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (B:/~BUN/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 (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:38.049Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:48:53.853Z"},{"error":"McpToolCallError: This site is not allowed due to safety restrictions.\n    at gkK (B:/~BUN/root/src/entrypoints/cli.js:1622:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T18:49:53.007Z"},{"error":"Error: File does…

Note: Content was truncated.

extent analysis

TL;DR

The research subagents are getting stuck due to invalid request errors and safety restrictions when trying to access certain domains, such as 'reddit.com', which is blocked by the user agent.

Guidance

  • The errors indicate that the subagents are trying to access domains that are not allowed due to safety restrictions or are blocked by the site owners.
  • The invalid_request_error messages suggest that the request to 'reddit.com' is being blocked, and the McpToolCallError message indicates a safety restriction.
  • To mitigate this issue, consider configuring the subagents to avoid accessing blocked domains or to use a different user agent that is allowed to access these domains.
  • Review the support article linked in the error message (https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler) for more information on how to handle blocked domains.

Example

No code snippet is provided as the issue is related to configuration and domain access rather than code.

Notes

The provided information is truncated, and the full error log may contain additional details that could help diagnose the issue. The solution may require adjustments to the subagents' configuration or the user agent used to access the domains.

Recommendation

Apply a workaround by configuring the subagents to avoid accessing blocked domains or using a different user agent. This is because the issue is related to safety restrictions and blocked domains, and a workaround can help mitigate the problem until a more permanent solution is found.

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] Agents get stuck and stop making progress without utilizing token budget [1 comments, 2 participants]