Stand down when the portal revokes this instance

The connector treats close code 4410 from the hub as final: it stops
dialling, keeps cloud.json so a new claim code replaces it, and reports
revoked in /cloud/status, which Settings → Remote access shows as Removed
at the portal. Enrolling again, or a restart, brings the link back. An
older hub still answers 403 and the link keeps retrying as before.
This commit is contained in:
2026-10-15 10:30:38 +02:00
parent 21cfed7d39
commit dd50d7a16a
5 changed files with 112 additions and 11 deletions
+4
View File
@@ -66,6 +66,10 @@ proxy on that route must support WebSockets.
- To replace the pairing, use **Connect with a new code**. Remote users and
panels may need to pair again.
If the instance is removed at the portal, or its code is renewed there, the
status reads **Removed at the portal** and the instance stops dialling. Connect
with a new code to restore remote access.
Local sign-in and flows continue after disconnecting. Portal requests follow
the instance's normal account permissions, and the instance verifies portal
tokens against the public signing key pinned during enrollment.