Before submitting
Area
apps/server / remote-access
Steps to reproduce
-
On an Arch Linux host, open T3 Code desktop and enable Settings → Connections → Network access (server binds 0.0.0.0:3773).
-
From a MacBook on the same WiFi LAN, open T3 Code desktop and add a remote environment via Settings → Connections → Add environment.
-
Pair with http://192.168.18.5:3773 (LAN IP of the Arch host).
-
Connect to the saved environment named arch.
-
Also reproducible by opening http://192.168.18.5:3773 directly in Chrome on the same Mac.
-
Observe the environment banner cycling:
arch: Failed to connect. Reconnecting... Reason: arch disconnected.
Expected behavior
A reachable LAN remote environment should stay connected while the server is up and the network path is healthy.
Actual behavior
The UI WebSocket (/ws) disconnects and auto-reconnects repeatedly. This happens with both the macOS T3 desktop app and Chrome browser.
Recent server trace samples show WebSocket session durations clustering around 16–46 seconds before SessionStore.markDisconnected fires, even though basic LAN connectivity is fine (ping ~2–5 ms, 0% packet loss).
Impact
Major degradation or frequent failure — remote sessions are hard to use due to constant reconnect churn.
Version or commit
- Server: T3 Code desktop AppImage on Arch Linux (
serverExposureMode: network-accessible, port 3773)
- Client:
T3Code(Nightly)/0.0.29-nightly.20260705.729 on macOS
Environment
Server (Arch Linux)
- Hostname:
arch
- LAN IP:
192.168.18.5
- WiFi: Intel Wi-Fi 6 AX201 (
iwlwifi)
- Network access enabled; server listening on
0.0.0.0:3773
- No Tailscale/proxy in path; plain HTTP LAN pairing
Client (macOS)
- MacBook M4 Pro
- Same WiFi subnet (
192.168.18.105)
- T3 Code desktop nightly + Chrome browser both affected
Logs or stack traces
Server runtime config:
{"host":"0.0.0.0","port":3773,"serverExposureMode":"network-accessible"}
Observed client user agents hitting /ws:
- Desktop:
T3Code(Nightly)/0.0.29-nightly.20260705.729 (Electron)
- Browser:
Chrome/149.0.0.0 on macOS
Sample WebSocket session durations before disconnect (from ~/.t3/userdata/logs/server.trace.ndjson*):
- Desktop: 16s, 17s, 25s, 40s, 43s, 44s
- Browser: 30s, 45s, 46s, 47s, 105s
Server-side disconnect marker observed repeatedly:
SessionStore.markDisconnected
LAN reachability during repro:
ping 192.168.18.105: 0% packet loss, ~2–5 ms RTT
Screenshots, recordings, or supporting files
N/A — UI banner text:
arch: Failed to connect. Reconnecting... Reason: arch disconnected.
arch disconnected.
Workaround
None reliable so far. Tailscale not yet tested on this setup.
Related
This looks like the same failure class as WebSocket/health-check reconnect churn on imperfect or busy links, not orphaned server processes:
Not the same as #2614 (orphaned t3 serve process leaks) — no orphaned t3 serve processes observed on the server host.
Before submitting
Area
apps/server / remote-access
Steps to reproduce
On an Arch Linux host, open T3 Code desktop and enable Settings → Connections → Network access (server binds
0.0.0.0:3773).From a MacBook on the same WiFi LAN, open T3 Code desktop and add a remote environment via Settings → Connections → Add environment.
Pair with
http://192.168.18.5:3773(LAN IP of the Arch host).Connect to the saved environment named
arch.Also reproducible by opening
http://192.168.18.5:3773directly in Chrome on the same Mac.Observe the environment banner cycling:
arch: Failed to connect. Reconnecting... Reason: arch disconnected.Expected behavior
A reachable LAN remote environment should stay connected while the server is up and the network path is healthy.
Actual behavior
The UI WebSocket (
/ws) disconnects and auto-reconnects repeatedly. This happens with both the macOS T3 desktop app and Chrome browser.Recent server trace samples show WebSocket session durations clustering around 16–46 seconds before
SessionStore.markDisconnectedfires, even though basic LAN connectivity is fine (ping ~2–5 ms, 0% packet loss).Impact
Major degradation or frequent failure — remote sessions are hard to use due to constant reconnect churn.
Version or commit
serverExposureMode: network-accessible, port3773)T3Code(Nightly)/0.0.29-nightly.20260705.729on macOSEnvironment
Server (Arch Linux)
arch192.168.18.5iwlwifi)0.0.0.0:3773Client (macOS)
192.168.18.105)Logs or stack traces
Server runtime config:
{"host":"0.0.0.0","port":3773,"serverExposureMode":"network-accessible"}Observed client user agents hitting
/ws:T3Code(Nightly)/0.0.29-nightly.20260705.729(Electron)Chrome/149.0.0.0on macOSSample WebSocket session durations before disconnect (from
~/.t3/userdata/logs/server.trace.ndjson*):Server-side disconnect marker observed repeatedly:
SessionStore.markDisconnectedLAN reachability during repro:
ping 192.168.18.105: 0% packet loss, ~2–5 ms RTTScreenshots, recordings, or supporting files
N/A — UI banner text:
Workaround
None reliable so far. Tailscale not yet tested on this setup.
Related
This looks like the same failure class as WebSocket/health-check reconnect churn on imperfect or busy links, not orphaned server processes:
Not the same as #2614 (orphaned
t3 serveprocess leaks) — no orphanedt3 serveprocesses observed on the server host.