a2aproject / a2aproject/a2a-inspector

[Bug]: Can't find agent card with endpoint /.well-known/agent.json

Offen Anfängerfreundlich
#86 2 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
490
Forks
152
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### What happened?

ADK A2A server by default expose agent card at /.well-known/agent.json endpoint.

The inspector keeps looking for /.well-known/agent-card.json.

At least support overriding of acceptable endpoint.

### Relevant log output

```shell
Error: An internal server error occurred: HTTP Error 404: Failed to fetch agent card from https://planner-agent-550681616.us-central1.run.app/.well-known/agent-card.json: Client error '404 Not Found' for url 'https://planner-agent-550681616.us-central1.run.app/.well-known/agent-card.json' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The inspector is looking for the agent card at the wrong endpoint. Find where the endpoint URL is constructed, likely in a configuration or fetch call. The fix is to change the default from '/.well-known/agent-card.json' to '/.well-known/agent.json' or make it configurable. Check for related tests to ensure the change works.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.