[BUG] Claude code web hang and still consuming credit

Open 💬 45 comments Opened Nov 4, 2025 by yanguowen

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I am using Claude code web, in one session after I asked a follow up question it hang for 30+ mins and I cannot interrupt, it shows "Starting Claude code..." or some other stuff like enchanting.../forging... but never stop. Clicking interrupt button does not work. I start another session and it again hang there again. So I cannot do anything, now sure how can I restart it/enforce to quit since it is a claude code web. in the meantime seems the credit been consumed, I see it changed from 245 to 243.

What Should Happen?

It should response or stop.

Error Messages/Logs

"Starting Claude code..."

Steps to Reproduce

I happens in my long session, not sure anyway to 100% reproduce it.
example session : https://claude.ai/code/session_011CUoauK6bcBBSQgs2Rwun9 and https://claude.ai/code/session_011CUoQj2ktgFFTcEgKzsV6G

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

claude code web

Platform

Other

Operating System

Other

Terminal/Shell

Other

Additional Information

<img width="657" height="185" alt="Image" src="https://github.com/user-attachments/assets/34858c22-9fc1-4538-bbc6-647d3be04ea8" />
<img width="731" height="178" alt="Image" src="https://github.com/user-attachments/assets/50eba518-6d9a-4dfa-915c-c70bf947da12" />

View original on GitHub ↗

45 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10343
  2. https://github.com/anthropics/claude-code/issues/9448
  3. https://github.com/anthropics/claude-code/issues/9961

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

boxwood-connor · 8 months ago

Having the same issue

cnighswonger · 8 months ago

I would add that Claude Code Web seems to be constantly losing connection with its back end. It regularly starts spinning its wheels and the "Retry Connection" button appears. There is no visible action/results when that button is pressed.

<img width="1072" height="98" alt="Image" src="https://github.com/user-attachments/assets/f6eb8448-49bf-4c05-8e9f-1c2ec08f8fe5" />

The console shows a Content-Security-Policy error being thrown. Maybe related?

There is a bunch of background network activity with some calls taking as long as 1000ms to respond. That's clunky.

After time immemorial and infinite clicks on the 'Retry Connection' button, we finally have this:

<img width="960" height="86" alt="Image" src="https://github.com/user-attachments/assets/a6a6cff5-a841-4355-9f97-690362b5da57" />

But still the dead-stare look from Claude.

This does not appear ready for prime-time yet. But it does have some potential.

More console log after a forced reload:

Uncaught Error: Minified React error #418; visit https://react.dev/errors/418?args[]=text&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
NextJS 16
87c73c54-dd8d81ac9604067c.js:1:35065

Nantris · 8 months ago

Can confirm the credit use.

I've seen this since I started using it a few days ago and it was a major bug, but it's become a showstopper now (and evidenced by the fact everyone is showing up here suddenly.)

hsinghc-1 · 8 months ago

+1 on the above issues of claude code web hanging and credit use

grexzen · 8 months ago

Same. UI shows nothing but credits going down. And keeps saying retry connection.

Nantris · 8 months ago

It's been down for almost 7 hours without any hint Anthropic is even aware.

Nantris · 8 months ago

Seems like it's started working for new tasks - but any in-progress tasks are unrecoverable.

gregorydickson · 8 months ago

I am still seeing this with the error: Invalid API key · Fix external API key showing in the right pane of Claude Code web. My Claude Code in Cursor is working fine.

<img width="1440" height="756" alt="Image" src="https://github.com/user-attachments/assets/3a989213-f080-4f7c-8e39-292c8a2ecbeb" />

yanguowen · 8 months ago

Old session still unrecoverable. Create a new session and after couple conversation, often experience 'Retry connection', now seems no response again. Also every new session creating a new branch really annoying.

yanguowen · 8 months ago

another session dead again... seems Claude code web is not ready for prod TBH.

ddachkinov · 8 months ago

Hung on the "Retry Connection" too. How can I contribute with debugging that?

brodmo · 8 months ago

Very frustrating issue. God knows why they're giving away billions in free credits with two weeks to spend them when they didn't even have enough capacity for paying users before

Nantris · 8 months ago

