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
Dogecoin node has stopped syncing #3394
Comments
Do you see any connections when you run:
|
@DemonRx : I tried running the above command but could not see any response. |
The daemon isn't running |
@DemonRx : Could you please let me know how can we start running the daemon. And earlier just with the above setup the node was syncing fine. |
if you pass |
@patricklodder : I tried re-running the node again by removing the reindex but that did not help the node to sync and i still see the same error logs as mention above. |
Alright, let's triage this step by step. For starters:
|
|
Is the entry point file taken from https://github.com/dogecoin/docker/blob/main/1.14.5/bullseye/entrypoint.py or somewhere else?
you'll probably need to add |
@patricklodder : Below is the response after running the command
The entrypoint and Dockerfile were taken from https://github.com/dogecoin/dogecoin/pull/2337/files |
@patricklodder : Any update on this? |
Looks like you're online since the daemon responded. Check if the blocks are synced against an explorer |
Yes, that's also what log said, but there is only 1 connection, which can be (and based on logs is likely) pending handshake. So that's no bueno. I'm still trying to reproduce. |
### Retrieve list of Active Dogecoin Nodes and insert into dogecoin.conf ###
### Prepends "addnode=" to each IP ###
#! /bin/bash
wget -q https://api.blockchair.com/dogecoin/nodes -O - | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' > dogecoinNodeList.txt && sed -i "s/^/addnode=/" dogecoinNodeList.txt
cat dogecoinNodeList.txt | tee -a <add/path/to/dogecoin.conf>
Here's a simple script you can poll the blockchair API for current list of active Doge nodes and add them to your dogecoin.conf Make sure to change it to the path your conf file is in, or just manually add it. |
Recommend against this because this gives a third party the power to eclipse attack your node - also see some of the discussion in #3253. Have you found a problem with the usual peer discovery methods? The posted log doesn't show that there's an issue with that. Edit: after building the |
@Swornatoya I am after many attempts unable to reproduce this on any of my (x86_64) systems with 1.14.5.
|
@patricklodder : I tried renaming the peers.dat but that did not help.
Please let me know if I am missing anything here. I copied the Dockerfile and dockerentrypoint.py from https://github.com/dogecoin/dogecoin/blob/a21cc8870c14b752cf75b9f8b356c84d358c8ef1/contrib/docker/Dockerfile |
Hi all, I am using a configuration (Dockerfile & docker-compose) that has works many times on some previous VPS i had (ubuntu) but with my last VPS (ubuntu also) it is totally stuck on the same block each time (i have retried the operation many times, i have tried to delete the peers.dat and rerun the node but nothing change) Here are the logs, i have taken 2 differents screenshots showing the same results (sync stopped on block height 4954439) my dockerfile :
my docker-compose file :
my dogecoin.conf :
Do you know how to unlock the situation ? i am on it for few days |
I just did a full mainnet sync myself with
But it's odd that 2 different dockerfiles have a similar issue. If you can specify:
Then I can try to reproduce these errors. |
Thanks @patricklodder for your attention. On my side :
Another information : when the sync is stuck with the log i have showed, it is impossible to stop the node properly. I was connected in the container direclty with "docker exec -it ..." and i had run the "dogecoin-cli stop" command. The dogecoind process continue to run but never stop by itself after 30 min. After that i have to force the container to stop using "docker stop" and when i have run the node again using the "docker-compose up" command, the sync has restarted at 80% (it was at more than 98% when the sync was stopped so it is really frustrating) And each time the sync stopped on the block height 4954439. I really don't understand what happened |
I will set up a fresh ubuntu 22.04 and test overnight. |
@Dogihub I cannot reproduce your error; I synched past 4954439 with your Dockerfile:
I was able to reproduce an OOM situation due to this line in your config (I read over it initially), but this probably didn't happen for you:
Having a 16GB dbcache + an 8GB mempool means you need at least 28 GB RAM available. (The maximum effective queue size for most of the network is However: If you have swap space on your host, this is where things may get really slow and dogecoind may become unresponsive. All in all, I think that:
|
@patricklodder thanks for your answer.
I keep you in touch |
@patricklodder unfortunatly it seems to be again the same things on another block height this time : Logs is stuck on this for 3 hours now I just try to stop the process properly with
I force the container stop by using "docker stop" :
I just run another try without the dbcache parameter this time. |
The node has stopped syncing with the below logs:
Below is the docker compose file we are using to start the node:
Verified and the ports are not blocked. Please help resolve this issue
The text was updated successfully, but these errors were encountered: