Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: iOS 1.0.3 cannot exchange relay DPoP access token (invalid_dpop) — T3 Connect, notifications, and Live Activities all fail #7170

OpenRocStone(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

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

Related but different: #6568 (endpoint_provider_not_managed), #5332 (invalid environment credential), #5712 (EnvironmentAuthInvalidError after relink). This report is a client-side relay DPoP token exchange failure on iOS.

Area

apps/mobile

Steps to reproduce

  1. Install T3 Code iOS 1.0.3 from the App Store on an iPhone running iOS 26.
  2. Install T3 Code desktop Alpha 0.0.33 on a MacBook Pro. Enable T3 Connect, Publish agent activity, and Network access.
  3. Sign in to the same T3 account on both devices (reproduced with Sign in with Apple, and again after switching to a different T3 account).
  4. On iOS, open Environments. The Mac appears under T3 CONNECT. Toggle it on.
  5. On iOS, open Settings and enable Device Notifications. Grant the system notification permission when asked.
  6. On iOS, enable Live Activities.

Expected behavior

  • The iPhone should complete relay DPoP token exchange, register as a T3 Connect mobile client, and open a relay tunnel to the already-linked Mac.
  • Device Notifications and Live Activities should register after iOS permission is granted.
  • The Mac should then be controllable from cellular / off-LAN via T3 Connect.

Actual behavior

The Mac is discoverable, Clerk sees both devices, and LAN pairing works. Every T3 Connect cloud path fails at the same DPoP handshake.

Remote control via T3 Connect

Connection failed. Reason: Relay authentication failed: invalid_dpop
Trace ID: 4a1f06f836b49ece148630d444b0a062
Check ID: b4facd3f1570e7bb6774ed273d1e3101

The Mac stays under the T3 CONNECT list with a red status. It never moves into a connected environment. Desktop Account → Mobile clients stays empty: "No mobile clients".

Device Notifications

iOS notification permission is granted. The in-app toggle then fails with:

Couldn't finish enabling notifications Notification access was granted, but this device could not be registered with T3 Connect. Notifications will start once registration succeeds.

Live Activities

Live Activities unavailable Could not exchange relay DPoP access token.

These three failures look like one door: iOS cannot exchange a relay DPoP access token with relay.t3.codes. Notifications and Live Activities need that token to register. Remote control needs the same token to open the tunnel.

Isolation (what this is not)

CheckResult
LAN Create link to http://<lan-ip>:3773Success. Environments shows 1. Full control works on the same Wi-Fi.
Switch to a different T3 account and repeatSame invalid_dpop / same notification and Live Activities errors.
Phone VPNNone.
Phone networkFails on home Wi-Fi and on cellular.
Mac school VPNNot on the iPhone → relay path. Desktop Clerk session and the iPhone on the same LAN both showed the home ISP public IP, not a VPN egress.
Desktop T3 Connect / Publish agent activityBoth enabled. Desktop environment.cloud.relayConfig succeeds. The host is advertised as MacBook Pro (26).
Clerk identitySame account on both devices. Security → Active devices lists Macintosh (Electron 41.5.0) and Mobile device (T3Code 26).
Desktop ↔ mobile version numbersDesktop Alpha 0.0.33 vs iOS 1.0.3. Expected product split. LAN still works, so this is not a generic protocol skew in the T3 server.

So: login works, environment discovery works, the local T3 server works, pairing works. Only the iPhone ↔ relay DPoP token exchange fails, and it fails independently of which T3 account is signed in.

Impact

Major degradation or frequent failure

T3 Connect is unusable for off-LAN control, push, and Live Activities on this iPhone. Same-Wi-Fi Create link remains a workaround.

Version or commit

  • iOS app: 1.0.3
  • Desktop: T3 Code (Alpha) 0.0.33 (Electron 41.5.0)

Environment

  • iPhone, iOS 26 (Clerk device string T3Code 26)
  • MacBook Pro, macOS 26 (environment name MacBook Pro (26))
  • Relay: https://relay.t3.codes
  • Phone has no VPN / no proxy / iCloud Private Relay not involved in the failing path
  • Date/time automatic on both devices

Logs or stack traces

Relay authentication failed: invalid_dpop
Trace ID: 4a1f06f836b49ece148630d444b0a062
Check ID: b4facd3f1570e7bb6774ed273d1e3101

Desktop-side relay config for this environment succeeded. The rejection happens when the iOS client talks to the relay, before a tunnel to the Mac is useful.

Workaround

Pair with desktop Create link over LAN. That environment works on the same Wi-Fi and does not need relay DPoP. It drops as soon as the phone leaves the LAN, which is expected.

Tailscale HTTPS pairing is the off-LAN workaround that also avoids the T3 relay.

Deleting/reinstalling the iOS app and signing into a fresh T3 account did not fix relay DPoP exchange.

  1. Note

    This is an automated response from a bot acting on maria's behalf. This issue has had no activity since 2026-08-16. Is it still relevant on the current version? If so, your version and OS would help.

  2. juliusmarminge added labelsneeds more info

  3. juliusmarminge removed labelsneeds more info

  4. tanstack-source added labelsbug

Sign in to join this conversation.