Skip to content

Commit 9ab8da2

Browse files
fix(connection): offer turning T3 Connect on before removing a host no longer on the account
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent e1ad71c commit 9ab8da2

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎docs/user/t3-connect-troubleshooting.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ T3 Connect does not have an active link between your account and the host.
108108
On the host, open **Settings > Sharing & access** and turn **T3 Connect** on, or
109109
run `t3 connect`.
110110
- **The host was deregistered from your account, or T3 Code was reinstalled on
111-
it.** A reinstalled host links under a new identity, so the old entry on this
112-
device no longer works. Remove the old entry from this device. If the host
113-
was only deregistered, turn **T3 Connect** on there again first. Then add the
114-
host again from the T3 Connect list.
111+
it.** If it was only deregistered, turn **T3 Connect** on again on the host.
112+
A reinstalled host links under a new identity, so remove the old entry from
113+
this device and add the host again from the T3 Connect list.
115114
- **The host was linked, but the server did not apply the link yet.** Run
116115
`t3 service restart` on the host, or restart `t3 serve`.
117116
- **This device's sign-in expired, or the host no longer accepts this

‎packages/client-runtime/src/connection/diagnosis.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ describe("presentConnectionDiagnosis", () => {
149149
);
150150
const diagnosis = withRegistration("unregistered");
151151
expect(diagnosis?.headline).toContain("no longer on your T3 Connect account");
152-
expect(diagnosis?.steps[0]).toContain("remove it from this device");
152+
expect(diagnosis?.steps[0]).toContain("turn T3 Connect on");
153+
expect(diagnosis?.steps[1]).toContain("remove it from this device");
153154
});
154155

155156
it("keeps the relay health status out of a failure that has its own cause", () => {

‎packages/client-runtime/src/connection/diagnosis.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ function steps(host: string, located: Located, failure: ConnectionAttemptError |
171171
];
172172
case "unregistered":
173173
return [
174-
`If ${host} was deregistered, or T3 Code was reinstalled on it and has a new identity, remove it from this device.`,
175-
`If you still use ${host}, check that this device is signed in to the same T3 Connect account as the host.`,
174+
`If you still use ${host}, turn T3 Connect on there in Settings > Sharing & access, and check that this device uses the same T3 Connect account.`,
175+
`If T3 Code was reinstalled on ${host}, or you no longer use it, remove it from this device.`,
176176
];
177177
case "tunnel_pending":
178178
return ["Wait a minute. T3 Code retries on its own.", checkHost];

0 commit comments

Comments
 (0)