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

Can't update NS records #362

Open
d47081 opened this issue Jan 3, 2024 · 11 comments
Open

Can't update NS records #362

d47081 opened this issue Jan 3, 2024 · 11 comments

Comments

@d47081
Copy link

d47081 commented Jan 3, 2024

I have existing user and domain, after changing the server, I can't update NS records with error:

Waiting for last full block to be signed. Try again later.

How long to wait? I'm waiting all the day even mining not started yet

@d47081
Copy link
Author

d47081 commented Jan 5, 2024

The blockchain still at 11434 block, maybe something went wrong with the network?

@exepirit
Copy link
Contributor

exepirit commented Jan 6, 2024

Alfis version - 0.8.4
Platform - Linux amd64

I have same issue here. Local copy of the blockchain is stuck on 11434 and does not changing after synchronization.
Any changes in the domain or creating new one follows error "Waiting for last full block to be signed. Try again later."

Alfis reporting about 15 active nodes in clearnet and Yggdrasil network. Here is part of the Alfis log:

21:15:06.616 [INFO ] (6) alfis::p2p::network: Active nodes: 15, banned: 0, blocks: 11401, domains: 904, keys: 410
21:15:07.271 [INFO ] (6) alfis::p2p::network: Active nodes: 15, banned: 0, blocks: 11416, domains: 904, keys: 410
21:15:07.900 [INFO ] (6) alfis::p2p::network: Active nodes: 15, banned: 0, blocks: 11431, domains: 906, keys: 410
21:15:08.523 [INFO ] (6) alfis::p2p::network: Active nodes: 15, banned: 0, blocks: 11434, domains: 906, keys: 410
21:15:16.663 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
21:15:46.663 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
21:16:16.663 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
21:16:46.663 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
21:17:16.663 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
21:17:41.960 [INFO ] (1) alfis::web_ui: Waiting for last full block to be signed. Try again later.
21:17:46.664 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes

@exepirit
Copy link
Contributor

exepirit commented Jan 6, 2024

Delete blockchain.db and re-sync the blockchain does not solve the problem. "Waiting for last full block to be signed" error still persists.

But something changes after 30 minutes and Alfis synchronizes the last block 11435 from the network and everything started working.

00:48:19.143 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
00:48:49.143 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes
00:49:14.721 [INFO ] (6) alfis::p2p::network: Peer is higher, requesting block 11435 from 94.140.114.89
00:49:15.239 [INFO ] (6) alfis::p2p::network: Active nodes: 15, banned: 0, blocks: 11435, domains: 906, keys: 410

This block appeared on other node, on which the file blockchain.db was not deleted. It may be a internal Alfis blockchain issue, or my network problems, which disappeared after the time.

@d47081
Copy link
Author

d47081 commented Jan 6, 2024

Just re-opened the wallet and yep, it's work with block update to 11437

pretty strange, @Revertron's account not available on mastodon, no idea but thanks @exepirit

@exepirit
Copy link
Contributor

exepirit commented Jan 7, 2024

@d47081, if you encounter the sync problem again, please collect more debugging information. This may be needed for mitigate the problem in Alfis.
Debug messages can be achieved by passing --debug parameter to alfis binary in any mode (GUI or console).

@d47081
Copy link
Author

d47081 commented Jan 7, 2024

I've launched Alfis with cargo / build from sources, and have same log, but without last lines - it repeated only this one:

00:48:49.143 [INFO ] (5) alfis::blockchain::chain: Signing block must be mined by other nodes

p.s. the IP in your log is my public node address in Latvia (with opened ports to support alfis network), I have just launched it few days before and forgot to check there, hm strange..

@d47081
Copy link
Author

d47081 commented Jan 7, 2024

@exepirit how do you reindex blockchain?

can't find the docs, tried to delete ~/.local/share/alfis

it's not works again, hell.

@exepirit
Copy link
Contributor

exepirit commented Jan 7, 2024

@d47081, I just deleted a blockchain.db file and restart Alfis. In my case it was in directory with alfis binary.

In Debian installation it could be in /var/lib/alfis directory. Anyway you can use find / -name "blockchain.db" to find the database file and delete it manually. Before that you must stop your Alfis instance of course.

@d47081
Copy link
Author

d47081 commented Jan 7, 2024

Thanks, just forgot to check my custom directory with sources/build - it's there.

@Revertron said just this on matrix channel:
We are waiting for signers to sign last block.

I don't know how to understand - maybe that's PoS model or so.

@d47081
Copy link
Author

d47081 commented Jan 8, 2024

I've even tried to mine new key - it works, but no success with NS yet

@blade10101
Copy link

I have existing user and domain, after changing the server, I can't update NS records with error:

Waiting for last full block to be signed. Try again later.

How long to wait? I'm waiting all the day even mining not started yet

I had the same issue when trying to register more than one domain. It had to wait for the current block to be finished before I could make another request. After a while I was able to use alfis again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants