Skip to content

Self-hosted, plugin-based server management.

Timeout issue

Rodrigo Polo8058ffd21790
diff --git a/src/backend/ssh/terminal.ts b/src/backend/ssh/terminal.ts
index 7b23cac07..a77a7e90a 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,