Closed martijnvdweerdt closed 5 years ago
Martijn had informed me of this issue a few days ago in telegram. Referred from the explorer: https://cpchain.io/explorer/address/0x6d353d1943d0da970fd7dbd3fdab64d3c21c6877, we can see that the node has not sealed any block for 12 days. And only one transaction was sent from the node, which was 2 days ago.
Thus, the node have not been claiming for campaign in recent 12 days.
Meanwhile, Martijn told me that his node had been suffering from an SSH problem. Trippledutch from telegram group helped him to launch the node on Windows. My speculation was that Martijn's broken SSH incurred his failure in claiming campaign. However, his node on Windows cannot solve the problem.
Now I need more info, especially screenshots of his node, to investigate the situation.
The transactions till 12 days ago were on my linux node which I assessed through the vm on my computer, unfortunately the ssh could not remain alive (but it could claim campaign).
Not claiming campaign started since I switched to a Linux node (using same CPC adress). This node send only one transaction and could not seal any block. It was checked and one of the problems is that the proper port is not open for this specific node. I have attached several printscreens (there are not really error alerts in the command prompt).
Failed port connection:
This is not due to firewall rules:
This is one of the messages when starting up Vultr VPS(1/2):
This is one of the messages when starting up Vultr VPS(2/2):
Printscreens from starting up the node and lines of code when node is running (1/2):
Printscreens from starting up the node and lines of code when node is running (2/2):
I just restarted the node, this is how syncing looks like (1/2):
I just restarted the node, this is how syncing looks like (2/2):
After syncing, the node looks like acting normal:
To be honest, the screenshot you provided look fine for me. It does not has error message. Therefore, I am quite confused by your case. I have informed my teammates of this issue, and we are try our best to find a solution for me.
I just witnessed transactions from the node!
Martijn told me that he has restarted already ten times before but it didn't work. The difference now is that he pasted the code in the vps code prompt itself instead of log in with teamviewer on the vps and then paste in the vps code prompt
He is pretty sure that when before I log in with vps everything works including syncing but claiming campaign does not start. Only when pasting code directly in vps from the internet browser, campaign claims.
This can be closed because the node has been running for some time
Hi there, This is CPChain team. Note that this is for bug report. If you are requesting a feature, please select Feature Request template.
Where does the bug occur? In the chain.
What is your wallet address and your balance? 0x6D353d1943D0Da970fd7DBD3fdAB64D3C21C6877
Describe the bug I have set up a new Rnode (Windows Vultr VPS). The chain has synced, a new part of the chain is added every ten seconds, but the node itself is not sealing any blocks. It might have something to do with a previous node I had that I killed, but I am not sure.
To Reproduce Downloaded the newest CPC release and made Keystore file. The Keystore file and CPC code were transferred to the VPS and this command was run in the VPD cmd prompt: cd cpchain ,
cpchain.exe run --datadir ./datadir --unlock 0x6D353d1943D0Da970fd7DBD3fdAB64D3C21C6877 -- rpcaddr 127.0.0.1:8501 --port 30311 --mine —rpcapi personal,eth,cpc,admission,net,web3,db,txpool,miner --linenumber
This works, the chain syncs and everything looks good. But not sealed blocks even not after many hours.
Expected behavior Maybe I cannot reach the port 30311. If this is the case, it is not due to a firewall in the VPS, this was already checked. Also, I noticed that after shutting down the previous node, the 200k CPC tokens were not returned, maybe this is also the new node using the same adress cannot seal blocks.
Screenshots If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
Additional context There might be a correlation with the previous node I had but that I killed (stopped running the code). It was a Linux Vultr VPS which I assesed through a VM Ubuntu on a Windows laptop. This node was running and also sealing blocks but the connection did not remain alive (even after tmux).