Great, the addition of the secret will be a big improvement.
I tried connecting with multiple relay implementations (nos.lol which is strfry, bucket.coracle.social which is coracle/bucket, relay.nostr.band, relay.noswhere.com, and relay.stoner.com which is nostr-rs-relay), but none of them gave me any responses. Anyway, the same flow works fine with nsec.app.
Are you testing this on coracle? If so, make sure you're on dev.coracle.social, which has a whole bunch of bugfixes.
Actually, nsec.app isn't working for me now. Maybe this is on my end.
Nevermind, I just hadn't enabled push notifications. nsec.app works fine
Im testing on the dev.coracle.social, still debugging but now its working for me
🤔
Ill try reinstalling amber and reset the coracle webpage data to see if i can reproduce the error again
I was able to replicate the issue on nostrudel as well
https://image.nostr.build/695be249f765bc67db8ba1f59dc15eb5d63585fd0edc8fa2df975eb7138c5376.png
I tried with relay.nostr.band it returned Relay on OK wss://relay.nostr.band, 0169078069201bfea3267f93e1f925070e39342ff3ead872ac51c2ba76d514e4, true,
but the browser never got the event. it just shows the req and eose
That's all fine, but I think it would be more useful if/when showing a UI that allows users to pick their own relays. If the relays are already baked into the bunker/nostrconnect url, there's not much you can do if they don't check out.
I've been continuing to debug, and it seems like stricter approvals work better for me. They don't always go through, and there's some UI open/close spam, but I am able to get responses.
One other thing I've noticed is that if I remove permission but don't delete my key from the app, the bunker still responds with error: 'no permission', which gets in the way of my handler accepting a successful response from another signer. I'll have to handle that on my side anyhow, but I think bunkers probably "must not" respond if they don't have an active session.
I'll add some tests when there's a connect event to check if the relays supports nip 46.
- Fetch the nip 11 document
- Relay cant be paid relay or require auth
- Send a 24133 event with a random key to check if the relay accepts the event
- Fetch the event to see if the relay supports fetching 24133 events
Anything else I should check? I already make those tests when you change your relays, im just not trying to fetch the event yet