Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

Full node status not synced[BUG] #4217

Closed Damaka5 closed 3 years ago

Damaka5 commented 3 years ago

I have a problem with chia cliet. In the last 1,5 weeks it worked with no problems, but in the last 3 days the full node is not synced. I have a second PC in my network plotting too, and it is synced with no problem. I tried port forwarding, manually connect to peers, turn on-off upnp, restart client, restart PC, I´m even turned off the chia client on my second PC, but still nothing. If i turn on the client on my second PC, almost instantly start to sync while on my primary PC it not syncing at all. I have the latest (1.1.4) and same version on both. Nothing has changed on my primary PC. Can you please help me with that?

OdinSun35 commented 3 years ago

I have same problem 5 days cant sync.

Help!!! Why nobody answer.

chinyuan-ho commented 3 years ago

我也是一样的问题,头部哈希延迟,挑战延迟,另一个同网路电脑没有问题。我重新做了windows系统,现在无法连线钱包。天啊,发生什么事了。

chinyuan-ho commented 3 years ago

钱包不同步

ChristmasWoe commented 3 years ago

Can confirm the same issue. For last 2 weeks had no problems with sync, but since last 10 hours got not synced. Please fix it, it doesn’t allow to farm

boguhft commented 3 years ago

Same issue here. I tried everything

IsaEs commented 3 years ago

Same issue not synced.I tried to connect peers and restart several times doesn't work.

SGABR commented 3 years ago

Vou postar em português mesmo. Usem o tradutor para sua língua.

Até onde pesquisei o problema pode estar nos arquivos blockchain_v1_mainnet.sqlite e no peer_table_node.sqlite que ficam em:

C:\Users\%USERNAME%.chia\mainnet\db\

