diff --git a/hassio/src/dashboard/hassio-update.ts b/hassio/src/dashboard/hassio-update.ts index 2a10b8318d..e4cd4dbb07 100644 --- a/hassio/src/dashboard/hassio-update.ts +++ b/hassio/src/dashboard/hassio-update.ts @@ -161,11 +161,18 @@ export class HassioUpdate extends LitElement { try { await this.hass.callApi>("POST", item.apiPath); } catch (err) { - showAlertDialog(this, { - title: "Update failed", - text: - typeof err === "object" ? err.body?.message || "Unkown error" : err, - }); + // Only show an error if the status code was not 504 (timeout reported by proxies) + if (err.status_code !== 504) { + showAlertDialog(this, { + title: "Update failed", + text: + typeof err === "object" + ? typeof err.body === "object" + ? err.body.message + : err.body || "Unkown error" + : err, + }); + } } item.progress = false; }