At a glance
| Problem | The Download button on a DAI engine's logs page fails. The live log viewer works. |
| Affects | AIEM in HAIC 25.04.2 and 25.08.2, in Chromium-based browsers |
| Cause | A defect in AIEM log streaming. |
| Workaround | Use Firefox or Safari, or get the logs with kubectl. |
| Solution | Upgrade to a release that includes the AIEM fix. |
Symptom
On a DAI engine's Logs page, clicking Download shows:ERROR: An error occurred while attempting to download the log file
This happens for every engine and every user, including on new engines. The live log viewer on the same page works. The browser console shows:
WebSocket connection to '.../daiEngines/<engine>:stream_logs?follow=false...' failed: Close received after closeThere is a related issue on the same versions: non-admin users who open an engine's Logs page get a 404 page.
Applies to
| Product | AI Engine Manager in HAIC 25.04.2 and 25.08.2 (also seen with AIEM 1.1.3 and App Store 2.1.13) |
| Browsers | Chromium-based browsers (Chrome, Edge) |
| Fixed in | ⚠ TBC: AIEM / HAIC release that contains the fix |
Cause
- Download error: This is a backend defect in AIEM. When the log stream ends, an extra close event reaches the browser. Chromium-based browsers treat it as an error and throw away the download, even though the log content arrived.
- 404 for non-admins: In these App Store versions, the engine logs page is only available to admins. No configuration setting changes this.
What this is not
| Theory | Status |
|---|---|
| Missing or corrupt log files, or a full disk | Ruled out. The live viewer shows the logs, and engine storage is healthy. |
| Per-engine permissions | Ruled out. It fails for every engine and every user. |
Resolution
- Download the logs in Firefox or Safari.
- If that still fails, or the user isn't an admin,get the logs outside the UI:
kubectl get pods -n <engine-namespace> | grep engine- kubectl logs engine-<id> -n <engine-namespace> > dai-engine.logThe AIEM Python client can also read engine logs.
- Upgrade to a release that includes the AIEM fix. ⚠ TBC: release
How to verify
- The download saves a log file that contains the full engine log from startup.
- No
Close received after closeerror appears in the browser console.
Last reviewed: 1 Dec 2026