Did you enable Tor? Is the orbot app running?
Discussion
I have Orbot installed, but not running.
Is it enabled in amber settings?
Hmmm. I just disabled it in settings.
It seems to have put the broken nsec Link in my Amber connection list. Let me delete that and try again.
Same.

Are you using citrine as the bunker relay?
It's nsec.app relay.
Do you have multiple accounts? Turn off Tor on those accounts too and let me know if it worked
I turned it off on all accounts and then I wanted to double-check that it was really off, for one of them, and clicked one level up in the account list and now the account list icon disappeared. It sometimes does that. Just goes away.

Stop and restarted and now it worked. 🎉
Glad it works. Very frustrating, to always be stuck with a browser extension, as I don't want to use that on every browser on every machine.
It took me a while, to turn it off. I have all of my organisation and test accounts on there. Also don't understand why I need to turn it off, there, when I've turned off Orbot. Shouldn't it detect that Orbot is gone and turn itself off?
Or, could the error include some sort of informative text, suggesting that the user make sure Orbot is off and that they should also try changing the Orbot connection in the settings?
You could actually detect if they were on and offer the option to turn them off, to continue. Probably the most user-friendly and transparent route.
yeah, i'm pretty much nah for nostr on mobile, jumble doesn't fit a portrait display well and this stuff about the signer not recognising my nsec is super annoying... i got better things to be doing than writing a decoder tool to get the hex
Do you mean on this page?
I can't tell which feature you are referring to? Is it something from the command line?

yep, it's not accepting my nsec, the same one i'm using fine right now with alby
there is something wrong with the java/kotlin bech32 codec, i'm sure of it, i encountered this same issue previously with that now abandoned one, what was it called... closed source one, i had to also decode my nsec to hex to get it to recognise it... plebstr, that was the one, it had the same problem
i used the qr code scanning function after making a QR code on my desktop with the npub as it would be if you pasted it in there, i'm quite sure there was nothing wrong with the text
i may end up writing that decoder tool and then see if re-encoding it makes a different text because it's possible it's the checksum and not the actual data (really it can't be the data)
Ah, I get it. Are you trying to implement Amber with your client? If so, that would be very cool.
no i was just trying to use coracle on my mobile after an upgrade, which now disabled the previously saved nsec, and it wouldn't accept my nsec from scanning it from a QR code, the text looked right in the input box but it said it was invalid
Ah, okay. Also, that would be very cool. 😁
Would it even be possible to use Amber over the API? Or do I just sound confused?
amber is just a signer, it doesn't dispatch the events to the relay afaik
Yeah, I meant, if it would be possible to use it to sign. Instead of a browser extension or something on the command line.
i didn't know amber had a pc based version, i thought it was only for mobile
but yes, i'd say so, that's all it does, it has a list of rules about what it automatically signs and what it prompts and what it rejects and you just fling unsigned events at it and it signs them and returns them
Yes, apparently. I also thought it only worked on mobile because everything else gave me an error, but that was apparently Orbot interfering.
Amber is always on Android, but the PC client can generate a link, display it with a QR code, and then you just take a pic of that with your phone and open that in Amber, and it signs. Pretty cool.
is it a bunker?
i assume once you do it one time it keeps on working, i'm guessing that the QR code has the bunker address thingy
Yes, the code is just bunker://
So, your API could just show a QR code. Just checked. Yes, you could have a QR endpoint. Cool.
you mean where it provides a bunker address to a caller?
i don't really know how bunkers work exactly, just the vague idea they involve ephemeral events and the relay acts as a middleman to pass the message between the signer and the client
what i mean is, i'm pretty sure it is just a regular event so it goes through the /event endpoint that publishes events
the /relay endpoint could be used instead for this, but the ephemeral kind designation has the same effect (i just want to have an explicit call for relaying for future work, like the IRC like protocol i have in mind)
I'll see it I can check if orbot has something to check if its on. Also I'll change the tor settings to be a general settings and not an account settings


