anthropics / anthropics/claude-code
[BUG] Scheduled routine (CCR) sandbox blocks outbound HTTPS to my own deployed domain
- Langage dominant
- Python
- Étoiles
- 145k
- Forks
- 23.1k
- Métriques de merge des PR
- Métriques de PR en attente
Description
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?
Scheduled routine(cron trigger)で動くCCRサンドボックス環境から、自分のプロジェクトの本番サイト(Vercelにデプロイ済みの独自ドメイン)へcurlでHTTPS接続しようとすると、組織のエグレスポリシーによって毎回拒否されます。GitHubへのpush/pullは問題なく動作するため、GitHub関連の許可リストは機能していますが、それ以外の任意の外部ドメイン(この場合は自分のNext.jsサイトのAPIエンドポイント)へは接続できません。
### What Should Happen?
Scheduled routine(CCR)が、ユーザー自身が所有・管理していることが明確なドメイン(このリポジトリのVercelデプロイ先など)へ、外部APIとしてHTTPSリクエストを送れるようにしてほしい。または、Environment設定画面などからエグレス許可リストを自分で編集できるようにしてほしい。
### Error Messages/Logs
```shell
curl: (56) [agent-proxy] While this command ran, 2 connections through the agent proxy failed:
- big-happiness.com:443 — connect_rejected (the egress proxy denied the CONNECT (organization policy) or could not reach the destination)
Agent proxy status check:
$ curl -sS http://127.0.0.1:32959/__agentproxy/status
{
"enabled": true,
"port": 32959,
"noProxy": "localhost,127.0.0.1,::1,127.0.0.0/8,0.0.0.0/8,::,169.254.0.0/16,api.anthropic.com,...,registry.npmjs.org,jsr.io,npm.jsr.io,pypi.org,files.pythonhosted.org,index.crates.io,proxy.golan..."
}
(big-happiness.com is not in this allowlist)
```
### Steps to Reproduce
1. Environment ID env_01KVGSseWA1FH117LEiHBMUu 上でCCRのscheduled routine(trig_01FKy4haovBHeynLLJjnqzeG、毎週日曜9:00 JST実行)を実行する
2. サンドボックス内から curl https://big-happiness.com/api/... のように、自分のプロジェクトの本番APIエンドポイント(Vercelにデプロイ済みの独自ドメイン)へPOST/GETリクエストを送る
3. 上記の connect_rejected エラーで失敗する(同じセッション内での git push は正常に成功する)
### Claude Model
None
### Is this a regression?
I don't know
### Last Working Version
_No response_
### Claude Code Version
2.1.228 (Claude Code)
### Platform
Anthropic API
### Operating System
macOS
### Terminal/Shell
Terminal.app (macOS)
### Additional Information
This bug occurs specifically in a scheduled cloud routine (CCR / Claude Code Remote), not in the local CLI session. Environment ID: env_01KVGSseWA1FH117LEiHBMUu. Routine ID: trig_01FKy4haovBHeynLLJjnqzeG (weekly, Sunday 9am JST). The blocked domain (big-happiness.com) is deployed on Vercel and fully owned/managed by the account owner — this isn't an arbitrary third-party domain.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The payload identifies no repository file or test; begin with the CCR agent-proxy status endpoint at http://127.0.0.1:32959/__agentproxy/status and compare its noProxy and egress behavior with the successful GitHub operation. Done means an approved path for scheduled routines to reach an explicitly user-managed domain, or a clearly exposed user-editable allowlist, with the reported request no longer rejected.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- nextjs
- Domaine
- cloud, networking, security
- Type d'issue
- Bug
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- Active
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100