Join Nostr
2026-09-17 14:57:01 UTC
in reply to

Adam Soltys on Nostr: My clanker suspects it was a Cloudflare issue with your server: Amethyst hits this ...

My clanker suspects it was a Cloudflare issue with your server:

Amethyst hits this error while fetching the zap invoice, before it ever talks to her NWC connection, so her Coinos wallet never
gets involved.

What I checked on defauxking@onyxcatpottery.com:
- https://onyxcatpottery.com/.well-known/lnurlp/defauxking is a static file copied from Alby, served by LiteSpeed behind Cloudflare. It still points everything at getalby.com (the callback,
and the identifier defauxking@getalby.com).
- It sends no Content-Type header at all. The body should be served as application/json. This is the most likely thing to trip Amethyst's parser.
- Fetched from here, the body is valid JSON, with the same result under Android user agents (okhttp, Amethyst, Android). I got no Cloudflare challenge page, but I can't rule one out for her
IP or region. That would also produce "Error Parsing JSON."
- The Alby callback works: it returned a valid invoice for 21 sats, and it supports Nostr zaps.

What the recipient should do: set Content-Type: application/json on /.well-known/lnurlp/* in LiteSpeed/.htaccess, and make sure Cloudflare's bot protection skips that path. Or they could
just use defauxking@getalby.com directly. Their copied file also won't pick up any changes Alby makes later.