Windows Desktop 1.3.3 repeatedly fails with “Cloudflare sign-in expired #315
|
I’m trying to install Second Brain Desktop 1.3.3 on Windows using the advertised simple setup. Cloudflare sign-in succeeds and Wrangler authorization succeeds. Setup then completes: ✅ Creating private space But always fails on: ❌ Finishing up with: “Cloudflare sign-in expired.” I retried, signed out/in, reauthorized Cloudflare, and restarted the setup from scratch with a new Second Brain password. Same result every time. After signing back in, the app also reported that it could not find a Second Brain in that Cloudflare space. Is this a known issue with Desktop 1.3.3, and is there a straightforward fix that does not require manually configuring Cloudflare/Workers/Wrangler? Thanks! |
Replies: 2 comments 5 replies
|
Hi @Steverino17, sorry you hit this, and thanks for the clear report. You've done all the right things on your end; this looks like a bug on ours. What's happening: "Cloudflare sign-in expired" at the Finishing up step is a misleading message. Your Cloudflare sign-in is fine. That message can also appear when the freshly deployed brain doesn't yet recognize the password that was just set for it (for example, if an earlier setup attempt left a partial brain behind, or the new deployment hasn't fully propagated yet). The app currently treats that as fatal instead of waiting and retrying, which is the bug we need to fix. A couple of things that would help us narrow it down:
If 1.4.0 doesn't fix it, we'll ship a fix that makes setup wait through propagation instead of failing fast, and report what actually went wrong rather than blaming your sign-in. |
|
Hi @Steverino17, good news: Desktop 1.4.1 is out and it fixes this. We were able to reproduce and root-cause what you hit. The short version: "Cloudflare sign-in expired" was the wrong explanation. What actually happened at that step is that the freshly deployed brain briefly refused the password it was being set up with (new deployments take a few seconds to reach every server on Cloudflare's edge, and during that window an older copy can still be answering). The app used to give up on the first refusal and show the sign-in message, which sent you re-authorizing a login that was never the problem. What changed in 1.4.1:
Please update to 1.4.1 (the app should offer it automatically, or grab it from the Releases page) and try setup again. If it fails, open a new issue and mention your log file location and we will take it from there: One note since you will see it in that log: it deliberately redacts your brain's address and any credentials before writing, so it is safe to share. |
Hi @Steverino17, good news: Desktop 1.4.1 is out and it fixes this.
We were able to reproduce and root-cause what you hit. The short version: "Cloudflare sign-in expired" was the wrong explanation. What actually happened at that step is that the freshly deployed brain briefly refused the password it was being set up with (new deployments take a few seconds to reach every server on Cloudflare's edge, and during that window an older copy can still be answering). The app used to give up on the first refusal and show the sign-in message, which sent you re-authorizing a login that was never the problem.
What changed in 1.4.1: