[BUG] Claude displays `offline` unless some additional domains are allowed
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: <!-- output of
claude --version--> 1.0.17 - Operating System: macOS with linux container
- Terminal: Alacritty
Bug Description
I've allowed the three domains in the docs, but while Claude Code is working, it displays offline in red:
✻ Verifying… (115s · ⚒ 312 tokens · esc to interrupt · offline)
when I look at which domains got through, I see:
[DOMAIN ACTIVITY] 2025-06-07 16:45:29
✓ Allowed: api.anthropic.com o1158394.ingest.us.sentry.io statsig.anthropic.com
✗ Blocked: raw.githubusercontent.com registry.npmjs.org www.google.com
the blocked ones aren't in the docs as domains that are required
these come up immediately when I launch claude in the container, so fairly confident that's the source. when I allow those three and relaunch, then the offline no longer is displayed
nb: it still works, the issue is the offline in red
did you ever figure out why statsig.anthropic.com is needed? it's blacklisted in my pi-hole and I too have the offline symbol when using it but it doesn't seem to affect usability (from what i can tell)
did you ever figure out why statsig.anthropic.com is needed?
generally this is metrics collection, but I'm only going off the statsig word...
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.