window.nostr.js icon indicating copy to clipboard operation
window.nostr.js copied to clipboard

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

Open alltheseas opened this issue 1 year ago • 14 comments

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

alltheseas avatar Jun 10 '24 13:06 alltheseas

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 avatar Jun 10 '24 13:06 dtonon

@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.

dtonon avatar Jun 10 '24 14:06 dtonon

@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.

alltheseas avatar Jun 10 '24 14:06 alltheseas

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

dtonon avatar Jun 10 '24 14:06 dtonon

@brugeman @pablof7z @reyamir

alltheseas avatar Jun 10 '24 15:06 alltheseas

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.

alltheseas avatar Jun 10 '24 15:06 alltheseas

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.

vazw avatar Jun 10 '24 15:06 vazw

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

alltheseas avatar Jun 10 '24 15:06 alltheseas

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 avatar Jun 10 '24 17:06 fiatjaf

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.

fiatjaf avatar Jun 10 '24 17:06 fiatjaf

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 ?

alltheseas avatar Jun 10 '24 17:06 alltheseas

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.

fiatjaf avatar Jun 10 '24 19:06 fiatjaf

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.

mikedilger avatar Jun 10 '24 19:06 mikedilger

@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

reyamir avatar Jun 11 '24 08:06 reyamir