A2A managed endpoint returns empty/404 while runtime endpoint works
评估
这个 Issue 还没有评估数据。
描述
Summary
The APIM-managed A2A endpoint path (/ks/a2a-managed) appears non-functional in our current configuration, while the policy-backed runtime path (/ks/a2a-weather) works reliably.
Environment
- Repo:
Azure/apiops-cli - APIM target service:
bvt-7i6mlsfka5aec-tgt-apim - API:
src-a2a-weather-agent(typea2a) - API version:
2025-09-01-preview
Current Config (deployed)
src-a2a-weather-agent on target shows:
properties.path = ks/a2a-manageda2aProperties.agentCardBackendUrl = https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather/.well-known/agent-card.jsonjsonRpcProperties.backendUrl = https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.netjsonRpcProperties.path = /ks/a2a-weather
Operation resources also exist on the managed API:
GET /.well-known/agent-card.jsonPOST /
with policy present forget-agent-card.
Repro
- Publish extracted artifacts with
bvt-target.overrides.yaml. - Call managed URL:
GET https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-managed/.well-known/agent-card.jsonPOST https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-managedwith valid JSON-RPC body.
- Call runtime URL:
GET https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather/.well-known/agent.jsonPOST https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather
Actual
- Managed endpoint:
GET /ks/a2a-managed/.well-known/agent-card.json=>200with empty bodyPOST /ks/a2a-managed=>404 Resource not found
- Runtime endpoint:
- Returns valid agent card and JSON-RPC responses.
Expected
Managed endpoint should be fully usable for discovery + invocation:
- Non-empty agent-card JSON on managed card route
- JSON-RPC request should route and return valid task response on managed root
Impact
- APIM UI suggests using managed A2A URL, but runtime behavior requires using
/ks/a2a-weather. - Causes confusion for Foundry/tool onboarding and demo instructions.
Notes / Potential Direction
A robust architecture likely requires a2a-managed pointing to an external runtime backend (App Service/Function/Container App) rather than APIM self-referencing paths, to avoid internal routing/preview gaps.
- 主要语言
- TypeScript
- 星标
- 29
- 派生
- 10
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 23
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/apiops-cli 的其他 Issue
-
type:question
难度 2/5 1-3 小时 新手友好度 76/100
Azure/apiops-cli#277 ·
-
type:documentation
难度 1/5 1 小时以内 新手友好度 94/100
Azure/apiops-cli#250 ·
-
Documentation P2
难度 2/5 1-3 小时 新手友好度 70/100
Azure/apiops-cli#24 · 1 条评论 ·
-
type:bug
难度 3/5 1-2 天 新手友好度 68/100
Azure/apiops-cli#294 ·
-
type:bug
难度 4/5 3-5 天 新手友好度 55/100
Azure/apiops-cli#291 ·
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100