From 6cbe676b1800857499ed8e9cc5850a2e4836f8d9 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Mon, 15 Jun 2026 13:14:11 +0800 Subject: [PATCH] Increase MCP HTTP client timeout from 10s to 30s Dynamips node creation (e.g., Cisco 7200 with multiple adapters) can exceed the previous 10-second timeout, causing MCP tools to fail with Read timed out errors. --- gns3server/agent/gns3_copilot/gns3_client/custom_gns3fy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/agent/gns3_copilot/gns3_client/custom_gns3fy.py b/gns3server/agent/gns3_copilot/gns3_client/custom_gns3fy.py index 6e30af017..0cfe4c5c7 100644 --- a/gns3server/agent/gns3_copilot/gns3_client/custom_gns3fy.py +++ b/gns3server/agent/gns3_copilot/gns3_client/custom_gns3fy.py @@ -308,7 +308,7 @@ class Gns3Connector: "headers": headers, "params": params, "verify": verify, - "timeout": 10.0, # Fixed 10-second timeout for all GNS3 API requests + "timeout": 30.0, } if data is not None: kwargs["data"] = data