From b2f2dc876810988334e7cac032edd82aac727a64 Mon Sep 17 00:00:00 2001 From: scott Date: Thu, 16 Apr 2026 13:09:10 -0400 Subject: [PATCH] Increase firmware upload timeout from 120s to 600s A 27 MB firmware file can take well over 2 minutes for the IOM BMC to receive and acknowledge, especially if it processes the file before responding. 600 seconds (10 minutes) gives enough headroom. Co-Authored-By: Claude Sonnet 4.6 --- modules/redfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/redfish.py b/modules/redfish.py index 48cbf23..c181392 100644 --- a/modules/redfish.py +++ b/modules/redfish.py @@ -93,7 +93,7 @@ def _redfish_upload_firmware(password: str, host: str, fw_path: str) -> tuple: }, ) try: - with urllib.request.urlopen(req, context=ctx, timeout=120) as resp: + with urllib.request.urlopen(req, context=ctx, timeout=600) as resp: raw = resp.read().decode("utf-8", errors="replace") try: return True, json.loads(raw) if raw.strip() else {}