Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/v1/names/wowscience.id.stx is not returned by the API #1269

Open
pradel opened this issue Aug 16, 2022 · 10 comments
Open

/v1/names/wowscience.id.stx is not returned by the API #1269

pradel opened this issue Aug 16, 2022 · 10 comments

Comments

@pradel
Copy link
Contributor

pradel commented Aug 16, 2022

Describe the bug

When accessing https://stacks-node-api.mainnet.stacks.co/v1/names/wowscience.id.stx, the API is not returning the info regarding this username, instead, it's redirecting to https://registrar.stacks.co/v1/names/wowscience.id.stx to show the data included in the registrar.
This would be the expected behavior for a pending subdomain not submitted to the blockchain. However, the tx registering this username was included in an anchor block 10 days ago, see https://explorer.stacks.co/txid/2a0939c461c9caff0a91c5b66d0290dd0d16153f9b3c96edb3cc000e88e77cfc?chain=mainnet. The API should have the info and return it.
The result is that asking the names that SP12YGP1C4V0XRSHDW9G2PSEZRK1T15M66K1GKMBR is holding return an empty array.
The user do not see the username in the Hiro wallet and can't connect to Sigle at the moment.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://stacks-node-api.mainnet.stacks.co/v1/names/wowscience.id.stx
  2. See that you are being redirected to https://registrar.stacks.co/v1/names/wowscience.id.stx
  3. In the JSON response, get the txid and open it in the stacks explorer to see that the tx was mined

Expected behavior

The API should return the information directly as it's included in a block and not rely on the registrar.

@rafaelcr rafaelcr moved this to Recent issues in API Board Aug 16, 2022
@rafaelcr rafaelcr moved this from Recent issues to Backlog in API Board Aug 23, 2022
@rafaelcr rafaelcr self-assigned this Aug 24, 2022
Repository owner moved this from Backlog to Done in API Board Aug 26, 2022
@rafaelcr
Copy link
Collaborator

I originally thought this issue was only a bug related to canonical data, however, upon further inspection it looks like in some of our instances we are not receiving an /attachments/new message from the node which contains the updated zonefile we need to process in order to detect this new subdomain.

We're currently investigating whether this is a bug on the API side or the stacks node side.

@rafaelcr
Copy link
Collaborator

rafaelcr commented Sep 1, 2022

Blocked by this issue on the Stacks blockchain: stacks-network/stacks-core#3270

@rafaelcr rafaelcr moved this from Recent issues to Blocked in API Board Sep 1, 2022
@pradel
Copy link
Contributor Author

pradel commented Oct 19, 2022

Hey there, any update? Our user is still blocked and can't use his account.

@rafaelcr
Copy link
Collaborator

hi @pradel. Not at this time, unfortunately.

I recommend reaching out to core developers on the blocking issue to signal your support for its resolution: stacks-network/stacks-core#3270 however I believe most of the resources are dedicated to 2.1 launch at this time.

@pradel
Copy link
Contributor Author

pradel commented Mar 9, 2023

Subdomain project_indigo.id.stx is facing the same issue

@paradigma-cl
Copy link

We wonder what happened with the zone files of these subdomains. We put them back to work updating the zone files with the subdomain registrar. What is causing these issues? Looks like they are random subdomain accounts that get damaged and are replicated across the network.

@pradel
Copy link
Contributor Author

pradel commented Mar 17, 2023

Another user affected joemacmillan.id.stx

@pradel
Copy link
Contributor Author

pradel commented Mar 30, 2023

Another one herogamer.id.stx

@smcclellan smcclellan moved this from Blocked to 📋 Backlog in API Board Jul 7, 2023
@sabbyanandan
Copy link

Hi, @pradel! Yikes, sorry that you're continuing to run into trouble with this. Please keep posting on stacks-network/stacks-core#3270, so the upstream team can keep this on their radar.

@pradel
Copy link
Contributor Author

pradel commented Aug 21, 2023

Another one howtodyle.id.stx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

5 participants