Skip to content

Instantly share code, notes, and snippets.

@garethtdavies
Created August 5, 2019 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garethtdavies/bc2c17337da4c1551d1ba2c0740c0ff2 to your computer and use it in GitHub Desktop.
Save garethtdavies/bc2c17337da4c1551d1ba2c0740c0ff2 to your computer and use it in GitHub Desktop.
System time is out of sync with protocol state time
{"timestamp":"2019-08-04 08:30:00.003336Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2596, characters 59-66"},"message":"Determining next slot to produce block","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:30:00.003604Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2610, characters 54-61"},"message":"Systime: 1564907400003, epoch-slot@systime: 00000045-0000, starttime@epoch@systime: 1564907400000","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:30:00.003641Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2616, characters 56-63"},"message":"Selecting correct epoch data from state -- epoch by time: 45, state epoch: 44, state epoch count: 44","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:30:00.004162Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2638, characters 58-65"},"message":"Using curr_epoch_snapshot root hash 41306438073543038783041027593025710765697233040646114200781215300783793805110741329026285150647611804282114295534014160474891879938701508712727462866040450904873552377360317743166500198137636275342218517918770270226378566586722","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:30:00.004239Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2699, characters 63-70"},"message":"No slots won in this epoch. Waiting for next epoch to check again, @1564929000000","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:57:01.286510Z","level":"Debug","source":{"module":"Kademlia__Membership","location":"File \"lib/kademlia/membership.ml\", line 312, characters 64-71"},"message":"95.216.154.197:8303 \\\"HJjDZ97gLHlpu4NT7uvlRuZBPMcZBkR2E2Tynir9aeg=\\\" off","metadata":{"kademlia_level":"DATA","pid":29948}}
{"timestamp":"2019-08-04 08:57:01.286848Z","level":"Info","source":{"module":"Gossip_net","location":"File \"lib/gossip_net/gossip_net.ml\", line 452, characters 69-76"},"message":"Some peers disconnected [host : 95.216.154.197, discovery_port : 8303, communication_port : 8302]","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 08:57:01.287004Z","level":"Info","source":{"module":"Gossip_net","location":"File \"lib/gossip_net/gossip_net.ml\", line 155, characters 55-62"},"message":"Removing peer from peer set: [host : 95.216.154.197, discovery_port : 8303, communication_port : 8302]","metadata":{"peer":{"host":"95.216.154.197","discovery_port":8303,"communication_port":8302},"pid":29948}}
{"timestamp":"2019-08-04 11:51:57.082464Z","level":"Debug","source":{"module":"Kademlia__Membership","location":"File \"lib/kademlia/membership.ml\", line 312, characters 64-71"},"message":"85.237.51.197:8303 \\\"lD2GsGQhEj3JVZJpUQCA6rFdDk/4vYZ0wf7+Fno7+wo=\\\" off","metadata":{"kademlia_level":"DATA","pid":29948}}
{"timestamp":"2019-08-04 11:51:57.082875Z","level":"Info","source":{"module":"Gossip_net","location":"File \"lib/gossip_net/gossip_net.ml\", line 452, characters 69-76"},"message":"Some peers disconnected [host : 85.237.51.197, discovery_port : 8303, communication_port : 8302]","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 11:51:57.083038Z","level":"Info","source":{"module":"Gossip_net","location":"File \"lib/gossip_net/gossip_net.ml\", line 155, characters 55-62"},"message":"Removing peer from peer set: [host : 85.237.51.197, discovery_port : 8303, communication_port : 8302]","metadata":{"peer":{"host":"85.237.51.197","discovery_port":8303,"communication_port":8302},"pid":29948}}
{"timestamp":"2019-08-04 14:30:00.001418Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2596, characters 59-66"},"message":"Determining next slot to produce block","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 14:30:00.001719Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2610, characters 54-61"},"message":"Systime: 1564929000001, epoch-slot@systime: 00000046-0000, starttime@epoch@systime: 1564929000000","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 14:30:00.001781Z","level":"Debug","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2616, characters 56-63"},"message":"Selecting correct epoch data from state -- epoch by time: 46, state epoch: 44, state epoch count: 44","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 14:30:00.001799Z","level":"Error","source":{"module":"Consensus__Proof_of_stake","location":"File \"lib/consensus/proof_of_stake.ml\", line 2627, characters 62-69"},"message":"System time is out of sync with protocol state time","metadata":{"pid":29948}}
{"timestamp":"2019-08-04 14:30:00.002144Z","level":"Debug","source":{"module":"Coda_run","location":"File \"app/cli/src/coda_run.ml\", line 70, characters 52-59"},"message":"Successfully wrote the visualization of the registered masks at location: /home/gareth/.coda-config/registered_masks.dot.","metadata":{"coda_run":"Logging state before program ends","pid":29948}}
{"timestamp":"2019-08-04 14:30:00.519638Z","level":"Debug","source":{"module":"Coda_run","location":"File \"app/cli/src/coda_run.ml\", line 80, characters 58-65"},"message":"Successfully wrote the visualization of the transition frontier at location: /home/gareth/.coda-config/frontier.dot.","metadata":{"coda_run":"Logging state before program ends","pid":29948}}
@garethtdavies
Copy link
Author

Original message:


  Please:
    Open an issue:
      https://github.com/CodaProtocol/coda/issues/new

    Briefly describe what you were doing, and include the last 20 lines from .coda-config/coda.log.
    And then paste the following:

    (monitor.ml.Error
  (Failure
    "System time is out of sync with protocol state time; please setup NTP if you haven't)")
  ("Raised at file \"stdlib.ml\", line 33, characters 17-33"
    "Called from file \"lib/consensus/proof_of_stake.ml\", line 2629, characters 12-139"
    "Called from file \"lib/proposer/proposer.ml\", line 478, characters 18-301"
    "Called from file \"src/result.ml\", line 151, characters 9-15"
    "Caught by monitor coda"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment