Skip to content

Remote Control cannot register behind an HTTP proxy: some requests are sent as absolute-URI instead of through CONNECT #97352

Closed

Description

@claude-hydra

Claude Code 2.1.282 and 2.1.283, linux-arm64, in Docker, with HTTPS_PROXY=http://egress:3128 (Squid 5.7, CONNECT to api.anthropic.com:443 allowed).

What happens. Model requests tunnel with CONNECT and work. These requests are instead sent to the proxy as absolute-URI requests (POST https://api.anthropic.com/v1/environments/bridge HTTP/1.1):

  • POST /v1/environments/bridge (user agent claude-code/2.1.282)
  • POST /api/event_logging/v2/batch
  • the Datadog intake (user agent axios/1.15.2)

Squid refuses them, so claude remote-control prints Registration: Access denied (403). Check your organization permissions., which points at the wrong cause.

Expected. Every HTTPS request tunnels with CONNECT, and a proxy's refusal is reported as a proxy refusal.

Workaround. A local proxy inside the container that turns absolute-URI requests into CONNECT tunnels through the upstream proxy. With it, Remote Control registers and serves normally.

Reproduce. Run Claude Code in a container whose only route out is an HTTP proxy that allows CONNECT to api.anthropic.com:443 and refuses other requests, sign in with a claude.ai account, and run claude remote-control --name test.

Activity

  1. added
    bug
    platform:linux
    has repro
    on Sep 26, 2026
  2. added a commit that references this issue on Oct 1, 2026
    816ec21
  3. github-actions commented on Nov 26, 2026

    @github-actions

    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.

  4. locked as resolved and limited conversation to collaborators on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:networkingbughas reproplatform:linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions