[BUG] Cant update claude code when running within devcontainer
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?
Running claude code within anthropic repo devcontainer.
Running claude update fail to fetch update because of firewall. Using googleapis with rotating IP makes adding the domain to whitelist unpractical. Consider hosting the updates on a private server or updating the firewall to support domain whitelist instead of IP.
Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED
What Should Happen?
claude update should be able to fetch and install the update within devcontainer
Error Messages/Logs
Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED
Steps to Reproduce
run : claude code within a devcontainer
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.7
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