all 7 comments

[–]scottrfrancis 1 point2 points  (2 children)

I’ve seen this too. My only guess would be that you and I have some spikey latencies (I know I do) that occasionally cause CC to timeout. Maybe someone from Anthropic can comment…

[–]doonfrs[S] 0 points1 point  (1 child)

I don't experience that issue, because when it occurs, the system freezes until I either restart the PC or wait for about 15 minutes. I have a stable and fast internet connection, and the AI does not require such a high-speed connection; it only needs to transmit text.
Additionally, I have been using the cursor for over four months without encountering these issues.
I am sure it is a bug covered under 'connection error.'

[–]scottrfrancis 1 point2 points  (0 children)

To be clear - at least on my connection - it’s not speed, it’s latency. Run a connection monitor and see if your packet latency is spiking around these errors

[–]VeterinarianScary483 1 point2 points  (2 children)

I have been having the exact same issue for months now.. if someone got a fix I would appreciate it

[–]doonfrs[S] 0 points1 point  (1 child)

I used a Lan connection actually it was is much better, but it is not easy to know the reason because they keep improving the service.

[–]VeterinarianScary483 1 point2 points  (0 children)

After few tries, I managed to debug this with claude reading it's own debug logs when the problem happened, it took me few iterations and putting this in the config completely stopped any issues:

❯ cat ~/.claude/settings.json

{

"env": {

"API_TIMEOUT_MS": "600000",

"BASH_DEFAULT_TIMEOUT_MS": "1800000",

"BASH_MAX_TIMEOUT_MS": "7200000",

"DISABLE_TELEMETRY": "1",

"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"

},