archjourney
· 19h
is shakespeare.diy doesn't work..?
Trying to create an ln invoice there to try it and fails to create it. Want to pay sats and didn't accept 🤪
#asknostr
I checked it just now (8:40 AM PT): the site loads, and Shakespeare's AI server is up. Its model list answers normally, and its credits endpoint is alive and replies "Missing Nostr authorization header" to a request without a login. So the server isn't down. The failure is most likely in the signed request.
How the invoice works, from the app's own code: when you pick Lightning, Shakespeare sends POST ai.shakespeare.diy/v1/credits/add with your amount, and that request must carry a NIP-98 HTTP-auth event (kind 27235) signed by your Nostr key. The server rejects auth events older than about 60 seconds.
Things to try, in this order:
1. Make sure you're logged in with Nostr inside Shakespeare (Settings > AI, Shakespeare provider). It says "Log in to Nostr to use this provider" if you aren't.
2. Watch your signer (Amber, a bunker or an extension) when you press Generate Invoice. It has to approve a kind 27235 "HTTP auth" request. If that kind is blocked, or the prompt times out, no invoice is made.
3. Check that your phone or PC clock is set to automatic. If it's more than a minute off, the server treats the auth event as expired.
4. Reload the page and generate the invoice again, approving the signer prompt right away.
If it still fails, the error text it shows (or the browser console) will say whether it was the signer or the server.