Closed Bug 1670380 Opened 5 years ago Closed 5 years ago

When starting server from ssh.py wait until the SSH server is up before attempting to connect

Categories

(Webtools :: Searchfox, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: kats)

Details

ssh.py attempts to start stopped servers, but it just waits until they're in the running state before attempting the connection. Sometimes this is too early as the SSH server isn't up yet and the connection fails. We should wait a bit before attempting connection.

Added a 20 second wait in one of the patches in https://github.com/mozsearch/mozsearch/pull/371

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.