I have a private network running on my local mac laptop. The network has two nodes. Both the nodes were syncing correctly on Friday, March 16, 2018. I shutdown the nodes by ctrl c. Now when I start the nodes it is stuck at "Joining SCP"
stellar-core --c 'info'
{
"info" : {
"UNSAFE_QUORUM" : "UNSAFE QUORUM ALLOWED",
"build" : "v9.2.0rc4-3-g589dcee0",
"ledger" : {
"age" : 259612,
"baseFee" : 100,
"baseReserve" : 100000000,
"closeTime" : 1521223082,
"hash" : "c5ee970107f8a4c050fa3d0291e8dd3bae7593f36a67cf5194ca1f9908396ea4",
"num" : 9594,
"version" : 0
},
"network" : "My Network ; March 2018",
"peers" : {
"authenticated_count" : 1,
"pending_count" : 0
},
"protocol_version" : 9,
"startedOn" : "2018-03-19T17:41:06Z",
"state" : "Joining SCP"
}
}
stellar-core --c 'quorum'
{
"node" : "self",
"slots" : {
"9594" : {
"agree" : 1,
"disagree" : [ "two" ],
"fail_at" : 0,
"fail_with" : null,
"hash" : "6d67a3",
"missing" : null,
"phase" : "PREPARE",
"value" : {
"t" : 2,
"v" : [ "self", "two" ]
}
}
}
}
In addition I see logs
2018-03-19T11:12:02.545 GAOQY [Overlay WARNING] idle timeout
2018-03-19T11:12:02.546 GAOQY [Overlay INFO] Dropping peer [email protected]:11627
2018-03-19T11:12:02.546 GAOQY [Overlay ERROR] TCPPeer::drop shutdown socket failed: Socket is not connected [TCPPeer.cpp:186]
2018-03-19T11:12:03.586 GAOQY [Overlay INFO] New connected peer 127.0.0.1:0
2018-03-19T11:12:03.588 GAOQY [Overlay INFO] successful handshake with [email protected]:11627
I keep seeing the above error continuously. I see same logs and command output on other node only difference being it lists other node (one)
It seems there is disagreement between the nodes "disagree" : [ "two" ]
. Is there a way to have them agree and sync. How can I find the reason of disagreement.
Thanks for all the help and support
[March 21, 2018] I tried again with leaving the servers running same state "Joining SCP". This time I added a additional node to the mix making it 3 nodes. Making the 3rd code as history node collecting all the info. 3rd node is in state "Synced!".
I performed reset on two nodes
stellar-core --newdb
stellar-core --newhist h1
stellar-core --forcescp
stellar-core
I can see the nodes accessing historyarchive/.well-known/stellar-history.json HTTP/1.1" 200 3540 checking the apache access log. State did not not change still "Joining SCP". I have CATCHUP_RECENT=60480
in config. I see following error in log TCP: message size unacceptable: 1213486160 while not authenticated [TCPPeer.cpp:342]
Is this TCP error the reason node is not performing the catchup.