You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Import Agent (and Import Tool) flow, the "Import Environment Variables"
modal's "Fetch & Parse" button silently does nothing when given a URL — no error,
no populated variables, no visible reaction.
Steps to reproduce
UI → Import Agent → Namespace team1
Under Environment Variables, click Import from File/URL → From URL
Enter a valid .env URL, e.g. https://raw.githubusercontent.com/kagenti/agent-examples/refs/heads/main/a2a/weather_service/.env.openai
Click Fetch & Parse
Expected: the env vars parse and populate the form (per authbridge/demos/weather-agent/demo-ui.md Step 2). Actual: nothing happens — the modal does not populate, show an error, or close.
Diagnosis
The request never reaches the backend. Tailing the backend during the click shows only
health/ready probes — no POST /agents/fetch-env-url arrives:
INFO: … "GET /ready HTTP/1.1" 200 OK
INFO: … "GET /health HTTP/1.1" 200 OK
(no fetch-env-url entry on click)
So the failure is client-side. In kagenti/ui-v2/src/components/EnvImportModal.tsx
(~L118–140), the handler awaits agentService.fetchEnvFromUrl(url) → agentService.parseEnvFile(...) inside a try/catch. Since the backend call is never
made, the call is likely throwing/short-circuiting before dispatch (or the button's
handler isn't firing) — and the catch isn't surfacing anything to the user either, so
it fails silently.
Likely candidates: the click handler not wired, an exception before the fetch
(e.g. URL validation or a bad agentService base URL), or a swallowed error that never
sets the modal's error state.
Impact
Users following the documented demo path can't import env vars from a URL. Workaround:
add the variables manually via "Add Variable" (Direct Value + Secret-ref types),
which works — but the documented URL-import path is broken.
Environment
kagenti main, UI ui-v2
Kind install via setup-kagenti.sh --with-spire --with-ui --with-backend
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this issue is still relevant, please comment or remove the stale label.
Activity
github-actions commentedon Sep 15, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this issue is still relevant, please comment or remove the stale label.
github-actions commentedon Sep 29, 2026
This issue was closed because it has been stale for 14 days with no activity. Feel free to reopen if this is still relevant.