Skip to content

[Bug]: SwiftUI app stays stuck syncing/reconnecting until the other T3 app's device entry on the same iPhone is removed #13994

Description

@gmelvill

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. On one iPhone, install both the iOS app (1.3.0, build 85) and the SwiftUI TestFlight app (0.1.0, build 52), signed into the same T3 account.
  2. Pair both apps directly with the same Windows desktop environment over a private HTTPS address (Tailscale Serve). Both appear as separate, valid sessions on the host.
  3. Let the desktop install a nightly update and restart (backend unreachable for about 2–3 minutes).
  4. Reopen the iOS app. It reconnects normally.
  5. Open the SwiftUI app.

Expected behavior

Both apps reconnect on their own once the host is back.

Actual behavior

The SwiftUI app stays stuck on "Syncing threads" or loops on reconnecting. It only recovers after opening Devices in the SwiftUI app and removing the other entry, which is the 1.3.0 app on the same iPhone. This has happened repeatedly after desktop nightly updates, and the entry has to be removed again each time.

On the Devices screen both entries are named "iPhone". The other entry showed "last seen 5 hours ago" even though the 1.3.0 app had talked to the host a minute earlier. Removing it did not revoke the 1.3.0 app's session on the host, and afterwards both apps worked side by side. That suggests the Devices list is account-level and that two T3 apps on one physical device are treated as the same device, or one replaces the other.

Impact

Major degradation or frequent failure

Version or commit

iOS app 1.3.0 (85); SwiftUI TestFlight 0.1.0 (52); desktop 0.0.43-nightly.20260927.2344

Environment

iPhone, iOS 27; Windows 11 desktop host; direct connection over Tailscale Serve HTTPS

Logs or stack traces

The host's auth_sessions table showed one live, unrevoked session each for the SwiftUI app (0.1.0) and the iOS app (1.3.0), both connected within minutes of each other, before and after the device entry was removed from the Devices screen. So the stuck state does not appear to come from host-side session auth.

Workaround

Remove the other app's "iPhone" entry from Devices in the SwiftUI app.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions