From af156ab3f067c558be1ca3b9b86d02ecf8d9423a Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 9 Oct 2026 09:36:02 -0400 Subject: [PATCH] client: default the dev server name to void.aeternalisgames.com The connect form paired the dev endpoint with the local test PKI's name (dev-region.evolution.test), so a default connection to the dev region failed the certificate name check. client_ui_model checks the new default; the tester doc names it. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 --- .../region/dev-session-route/listener.yaml | 2 +- docs/engineering/VALIDATION.md | 13 +++++++++++++ docs/networking/M10_CLIENT_SESSIONS.md | 7 +++++-- include/evo/client/launcher.hpp | 3 ++- tests/client_ui_model.cpp | 1 + 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/deploy/kubernetes/region/dev-session-route/listener.yaml b/deploy/kubernetes/region/dev-session-route/listener.yaml index 4751154..eaa5c18 100644 --- a/deploy/kubernetes/region/dev-session-route/listener.yaml +++ b/deploy/kubernetes/region/dev-session-route/listener.yaml @@ -12,7 +12,7 @@ spec: env: - {name: REGION_SESSION, value: "dev"} - {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"} - - {name: REGION_SESSION_WINDOW, value: "dev-20261009T121534-57f7:1791561934"} + - {name: REGION_SESSION_WINDOW, value: "dev-20261009T133555-f23c:1791566755"} - {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"} ports: # QUIC (ADR-0090): UDP only; nothing listens on TCP 7400. diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index be3fdc5..bf984ea 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -5312,3 +5312,16 @@ Executed: Not run: Windows `client-network`. The maintainer's `evo-client.exe` was running from that build directory, so the link could not replace it (LNK1104). The change touches no client code. + +## 2026-10-09 — engineering client: default server name for the dev route + +The maintainer's Windows client could not connect to the dev region ("unreachable or its +certificate does not match"). The connect form defaulted the server name to +`dev-region.evolution.test`, the local test PKI's name, while the dev certificate is for +`void.aeternalisgames.com`. The default is now `void.aeternalisgames.com`, matching the +default endpoint. `client_ui_model` checks it, and `M10_CLIENT_SESSIONS.md` names it. + +Executed: +- Windows `client` 9/9. +- Windows `client-network` 15/15. This also covers the session-cap change above, whose + `client-network` run had been blocked by the running client. diff --git a/docs/networking/M10_CLIENT_SESSIONS.md b/docs/networking/M10_CLIENT_SESSIONS.md index fc510ea..8b1395a 100644 --- a/docs/networking/M10_CLIENT_SESSIONS.md +++ b/docs/networking/M10_CLIENT_SESSIONS.md @@ -22,10 +22,13 @@ expires. Give the tester the bundle and the public dev CA (`dev-ca.pem`). Run `evo-client`, choose **Connect to a dev region** and fill in the endpoint (default `void.aeternalisgames.com:7400`, UDP; reachable only from 172.10.1.0/24), the server name -on the dev certificate, `dev-ca.pem` and the bundle. Or: +on the dev certificate (default `void.aeternalisgames.com`; `dev-region.evolution.test` is +the local test PKI's name and fails against the dev region), `dev-ca.pem` and the bundle. +Or: ```sh -evo-client --connect void.aeternalisgames.com:7400 --server-name NAME --ca dev-ca.pem \ +evo-client --connect void.aeternalisgames.com:7400 --server-name void.aeternalisgames.com \ + --ca dev-ca.pem \ --grants tester.grants ``` diff --git a/include/evo/client/launcher.hpp b/include/evo/client/launcher.hpp index 115685f..370b9fe 100644 --- a/include/evo/client/launcher.hpp +++ b/include/evo/client/launcher.hpp @@ -36,8 +36,9 @@ enum class LaunchError : std::uint8_t { }; [[nodiscard]] std::string_view launch_error_text(LaunchError error) noexcept; +// Defaults: the dev route (ADR-0087) and the name on its certificate. struct ConnectForm { - std::string endpoint{"void.aeternalisgames.com:7400"}, server_name{"dev-region.evolution.test"}; + std::string endpoint{"void.aeternalisgames.com:7400"}, server_name{"void.aeternalisgames.com"}; std::string authority_path, grants_path; }; struct Endpoint { diff --git a/tests/client_ui_model.cpp b/tests/client_ui_model.cpp index 99a5b4d..7ac983a 100644 --- a/tests/client_ui_model.cpp +++ b/tests/client_ui_model.cpp @@ -166,6 +166,7 @@ void launcher() { // The default endpoint is the dev route (ADR-0087); records are M10 grants (160 bytes). CHECK(loaded && loaded->grants.size() == 3 && loaded->endpoint.port == 7400 && loaded->endpoint.host == "void.aeternalisgames.com" && grant_record_bytes == 160 && + loaded->server_name == "void.aeternalisgames.com" && // The dev certificate's name. loaded->authority_path == form.authority_path); const auto refused_with = [&](const ConnectForm& f, LaunchError e) { const auto r = load_connect(f);