{"version":"2.1.327","anchor":"session-ingress-url-now-takes-precedence-over-anthropic-base","canonical_anchor":"session-ingress-url-now-takes-precedence-over-anthropic-base","heading":"Remote sessions now prefer SESSION_INGRESS_URL over ANTHROPIC_BASE_URL","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/session-ingress-url-now-takes-precedence-over-anthropic-base","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Remote sessions now prefer `SESSION_INGRESS_URL` over `ANTHROPIC_BASE_URL`\n\nIn remote sessions, `SESSION_INGRESS_URL` is now checked before `ANTHROPIC_BASE_URL` when choosing the address to send requests to\n\n**What**\n\nA remote session is one running on a server rather than on your computer. When it picks the address to send requests to, Claude Code checks these environment variables (named values set outside Claude Code) in this order:\n\n- `SESSION_INGRESS_URL`\n\n- `ANTHROPIC_BASE_URL`\n\n- `CLAUDE_RUNNER_API_BASE_URL`\n\nBefore, `ANTHROPIC_BASE_URL` came first. When both of the first two are set, the session ingress address now wins.\n\n**Why**\n\nRemote or cloud sessions that set both variables may now send their traffic to a different address than before. If you rely on `ANTHROPIC_BASE_URL` to route through a proxy there, check which address is used.\n\n- Area: Sessions\n- Names: `SESSION_INGRESS_URL`, `ANTHROPIC_BASE_URL`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}