Seems to be an issue again :(

ddachkinov · 8 months ago

I think I figured it out. It isn't exactly related to the length of the prompt as I initially thought. I tried with 12600 character prompt and with 8700. With the longer one it worked but the shorter one hung for hours. I thought there should be something wrong with the prompt so I asked Claude to analyze and adjust it so it won't hung on the platform. Claude decided to break it into 7 parts. When I fed it to CCW it showed the hung message again but disappeared shortly and started working!

Update: So it did start working but hung midway on one of the tasks... Not sure if I interrupt it of it is going to continue normally.

cnighswonger · 8 months ago

After two days of spinning its wheels, CCW now says it is cloning the repo we're working in. Maybe given enough time, it will find its way back.

<img width="272" height="78" alt="Image" src="https://github.com/user-attachments/assets/5df187bc-a506-460e-9501-5817246d4669" />

ChristianKa · 8 months ago

Same issue here. Happening in almost every chat and session, sometimes directly after prompt 1, sometimes after hours of working without issues. I noticed that a "." Or "?" prompt help it to get back to where it was stuck, but that only works around 30% of times.

cnighswonger · 8 months ago

CCW seems to be working better this AM (EST). I wonder if the API infrastructure is just not scaled enough to handle the demand thrown at it by the "free" $$$ program? If so, I suppose that this is one way to go at load testing, but not the way I would advise.

cnighswonger · 8 months ago

Has anyone else run into #11139 ?

I'm assuming we were somehow selected to beta CCW? But not in so many words?

cnighswonger · 8 months ago
CCW seems to be working better this AM (EST). I wonder if the API infrastructure is just not scaled enough to handle the demand thrown at it by the "free" $$$ program? If so, I suppose that this is one way to go at load testing, but not the way I would advise.

Spoke too soon. Two sessions are out in the woods lost now. Maybe they will wander back up before long.

cnighswonger · 8 months ago

@bogini please add the claude-code-web tag to this bug as well. Thanks.

cnighswonger · 8 months ago

So I have successfully run a CCW session for about 15 hours now without hitting this issue. At the start of the session I made Claude aware of the problem and it suggested that it would limit its replies to be as concise as possible (that was after I had it review the various bug reports touching upon this issue). So either a) Anthropic is working on this, or b) Claude correctly concluded that the length of the exchanges has impact on the manifestation of this bug.

FWIW.

cnighswonger · 8 months ago

Argh... spoke too soon. It just gummed up again. And Claude-Code is hung as well. I'd bet this is a Claude API issue at the root of it.

Here are a couple of errors being logged in the console now (CCW):

Uncaught Error: Minified React error #418; visit https://react.dev/errors/418?args[]=text&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    NextJS 16
87c73c54-873628b075132e7a.js:1:35433
Uncaught (in promise) Error: Failed to sample
    NextJS 3
4328-cd214bb7ff2681a7.js:1:7594

Here is the API error being returned by Claude-Code at the same time:

 API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":null}

And with Claude Desktop:

<img width="761" height="118" alt="Image" src="https://github.com/user-attachments/assets/384aa8fe-5980-49bf-863d-2e6e30812055" />

cnighswonger · 8 months ago

Claude-Code just came back from latte break as did Claude Desktop. Claude Code Web is still out.

Deduction: Claude Code Web is brittle and does not recover from Claude API errors gracefully. This should be a critical issue and given high priority IMHO.

florentine-doemges · 8 months ago

Experiencing the same issue. Claude Code Web session has been stuck at "Starting Claude Code..." for 3+ hours.

What I've tried (none worked):

  • Stop/Interrupt button (multiple times) - no effect
  • Page reload (normal and hard refresh)
  • Different browsers (Chrome, Firefox) - same behavior
  • Closing tabs and reopening - session still stuck

Current state:

  • Cannot start new sessions (old one needs to end first)
  • No way to force-kill the stuck session from user side

Impact:
Claude Code Web is completely unusable until this backend session state resolves itself. Need a way to force-terminate stuck sessions, or backend should auto-timeout after X minutes of no progress.

Platform: Web (claude.ai/code)
Plan: [Pro/Max - ergänze was zutrifft]

tomasgurtler21 · 8 months ago

Since this seems to be very common and killing issue, I will share my workaround. Use markdown file to offload any context relevant to ongoing discussions. Ofc it is annoying to integrate those auto created branches to just get context into next session, but on other hand it works much better than copy paste. And you have to merge branches anyway if any changes were already done....
4 days to spend 150$ of free credit, this workaround is only way for me to do it.

I suspect this is manifestation of multiple issues... Some days it kinda works, but today I have 0-1 responses before conversation is stuck.

JimDabell · 8 months ago

I’m experiencing it too. Because there is a limit on simultaneous sessions, in addition to wasting credits it locks me out from using Claude Code altogether. When I hit the stop button, I see a request go to the server with a successful response:

URL: https://a-api.anthropic.com/v1/t

{
    "timestamp": "2025-11-15T11:29:00.594Z",
    "integrations": {
        "Segment.io": true,
        "Facebook Pixel": false,
        "DoubleClick Floodlight": false,
        "Actions Amplitude": {
            "session_id": <redacted>
        }
    },
    "event": "claudeai.code.session.stopped",
    "type": "track",
    "properties": {
        "account_uuid": <redacted>,
        "organization_uuid": <redacted>,
        "billing_type": "stripe_subscription",
        "surface": "claude-ai",
        "version": 1,
        "session_id": <redacted>
    },
    "context": {
        "traits": {
            "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15",
            "country": "SG",
            "email": <redacted>,
            "account_created_at": 1759754459803,
            "account_uuid": <redacted>,
            "organization_uuid": <redacted>,
            "billing_type": "stripe_subscription",
            "org_type": "claude_pro",
            "subscription_plan": "claude_pro"
        },
        "page": {
            "path": "/code/session_<redacted>",
            "referrer": "",
            "search": "?open_in_browser=1",
            "title": "Claude Code | Claude",
            "url": "https://claude.ai/code/session_<redacted>?open_in_browser=1"
        },
        "locale": "en-SG",
        "library": {
            "name": "analytics.js",
            "version": "npm:next-1.69.0"
        },
        "campaign": {},
        "timezone": "Asia/Singapore",
        "ip": "REDACTED",
        "consent": {
            "categoryPreferences": {
                "marketing": true,
                "analytics": true,
                "necessary": true
            }
        }
    },
    "messageId": "ajs-next-<redacted>",
    "userId": <redacted>,
    "anonymousId": <redacted>,
    "writeKey": <redacted>,
    "sentAt": "2025-11-15T11:29:00.620Z",
    "_metadata": {
        "bundled": [
            "DoubleClick Floodlight",
            "Facebook Pixel",
            "Segment.io"
        ],
        "unbundled": [],
        "bundledIds": [
            <redacted>,
            <redacted>
        ]
    }
}

(Some details redacted because I’m not sure which stuff is sensitive.)

Status: 200

{
  "success": true
}
github-actions[bot] · 7 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

cnighswonger · 7 months ago

Still an issue.

werdchris · 6 months ago

Just started using Claude web yesterday and hit this defect. Where are we with this?

chrismo · 6 months ago

2 of my repos now are completely unusable on the web. it gets to "Starting Claude Code..." and then just hangs indefinitely.

trustthe27 · 5 months ago

Still an issue. Ran into this the first time today. Tried to archive the session, but it makes no difference. Trying to stop the instance fails and it simply continues. I hope it does not burn credits in this zombie state (so I will keep an eye on this 🧐).

<img width="767" height="297" alt="Image" src="https://github.com/user-attachments/assets/ece723e6-342c-4df4-8c63-2104ce5f3099" />

Nantris · 5 months ago

@trustthe27 my instances never stopped even weeks later. It may use some credit briefly (not sure) but will not continue using it indefinitely even if it never stops. It's a UI bug and it's unfortunate they haven't fixed it.

alreadyded1 · 5 months ago

Having this issue as well. Tried submitting tickets and nothing. Burned through half my daily doing nothing.

Aventerica89 · 5 months ago

Use it in CLI terminal, it never hangs or has issues, or try 1Code. Claude Code web / desk app are junk.

chrismo · 5 months ago
2 of my repos now are completely unusable on the web. it gets to "Starting Claude Code..." and then just hangs indefinitely.

So, one repo resolved itself, and then it turns out the other repo had a footgun. It had a SessionStart hook which would hang. Removing that hook fixed the whole thing.

barak1412 · 5 months ago

Experiencing same problem

tomasfil · 4 months ago

Happening to this day, I am most likely throttled or something, because starting new session doesn't help.

crocodiledundalk · 4 months ago

Happening regularly for me, but with increasing frequency in last 48 hours.

Previously this often recovered by sending follow-up nudges, but is no longer recovering anymore / seems to be in a permanent stuck state.

"Create PR" is freezing, meaning there is no way to recover WIP files.

Pierre06520 · 4 months ago

I faced similar issue ; entering /session-start-hook fixed it for me

Nantris · 4 months ago

@Pierre06520 is that on the web???

hector-arius · 4 months ago

Today i just experienced the same bug, it is impossible to stop the sessions, and it is consuming my credits!

jeffreyliu · 4 months ago

I'm having the same issue! Unable to stop active Claude Code on the web sessions. They're not responsive and credits are being consumed.

bpronin90 · 2 months ago

I see this is still open and I am having the same issue. I want to stop the session but there is no option.

ZoellaB · 4 days ago

Still having this issue with fable 5.0.

EDIT: one possible fix is to edit the environment while it hangs, and then apply it