diff --git a/server/monitor-types/tcp.js b/server/monitor-types/tcp.js index afb4867c7..85f90310d 100644 --- a/server/monitor-types/tcp.js +++ b/server/monitor-types/tcp.js @@ -353,7 +353,7 @@ class TCPMonitorType extends MonitorType { reject(new Error("TLS connection timed out")); }, timeout); - socket.on("secureConnect", () => { + socket.on("session", () => { clearTimeout(timeoutId); const responseTime = Date.now() - startTime;