A2A managed endpoint returns empty/404 while runtime endpoint works
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 29
- Fork
- 10
- Merge medio
- 1g 13h
- PR unite (30g)
- 23
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/apiops-cli
-
type:question
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Azure/apiops-cli#277 ·
-
type:documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
Azure/apiops-cli#250 ·
-
Documentation P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Azure/apiops-cli#24 · 1 commento ·
-
type:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Azure/apiops-cli#294 ·
-
type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Azure/apiops-cli#291 ·
Tutte le issue di Azure/apiops-cli
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100