e também nos arquivos blockchain_wallet_v1mainnet[#dacarteira].sqlite e no wallet_peers.sqlite que ficam em:

C:\Users\%USERNAME%.chia\mainnet\db\

Estes arquivos armazenam os dados de altura do pico de sincronização que aparece na GUI do Chia.

Quem esta usando a GUI em dois ou mais computadores, pode ter problemas não desabilitar o uPnP, conforme descrito no item 4 em:

https://github.com/Chia-Network/chia-blockchain/wiki/Windows-Tips-and-Tricks

Este era o meu caso. Estava usando dois PCs, um fraco para o cultivo e outro forte para a plantação, conectados na mesma carteira, No PC fraco, desabilitei o uPnP.

No entanto, mesmo assim, hoje de manhã perdi o sincronismo nos dois PC e ao verificar o log de erros (que pode ser encontrado em: C:\Users\%USERNAME%.chia\mainnet\log\debug.log), achei vários erros do tipo:

ERROR Exception: <class 'concurrent.futures._base.CancelledError'>, closing connection None. Traceback (most recent call last)

Imaginei que se trata de problemas nas bases de dados do PC fraco e do PC forte, pois ambas estariam dessincronizadas, então fiz um backup de todos os arquivos citados e pequei os arquivos que tinham o menor tamanho (que estavam no PC fraco) e substitui nos diretórios do PC forte.

Resultado:

A conexão foi reestabelecida e após uns 15 minutos sincronizando, já estava tudo ok.

Minha recomendação então é sempre fazer um cópia destes arquivos no momento em que esteja tudo ok e guardar para usar quando o problema ocorra novamente.

Outra coisa importante é verificar se você tem espaço no disco para que estes arquivos possam se expandir. Por padrão eles são colocados dentro do nosso perfil no Windows 10, então se você reservou pouco espaço para a instalação do Windows, poderá ter problemas futuros com a expansão destes arquivos.

Espero que ajude.

Saudações do Brasil!

cjhudlin commented 3 years ago

same here, since yesterday, and plots not updating properly, and i cant see my queued plots

ChristmasWoe commented 3 years ago

@SGABR much thanks for your reply, but unfortunately I don’t have backup, but I do think this is a bug of gui or either of mainnet, hope they can fix it soon

degrott commented 3 years ago

same

Fudnut commented 3 years ago

same, since yesterday. Before that, worked perfectly 24/7 for a few months. See https://github.com/Chia-Network/chia-blockchain/issues/4169

Fudnut commented 3 years ago

same, since yesterday. Before that, worked perfectly 24/7 for a few months. See #4169

finally synched, after nearly 24 hrs

holdenprkr commented 3 years ago

I'm struggling with the error now as well. Does anyone know what it means if when I start syncing the peak height is under 12000? Does this mean anything? Anyways, once it reaches this point it finally turns to Not Synced. Starting from the CLI I can see it's not synced immediately. I'm hoping this gets fixed soon I want to farm!

kuhnline commented 3 years ago

Check your computer clock. My status changed to Not Synced and I ended up searching for answers and found this thread. Then I noticed my clock was an hour fast. I fixed the time and it instantly changed to Synced.

ChristmasWoe commented 3 years ago

@kuhnline thank you for your reply, but my pc’s clock was never changed and is correct. Still waiting for fix or at least a comment from dev.

aviscido commented 3 years ago

Had the same issue, with my farm running inside a VM. I've made sure to allow UPnP for the VM in my router and restarted the GUI client many times without success. I've decided to restart the VM - after restarting everything, it is now syncing. Long story short, make sure port 8444 is open on the router and restart your ubuntu machine in case.

macaryus commented 3 years ago

same issue

dnavamosler commented 3 years ago

same problem

boguhft commented 3 years ago

Anyone found a solution to this issue? Still listed as not synced since yesterday.

xguya commented 3 years ago

Same problem by now..

rafammpp commented 3 years ago

Same here. I have the port open and the clock ok. I'm connected to 25 full node peers, and still not synced

Damaka5 commented 3 years ago

I deleted the whole client from my PC made a fresh install, newly added even the wallet to the client. Copyed the chia client files from a PC when it was synced and worked just fine. Now it looks like it will work because it started syncing. I will make an update if it’s going to work.

Johetan commented 3 years ago

same here - cli plotting still works plots appear to still pass filters.

sku10 commented 3 years ago

Same here. Just finished 4 plots and after the last one GUI shows Not Synced.

sku10 commented 3 years ago

the software could have a 'force retry sync now' button or something.

olgyan93btc commented 3 years ago

my farm is stopped to synched at a Peak Height 255108 !!!!!!!!

rafammpp commented 3 years ago

Synced!!! Maybe it's just a matter of time

olgyan93btc commented 3 years ago

started syncing

olgyan93btc commented 3 years ago

I think one of the blocks was damaged

ChristmasWoe commented 3 years ago

@rafammpp @olgyan93btc well this didn’t work for me, yet. Maybe it will do, but not for now

rafammpp commented 3 years ago

@ChristmasWoe try connecting with this peers (they are working for me): 175.181.157.208:8444 73.61.68.170:8444 86.102.6.233:8444

Icebear20m commented 3 years ago

Same problem here, worked for weeks and since 3 hours out of sync. restart system, syncing till 255108 and then: NOT SYNCED :((

Alan-Ranieri commented 3 years ago

@14PM (GMT +1) was working perfectly. I tried to restart a couple of times and nothing happens, but now its working fine (I think)

bestq8 commented 3 years ago

It`s working fine now

nenjeb commented 3 years ago

Same problem here on hig-end machine, and it's synced 10 minutes ago .. this can't be [coin]cidence

Icebear20m commented 3 years ago

what about the plotts ? other Computer in network are plotting via powershell and send the finsished plott to the drive which is on full node system , but its out of sync. are all plotts lost ?

rafammpp commented 3 years ago

what about the plotts ? other Computer in network are plotting via powershell and send the finsished plott to the drive which is on full node system , but its out of sync. are all plotts lost ?

Nope, you can plot even without internet connection

nenjeb commented 3 years ago

the software could have a 'force retry sync now' button or something.

Agreed .. also "View log" would be nice

Icebear20m commented 3 years ago

what about the plotts ? other Computer in network are plotting via powershell and send the finsished plott to the drive which is on full node system , but its out of sync. are all plotts lost ?

Nope, you can plot even without internet connection

Thanks for answearing, internet connection is ok, only full node is not synced. Never have had a problem with this :(

rafammpp commented 3 years ago

https://www.reddit.com/r/chia/comments/n8dvec/chia_network_out_of_sync_critical/ https://chiaforum.com/t/fyi-network-is-down-block-255108/2292

the network were down at block 255108, I think now is ok, at least for me. All nodes have to sync, so it will take some time.

Icebear20m commented 3 years ago

https://www.reddit.com/r/chia/comments/n8dvec/chia_network_out_of_sync_critical/ https://chiaforum.com/t/fyi-network-is-down-block-255108/2292

the network were down at block 255108, I think now is ok, at least for me. All nodes have to sync, so it will take some time.

great information (Y) restart Chia? or just let it be till it syncs?

rafammpp commented 3 years ago

https://www.reddit.com/r/chia/comments/n8dvec/chia_network_out_of_sync_critical/ https://chiaforum.com/t/fyi-network-is-down-block-255108/2292 the network were down at block 255108, I think now is ok, at least for me. All nodes have to sync, so it will take some time.

great information (Y) restart Chia? or just let it be till it syncs?

Let it run, it will be faster for everybody to sync if all nodes are available.

ChristmasWoe commented 3 years ago

Nothing worked for me, does anyone know any more ways to fix it?

nenjeb commented 3 years ago

Not Synced .. again

Alan-Ranieri commented 3 years ago

Offline again...

rafammpp commented 3 years ago

https://www.reddit.com/r/chia/comments/n8fwug/hot_fix_release_coming_soon_keep_an_eye_on/

tslims99 commented 3 years ago

same here...again. keeps going in and out all morning. my 8444 is open. I am connected to full node. it seems like a problem with mainnet because everyone is having it. hopefully it will get fixed. i'm gonna keep plotting in the meantime.

ChristmasWoe commented 3 years ago

If I got it right, some farmers tried to create invalid blocks, due to this we cannot get synced, there will be hot fix available soon so wait for it.

mwalol commented 3 years ago

same problem here! not synced since 2 hour's now, restarted many time, i think a block is damaged? do we need to delete blockchain_v1_mainnet.sqlite and resync again?

tslims99 commented 3 years ago

what block is everyone hung up on? it appears that I am hung at 255143