selfhold

SELFHOLD / FOR DEVELOPERS Guide pages ↓

Troubleshooting

Find what you see, then the fix.

Nothing opens when I press the button

The browser blocked the window: the call came after an await, a timer, or outside a click. Make it the first thing the click handler does, and pass any reading as a promise. The error is PopupBlocked.

The window opens and says “Waiting for the site…” forever

The window answers only https pages, and pages on http://localhost or http://127.0.0.1. Your page is served over http from another address: serve it over https, or from localhost.

The window shows Selfhold's home page, and the call fails with Closed

Your page sends Cross-Origin-Opener-Policy: same-origin, which cuts it off from the windows it opens. Use same-origin-allow-popups, or no COOP header.

It doesn't work from a file I opened directly

A file:// page has no origin for the window to answer. Serve the folder on localhost (python3 -m http.server 8000).

“This passkey can’t make a key here”

The browser or password manager doesn't support the passkey PRF extension, which the account's key is derived from. Try a current Chrome, Safari or Edge, or another password manager, or Selfhold for Chrome.

Someone sees a different account than they expect

Selfhold for Chrome and Selfhold's window keep separate accounts. If the extension is installed, the default wallet is the extension. Show wallet.kind on your page, or choose with use.

A write stays slow or late

Blocks may be slow on that chain, or the node may have dropped the write. It may still land: show the state, offer sent.checkNow() as “Check again”, and don't resend it on your own. After 30 minutes wait() rejects with NotRecorded.

People are asked for coins though I have a sponsor

The sponsor was down, or the write needed more work than the window will do, or a payment over the sponsor's limit. The NeedsCoins error's sponsor says which. Selfhold for Chrome always pays fees from coins.

On iPhone, the fee work stops

iOS may pause a tab in the background. Ask people to stay on Selfhold's tab until it says it's sent.

The chain refuses the write

An action didn't match what the chain holds: a key you add already exists, or a key you change no longer holds oldValue. Read the records just before building the write. The chain may also have its own rules for the records it takes.

Still stuck? Search or open an issue ↗.

Something wrong or missing here? Report it on GitHub ↗