You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Diagnose host clock skew when Connect proof verification fails #1989
Add an actionable clock/time-sync diagnostic for a signed Connect heartbeat rejected because iat is in the future. Preserve signature, audience, purpose, expiry and identity validation; distinguish clock skew from network failure using existing error/status patterns. No clock changes or deployment.
Plan:
Trace proof verification and host status/error propagation.
Add focused regression and smallest diagnostic fix.
Run focused checks, annotate diff and report limitations.
Trace complete. Work branch fix/connect-clock-skew is based on coder/cloud-connect at 513daa0 because this thread's initial checkout predates Connect. Added regression tests using real signed HTTP-200 future heartbeat responses; all three tests failed before the fix (link/startup, periodic retry, connector pre-launch). Host status now maps only jose's future-iat validation error to clock/NTP/timedatectl guidance and preserves existing fallback messages. Proof verification is unchanged. Focused verification and diff annotation in progress.
Implemented on fix/connect-clock-skew, based on coder/cloud-connect 513daa0.
Completed:
Traced future-iat failures through host link, startup, scheduled reconciliation and connector beforeStart.
Added clock/NTP/timedatectl status guidance using existing host.error, preserving network fallback messages and all proof/identity validation.
Added signed-response regression tests, expired-proof/network distinction, recovery and saved-identity checks; the 3 new host cases failed before the fix.
Added troubleshooting documentation and .solenta/review-itinerary/77b1e97b-0f29-4978-8d3d-3bf277320d27.json.
Validation: node --import=./test/support/render.mjs --experimental-strip-types --test electron/test/cloud*.test.js — 63 passed, 0 failed. git diff --check clean. A first run without the repository loader failed the existing cloudWire TypeScript import; rerunning with the proper loader passed all tests. No full application suite or live Linux clock manipulation; no deployment.
Activity
currentbits commentedon Nov 10, 2026
Trace complete. Work branch fix/connect-clock-skew is based on coder/cloud-connect at 513daa0 because this thread's initial checkout predates Connect. Added regression tests using real signed HTTP-200 future heartbeat responses; all three tests failed before the fix (link/startup, periodic retry, connector pre-launch). Host status now maps only jose's future-iat validation error to clock/NTP/timedatectl guidance and preserves existing fallback messages. Proof verification is unchanged. Focused verification and diff annotation in progress.
currentbits commentedon Nov 10, 2026
Implemented on fix/connect-clock-skew, based on coder/cloud-connect 513daa0.
Completed:
Validation: node --import=./test/support/render.mjs --experimental-strip-types --test electron/test/cloud*.test.js — 63 passed, 0 failed. git diff --check clean. A first run without the repository loader failed the existing cloudWire TypeScript import; rerunning with the proper loader passed all tests. No full application suite or live Linux clock manipulation; no deployment.