Hangs without error message when Claude Code session limit is reached #1950

Closed
opened 2026-02-16 17:33:22 -05:00 by yindo · 1 comment
Owner

Originally created by @calvinalkan on GitHub (Oct 4, 2025).

When using auth with Claude Code, and you reach your session limit, opencode just hangs.

                                                                                                                                                                                       ┃
  ┃  hey                                                                                                                                                                                    ┃
  ┃  calvin (02:17 PM)                                                                                                                                                                      ┃
  ┃                                                                                                                                                                                         ┃


     Generating...
     Orchestrator claude-opus-4-20250514 (02:17 PM)

I'd expect it to throw an error telling me about the limit being reached.

Same input in Claude Code => fails immediately

      
> hey
  ⎿  Session limit reached ∙ resets 4pm
     /upgrade to increase your usage limit.
Originally created by @calvinalkan on GitHub (Oct 4, 2025). When using auth with Claude Code, and you reach your session limit, opencode just hangs. ```txt ┃ ┃ hey ┃ ┃ calvin (02:17 PM) ┃ ┃ ┃ Generating... Orchestrator claude-opus-4-20250514 (02:17 PM) ``` I'd expect it to throw an error telling me about the limit being reached. Same input in Claude Code => fails immediately ```txt > hey ⎿  Session limit reached ∙ resets 4pm /upgrade to increase your usage limit. ```
yindo closed this issue 2026-02-16 17:33:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 4, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #877: Feature Request: Show Error Message When Claude Usage Limit Is Reached - Same core issue where OpenCode gets stuck at "working..." without showing proper error message when Claude usage limit is reached
  • #725: Claude token limit reached, but OpenCode continues "working" - Identical behavior where OpenCode hangs indefinitely when Claude daily token limit is reached instead of showing error
  • #777: No errors when usage limit is reached (Claude Pro) - Same problem where application freezes with no notification when usage limit is reached
  • #870: Working is hanging and Claude usage limit reached not reported - Exact same issue where requests hang on "working" instead of failing with proper error message when Claude usage limit is reached
  • #519: v0.1.161 - Opencode hangs, presumably from limits, with no error messaging - Similar hanging behavior when limits are exceeded with no error messaging

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 4, 2025): This issue might be a duplicate of existing issues. Please check: - #877: Feature Request: Show Error Message When Claude Usage Limit Is Reached - Same core issue where OpenCode gets stuck at "working..." without showing proper error message when Claude usage limit is reached - #725: Claude token limit reached, but OpenCode continues "working" - Identical behavior where OpenCode hangs indefinitely when Claude daily token limit is reached instead of showing error - #777: No errors when usage limit is reached (Claude Pro) - Same problem where application freezes with no notification when usage limit is reached - #870: Working is hanging and Claude usage limit reached not reported - Exact same issue where requests hang on "working" instead of failing with proper error message when Claude usage limit is reached - #519: v0.1.161 - Opencode hangs, presumably from limits, with no error messaging - Similar hanging behavior when limits are exceeded with no error messaging Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1950