claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Claude displays `offline` unless some additional domains are allowed

Open max-sixty opened this issue 7 months ago • 2 comments

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

max-sixty avatar Jun 08 '25 22:06 max-sixty

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)

dempc6469 avatar Jun 22 '25 23:06 dempc6469

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...

max-sixty avatar Jun 23 '25 00:06 max-sixty

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.

github-actions[bot] avatar Dec 03 '25 10:12 github-actions[bot]