From 8058ffd21790625edffdda86617f7679a9092a1a Mon Sep 17 00:00:00 2001 From: Rodrigo Polo Date: Fri, 29 Aug 2025 01:47:08 -0600 Subject: [PATCH] Timeout issue --- src/backend/ssh/terminal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/ssh/terminal.ts b/src/backend/ssh/terminal.ts index 7b23cac0..a77a7e90 100644 --- a/src/backend/ssh/terminal.ts +++ b/src/backend/ssh/terminal.ts @@ -137,7 +137,7 @@ wss.on('connection', (ws: WebSocket) => { ws.send(JSON.stringify({type: 'error', message: 'SSH connection timeout'})); cleanupSSH(connectionTimeout); } - }, 15000); + }, 60000); sshConn.on('ready', () => { clearTimeout(connectionTimeout); @@ -217,7 +217,7 @@ wss.on('connection', (ws: WebSocket) => { username, keepaliveInterval: 30000, keepaliveCountMax: 3, - readyTimeout: 10000, + readyTimeout: 60000, tcpKeepAlive: true, tcpKeepAliveInitialDelay: 30000,