[Bug]: Load balancing shows LAN while the active environment route is T3 Connect #25168
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/web
Steps to reproduce#
- Use the macOS desktop client with a remote PC environment that has two saved routes: a LAN route listed first and a T3 Connect route.
- Establish an active connection to the remote environment through T3 Connect. In Settings > Connections > Environments, confirm its subtitle reads
via T3 Connect · Connected · 2 routes. - Expand Load balancing on the same settings page.
- Compare the route subtitle for the same environment in the two sections.
Expected behavior#
Both sections identify the active route consistently. If Load balancing intentionally shows the first saved or preferred route, explicitly label that distinction so it cannot be mistaken for the active transport.
Actual behavior#
The environment is connected through T3 Connect, but its Load balancing row says LAN.
Sanitized transcription of the observed UI (machine labels replaced):
| Section | Environment | Subtitle |
|---|---|---|
| Environments | Remote PC | via T3 Connect · Connected · 2 routes |
| Load balancing | Remote PC | LAN |
The load-balancing preference was Prefer. This preference concerns machine selection, but the route subtitle makes it appear that a different transport is in use.
Impact#
Minor bug or occasional failure: misleading connection status. It makes users question whether T3 Connect is working and whether remote work is being routed as expected. No tunnel or load-balancing failure is established by this report.
Version or commit#
Observed remote backend: 0.1.3-nightly.20261025.3692. The macOS client version was not captured separately.
Environment#
macOS desktop client connecting to a Windows PC running the T3 backend inside WSL (Linux x64).
Investigation notes#
Inspection of the installed nightly UI bundle shows that the main environment row supplies the active route to the environment-subtitle helper, while the Load balancing row calls the same helper without an active route. For environments with multiple saved routes, the helper falls back to the first saved route when no active route is supplied. With LAN first and T3 Connect active, this produces the observed mismatch.
Relevant source areas appear to be apps/web/src/components/settings/EnvironmentRow.tsx and the Load balancing rendering in apps/web/src/components/settings/ConnectionsSettings.tsx / SavedEnvironmentRows.tsx. The investigation above is from the installed build, rather than a checkout of current main.
Workaround#
Use the main Environments row (via T3 Connect in this case) to identify the active route. The Load balancing subtitle alone should not be used to infer which route is currently connected.
maria-rcks closed this
Sign in to join this conversation.