diff --git a/mac/Sources/Byre/Startup.swift b/mac/Sources/Byre/Startup.swift index e4f1594..a1ef0ea 100644 --- a/mac/Sources/Byre/Startup.swift +++ b/mac/Sources/Byre/Startup.swift @@ -560,9 +560,10 @@ struct ServerWindow: View { return steps } let name = serverName(connection.origin.absoluteString) - steps.append(SetupStep(name: "Find byre servers", status: .done, detail: "Found \(name)")) - var connect = SetupStep(name: "Connect to \(name)", status: ready ? .active : .todo) - if ready, case .failed(let problem) = connection.phase { + let found = ready && tailnet.reachable(connection.origin) + steps.append(found ? SetupStep(name: "Find byre servers", status: .done, detail: "Found \(name)") : SetupStep(name: "Find byre servers", status: ready ? .active : .todo)) + var connect = SetupStep(name: "Connect to \(name)", status: found ? .active : .todo) + if found, case .failed(let problem) = connection.phase { connect.detail = "Retrying: \(problem)" } steps.append(connect)