Skip to content

No errors when usage limit is reached (Claude Pro) #777

Closed

Description

@k-widuta

When the usage limit is reached, there is no notification—the application simply freezes.

Image

Also, no error in logs - just empty response:

Image

The Claude error:

Image

Can we improve it to be more user friendly? I can work on that if you don't have capacity.

Thanks!

Activity

  1. adamdotdevin commented on Jul 8, 2025

    @adamdotdevin
    Member

    if you could take a look while your usage limit is up, that'd be super helpful; will be tough for me to repro given i never hit this limit with my claude max

  2. self-assigned this
    on Jul 9, 2025
  3. v1truv1us commented on Jul 9, 2025

    @v1truv1us

    If you need logs or anything on this let me know, I've been wondering about this one for the past couple of days, and hit my usage limit pretty frequently on Claude Pro, so could get them for you

  4. k-widuta commented on Jul 9, 2025

    @k-widuta
    Author

    @thdxr are you working on this? @adamdotdevin did you get the logs?

  5. adamdotdevin commented on Jul 9, 2025

    @adamdotdevin
    Member

    If you need logs or anything on this let me know, I've been wondering about this one for the past couple of days, and hit my usage limit pretty frequently on Claude Pro, so could get them for you

    logs would be very helpful!

  6. adamdotdevin commented on Jul 9, 2025

    @adamdotdevin
    Member

    @thdxr are you working on this? @adamdotdevin did you get the logs?

    nobody working on it just yet, if someone could attach some logs here that would be helpful!

  7. furai commented on Jul 9, 2025

    @furai
    Contributor

    I was actually wondering this too, how that even works currently.

    Image

    I wanted to check if there's some usage shown in the opencode UI and I couldn't find any. Apparently Claude Code reports back some usage statistics, I haven't been using their CLI at all so I have no idea how this even looks like.

    With opencode I've only seen API code usage, but when logged in via Oauth there's nothing in the current UI. And it seems that for subscriptions with max you'd want to use oauth, not the API code as API code gets rate limited a lot. (Would be nice to cover that in docs if what I'm saying is actually true.)

  8. k-widuta commented on Jul 9, 2025

    @k-widuta
    Author

    @adamdotdevin hmu if you need anything else

    op run Hello --print-logs
    INFO  2025-07-09T12:28:15 +33ms service=default version=0.2.13 args=run,Hello,--print-logs opencode
    INFO  2025-07-09T12:28:15 +0ms service=app cwd=REDACTED creating
    INFO  2025-07-09T12:28:15 +1ms service=app git=REDACTED git
    INFO  2025-07-09T12:28:15 +4ms service=bus type=storage.write subscribing
    INFO  2025-07-09T12:28:15 +0ms service=app name=bus registering service
    INFO  2025-07-09T12:28:15 +1ms service=format init
    INFO  2025-07-09T12:28:15 +0ms service=bus type=file.edited subscribing
    INFO  2025-07-09T12:28:15 +0ms service=config.hooks init
    INFO  2025-07-09T12:28:15 +0ms service=bus type=file.edited subscribing
    INFO  2025-07-09T12:28:15 +0ms service=bus type=session.idle subscribing
    INFO  2025-07-09T12:28:15 +0ms service=app name=lsp registering service
    INFO  2025-07-09T12:28:15 +0ms service=lsp initializing
    INFO  2025-07-09T12:28:15 +0ms service=session id=REDACTED version=0.2.13 title=New Session - 2025-07-09T12:28:15.135Z time=[object Object] created
    INFO  2025-07-09T12:28:15 +1ms service=app name=session registering service
    INFO  2025-07-09T12:28:15 +0ms service=app name=storage registering service
    INFO  2025-07-09T12:28:15 +2ms service=bus type=storage.write publishing
    INFO  2025-07-09T12:28:15 +0ms service=app name=config registering service
    INFO  2025-07-09T12:28:15 +1ms service=config loaded
    INFO  2025-07-09T12:28:15 +0ms service=bus type=session.updated publishing
    
    █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
    █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
    ▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀
    
    >  Hello
    
    INFO  2025-07-09T12:28:15 +0ms service=app name=provider registering service
    INFO  2025-07-09T12:28:15 +3ms service=models.dev refreshing
    INFO  2025-07-09T12:28:15 +0ms service=provider init
    INFO  2025-07-09T12:28:15 +3ms service=provider providerID=anthropic found
    @  anthropic/claude-sonnet-4-20250514
    
    INFO  2025-07-09T12:28:15 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-07-09T12:28:15 +0ms service=bus type=session.error subscribing
    INFO  2025-07-09T12:28:15 +1ms service=session sessionID=REDACTED locking
    INFO  2025-07-09T12:28:15 +1ms service=session session=REDACTED chatting
    INFO  2025-07-09T12:28:15 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-20250514 getModel
    INFO  2025-07-09T12:28:15 +0ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-07-09T12:28:15 +53ms service=provider status=completed duration=53 providerID=anthropic getSDK
    INFO  2025-07-09T12:28:15 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-20250514 found
    INFO  2025-07-09T12:28:15 +9ms service=bus type=storage.write publishing
    INFO  2025-07-09T12:28:15 +0ms service=bus type=message.updated publishing
    INFO  2025-07-09T12:28:15 +2ms service=lsp root=REDACTED serverID=golang
    INFO  2025-07-09T12:28:15 +2ms service=lsp.client serverID=golang starting client
    INFO  2025-07-09T12:28:15 +1ms service=lsp.client serverID=golang sending initialize
    INFO  2025-07-09T12:28:15 +6ms service=bus type=storage.write publishing
    INFO  2025-07-09T12:28:15 +0ms service=bus type=message.updated publishing
    INFO  2025-07-09T12:28:15 +0ms service=app name=mcp registering service
    INFO  2025-07-09T12:28:15 +3ms service=session session=REDACTED type=start part
    INFO  2025-07-09T12:28:15 +4ms service=bus type=storage.write publishing
    INFO  2025-07-09T12:28:15 +1ms service=bus type=message.updated publishing
    INFO  2025-07-09T12:28:15 +30ms service=lsp.client serverID=golang initialized
    INFO  2025-07-09T12:28:15 +1ms service=lsp.client serverID=golang token=REDACTED window/workDoneProgress/create
    INFO  2025-07-09T12:28:15 +24ms service=lsp initialized
    
  9. DimitriGilbert commented on Jul 9, 2025

    @DimitriGilbert

    Image

    INFO  2025-07-09T14:45:37 +0ms service=bus type=file.watcher.updated publishing
    INFO  2025-07-09T14:45:38 +1313ms service=file.watcher file=.git/refs/remotes/origin/HEAD.lock event=rename change
    INFO  2025-07-09T14:45:38 +0ms service=bus type=file.watcher.updated publishing
    INFO  2025-07-09T14:45:38 +0ms service=file.watcher file=.git/FETCH_HEAD event=change change
    INFO  2025-07-09T14:45:38 +0ms service=bus type=file.watcher.updated publishing
    INFO  2025-07-09T14:45:38 +98ms service=file.watcher file=.git/objects/maintenance.lock event=rename change
    INFO  2025-07-09T14:45:38 +0ms service=bus type=file.watcher.updated publishing
    ERROR 2025-07-09T14:51:35 +356594ms service=session error=AI_RetryError: Failed after 11 attempts. Last error: This request would exceed your account's rate lim>
    INFO  2025-07-09T14:51:35 +0ms service=bus type=session.error publishing
    INFO  2025-07-09T14:51:35 +0ms service=bus type=storage.write publishing
    INFO  2025-07-09T14:51:35 +0ms service=bus type=message.updated publishing
    

    not sure if it is what you're looking for (cant find any other logs than that though) but it is consitent with what I experience, opencode just hangs there "working" for a good while and then errors out.

    a / command or similar to pick up after a timer (/wait 1h) or something similar (apparently, you do not have the wait time in the error...) would be fantastic :)
    Can I restart on a specific session already (so i can do that in bash) ? I saw nothing in the help ... but maybe ?

  10. v1truv1us commented on Jul 12, 2025

    @v1truv1us
    INFO  2025-07-12T12:20:30 +3ms service=app name=config registering service
    INFO  2025-07-12T12:20:30 +1ms service=bus type=storage.write subscribing
    INFO  2025-07-12T12:20:30 +0ms service=app name=bus registering service
    INFO  2025-07-12T12:20:30 +0ms service=format init
    INFO  2025-07-12T12:20:30 +0ms service=bus type=file.edited subscribing
    INFO  2025-07-12T12:20:30 +0ms service=config.hooks init
    INFO  2025-07-12T12:20:30 +0ms service=bus type=file.edited subscribing
    INFO  2025-07-12T12:20:30 +0ms service=bus type=session.idle subscribing
    INFO  2025-07-12T12:20:30 +0ms service=app name=lsp registering service
    INFO  2025-07-12T12:20:30 +1ms service=session id=ses_8016b9094ffeiG9b8Q01wDrtGA version=0.2.27 title=New Session - 2025-07-12T12:20:30.187Z time=[object Object] created
    INFO  2025-07-12T12:20:30 +0ms service=app name=session registering service
    INFO  2025-07-12T12:20:30 +0ms service=app name=storage registering service
    INFO  2025-07-12T12:20:30 +2ms service=config $schema=https://opencode.ai/config.json model=antropic/claude-sonnet-4-20250514 mode=[object Object] mcp=[object Object] instructions=.cursor/rules/*.md* loaded
    INFO  2025-07-12T12:20:30 +1ms service=bus type=storage.write publishing
    INFO  2025-07-12T12:20:30 +1ms service=app name=config registering service
    INFO  2025-07-12T12:20:30 +0ms service=config $schema=https://opencode.ai/config.json model=antropic/claude-sonnet-4-20250514 mode=[object Object] mcp=[object Object] instructions=.cursor/rules/*.md* loaded
    INFO  2025-07-12T12:20:30 +0ms service=bus type=session.updated publishing
    
    █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
    █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
    ▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀
    
    >  lets take a look at the codebase and make sure everything is looking good
    
    @  antropic/claude-sonnet-4-20250514
    
    INFO  2025-07-12T12:20:30 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-07-12T12:20:30 +0ms service=bus type=session.error subscribing
    INFO  2025-07-12T12:20:30 +0ms service=app name=mode registering service
    INFO  2025-07-12T12:20:30 +2ms service=session session=ses_8016b9094ffeiG9b8Q01wDrtGA chatting
    INFO  2025-07-12T12:20:30 +0ms service=app name=provider registering service
    INFO  2025-07-12T12:20:30 +4ms service=models.dev refreshing
    INFO  2025-07-12T12:20:30 +0ms service=provider init
    INFO  2025-07-12T12:20:30 +2ms service=provider providerID=github-copilot found
    INFO  2025-07-12T12:20:30 +0ms service=provider providerID=anthropic found
    INFO  2025-07-12T12:20:30 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-20250514 getModel
    INFO  2025-07-12T12:20:30 +1ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-07-12T12:20:30 +78ms service=provider status=completed duration=78 providerID=anthropic getSDK
    INFO  2025-07-12T12:20:30 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-20250514 found
    INFO  2025-07-12T12:20:30 +3ms service=session session=ses_8016b9094ffeiG9b8Q01wDrtGA sessionID=ses_8016b9094ffeiG9b8Q01wDrtGA locking
    INFO  2025-07-12T12:20:30 +8ms service=bus type=storage.write publishing
    INFO  2025-07-12T12:20:30 +0ms service=bus type=message.updated publishing
    INFO  2025-07-12T12:20:30 +22ms service=bus type=storage.write publishing
    INFO  2025-07-12T12:20:30 +0ms service=bus type=message.updated publishing
    INFO  2025-07-12T12:20:30 +0ms service=app name=mcp registering service
    INFO  2025-07-12T12:20:30 +1ms service=mcp key=coolify type=local found
    INFO  2025-07-12T12:20:30 +84ms service=mcp key=sentry type=local found
    INFO  2025-07-12T12:20:35 +4920ms service=bus type=session.error publishing
    INFO  2025-07-12T12:20:35 +0ms service=mcp key=playwright type=local found
    INFO  2025-07-12T12:20:39 +4066ms service=session session=ses_8016b9094ffeiG9b8Q01wDrtGA type=start part
    INFO  2025-07-12T12:20:39 +3ms service=bus type=storage.write publishing
    INFO  2025-07-12T12:20:39 +0ms service=bus type=message.updated publishing
    

    I thought I had added these already, but... I may have accidentally added them to the wrong issue like an idjit. The only thing I'm really seeing in here is INFO 2025-07-12T12:20:35 +4920ms service=bus type=session.error publishing which may be something? but the logs just might not be surfacing the error info

  11. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Contributor

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions