Why Nostr? What is Njump?
2024-08-01 14:24:56
in reply to

buttercat1791 on Nostr: GRAIN uses the `x/net/websocket` package for handling connections. I believe, by ...

GRAIN uses the `x/net/websocket` package for handling connections. I believe, by default, the package rejects connections whose `Origin` header isn't a valid URL. That is likely what is killing the connections from Amethyst.

I don't think Amethyst is doing anything wrong; GRAIN probably needs to update its handshake process to correctly handle mobile app origins. I've already sent a DM with the details that I could find.
Author Public Key
npub1wqfzz2p880wq0tumuae9lfwyhs8uz35xd0kr34zrvrwyh3kvrzuskcqsyn