[BUG] /doctor reports setup issue for Remote Control when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set intentionally
Status Fixed / completed
Reported on v2.1.175
Maintainer reply ✓ Yes — bcherny
Activity 3 comments · opened Jul 1, 2026 · closed Aug 20, 2026
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
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?
Description
When CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set, /doctor reports a setup
issue for Remote Control even when the user does not use that feature.
## Observed behavior
The status bar shows ⚠ 1 setup issue: settings · /doctor.
The Remote Control section reports:
- ✗ Feature-flag evaluation enabled (disabled by CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC)
- ✗ tengu_ccr_bridge gate (no server response this session)
The diagnostic message reads:
> Remote Control requires feature-flag evaluation, which is disabled because
> CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. Unset it (or run in a shell
> without it) to use Remote Control.
What Should Happen?
Expected behavior
If Remote Control is not in use and the user has deliberately restricted
non-essential traffic, /doctor should either:
- Not flag this as a setup issue, or
- Provide a way to acknowledge/suppress the check for features the user does not need
Error Messages/Logs
## Context
`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` is a documented environment variable.
Users who set it are opting out of non-essential traffic intentionally. Treating
its effect as a setup issue creates noise and implies a misconfiguration where
none exists.
Steps to Reproduce
Steps to reproduce
- Set
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1in the environment - Run
/doctor
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.175 (linux-x64, native)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
3 Comments
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
I tried to reproduce this on the current release, 2.1.233 (Linux), with
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1set and a clean config.What I see now:
claude doctorstill lists the Remote Control diagnostics (including "Feature-flag evaluation disabled (disabled by CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC)"), but they're informational only — the report ends with "No installation issues found." and nothing is flagged as a setup issue.The "⚠ 1 setup issue" indicator you saw was removed in 2.1.183: "Removed the startup 'setup issues' line under the logo — run /doctor to see configuration issues or use --debug" (https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md). So deliberately restricting non-essential traffic no longer surfaces as a misconfiguration warning.
Closing as fixed in 2.1.183 — reply to reopen if you still see this flagged as a setup issue on a current version.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.