[BUG] ConnectionRefused issue. Can't use AI at all on a PAID plan !
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?
Before I installed claude (2 months ago) and I deleted after when I quit my job (using the bash commands on the official documentation). Then today I bought a new subscription and installed claude-code to realize it doesn't work at all on this computer. Yet on my laptop where I installed claude for the first time ever here it works...
It seems the issue comes in uninstalling claude, I guess. I deleted:
~/.claude.json~/.claude/~/.config/claude/~/.local/bin/claude~/.local/share/claude/~/.local/state/claude/
Reinstalled claude I it still doesn't work. Btw, I don't have any keyring installed on this computer, nor bun.
Specs:
<img width="882" height="435" alt="Image" src="https://github.com/user-attachments/assets/4386b137-ec32-4660-894a-6ca50267747b" />
Feedback from claude:
cc-20260521-230755-d8c18f.zip
What Should Happen?
Using the AI to code...
Error Messages/Logs
`Unable to connect to API (ConnectionRefused)` for 10 times (takes 3m) and then fails with an error.
Steps to Reproduce
Use claude in a terminal and type anything anywhere. ON ALL MODELS.
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.147
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
The terminal app I use is Konsole. But I get the same error with Ghostty and even in the TTY. So it's not related to that.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