fiatjaf / window.nostr.js

drop-in <script> that adds seamless NIP-46 support to apps that rely on window.nostr
https://git.njump.me/wnj
17 stars 3 forks source link

Create "account" does not work with any service provider (siamstr.com also seems to be down) #6

Open alltheseas opened 1 month ago

alltheseas commented 1 month ago

what happens

  1. in https://keypub.coracle.social/ I try to create an "account"
  2. I can type in a "username"
  3. I can select from the dropdown a domain
  4. I cannot continue - nothing happens when I tap the continue button Screenshot 2024-06-10 at 8 45 20 AM

cc @dtonon

dtonon commented 1 month ago

There is a problem with siamstr.com, it is returning a 404 for /.well-known/nostr.json?name=xxxxxx (you can spot this with the console)

@vazw can you check this, please?

/cc @fiatjaf

dtonon commented 1 month ago

@alltheseas I renamed the issue because the problem is not actually related to keypub.coracle, but to the provider. A suggestion: in this situations is often a good idea to do a cross-check changing options, or website.

alltheseas commented 1 month ago

@alltheseas I renamed the issue because the problem is not actually related to keypub.coracle, but to the provider. A suggestion: in this situations is often a good idea to do a cross-check changing options, or website.

I cannot proceed forward with any of: 1) highlighter.com 2) lume.nu 3) siamstr 4) nsec.app

I renamed the issue to reflect the above. Siamstr not working is a related, and separate issue.

dtonon commented 1 month ago

Damn, all providers seem to have a (different) problem...

alltheseas commented 1 month ago

@brugeman @pablof7z @reyamir

alltheseas commented 1 month ago

Damn, all providers seem to have a (different) problem...

@dtonon is it possible for window nostr js to add periodic "is this provider working as expected" checks (i.e. does create "account" work; does log in work)? For instance, every week.

vazw commented 1 month ago

There is a problem with siamstr.com, it is returning a 404 for /.well-known/nostr.json?name=xxxxxx (you can spot this with the console)

@vazw can you check this, please?

/cc @fiatjaf

As for Nip-05 it seem to be just work. you can check how the API work here But I did done implementing the creating account part YET since I did not have much confident holding people's keys for now. I did have some experiments on a remote-signer project here that let our community #siamstr playing around with. there is a lot to be done.

alltheseas commented 1 month ago

Damn, all providers seem to have a (different) problem...

@dtonon is it possible for window nostr js to add periodic "is this provider working as expected" checks (i.e. does create "account" work; does log in work)? For instance, every week.

created new test suite issue https://github.com/fiatjaf/window.nostr.js/issues/7

this is a negative user experience that will scare away people from 1) testing individual apps 2) using window nostr js 3) using nostr as a whole

fiatjaf commented 1 month ago

This must be solved at relay level.

WNJ only fetches announcement events from some relays, these relays must perform filtering and remove events from providers that are not working or are not trustworthy.

Or at least that's my vision for the future and plans.

No one has worked on this yet because no one is using NIP-46 for anything real yet and all providers are broken so it makes no sense to filter them. We're all debugging in production.

fiatjaf commented 1 month ago

It can't be left for WNJ to filter on the client side because anyone could just advertise a million fake providers and currently that would work successfully in breaking the user experience entirely.

alltheseas commented 1 month ago

This must be solved at relay level.

So the relay will run tests, and filter broken / fake providers?

Who is the right person to work on this? @mikedilger ?

fiatjaf commented 1 month ago

So the relay will run tests, and filter broken / fake providers?

Yes, that would be it, I think.

Who is the right person to work on this?

Everybody, but I can't think of anyone specifically.

mikedilger commented 1 month ago

Who is the right person to work on this? @mikedilger ?

I don't think these are relay issues that https://github.com/mikedilger/relay-tester would include a test for, they are NIP-46 bunker service provider issues right? Maybe relay-tester could have a bunker-tester module, I dunno. I'll keep it in mind.

reyamir commented 1 month ago

@alltheseas I renamed the issue because the problem is not actually related to keypub.coracle, but to the provider. A suggestion: in this situations is often a good idea to do a cross-check changing options, or website.

I cannot proceed forward with any of:

  1. highlighter.com
  2. lume.nu
  3. siamstr
  4. nsec.app

I renamed the issue to reflect the above. Siamstr not working is a related, and separate issue.

Hi, sorry for the inconvenience, I've fixed the lume.nu provider, it's should work fine now.

https://github.com/fiatjaf/window.nostr.js/assets/123083837/11aa922d-b5cf-4dcb-9bea-dd2c445fc77b