Stacks Blockchain + Hiro API Genesis Sync gets stuck after a while

I am testing the Umbrel Stacks Node setup from: https://github.com/muthusleuths/stacks-on-umbrel

It started really good but then the Stacks blockchain got stuck at block 556585 for a while (per the /v2/info endpoint).
image
image

Looking at the Hiro API it seems like it was progressing further than that block (per the /extended endpoint). But after a few hours the Hiro API also got stuck at block 638772.

Has anyone run into this situation ? Now it has been over 24 hours and multiple restarts. The APIs are still reporting the same.

The postgres database shows the API definitely stopped at block 638772.
image

The one thing I am seeing is odd is at block 638772 the events_observer_requests that was received has 0 events. It’s an empty array. Could this be the cause.
image

Seems hours later another /new_block was received also with 0 events and it looks rather odd

{
  "events": [],
  "block_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "block_time": null,
  "miner_txid": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "reward_set": null,
  "block_height": 0,
  "cycle_number": null,
  "transactions": [],
  "anchored_cost": {
    "runtime": 0,
    "read_count": 0,
    "read_length": 0,
    "write_count": 0,
    "write_length": 0
  },
  "signer_bitvec": null,
  "tenure_height": 0,
  "consensus_hash": "0x0000000000000000000000000000000000000000",
  "burn_block_hash": "0x0000000000000000000ab248c8e35c574514d052a83dbc12669e19bc43df486e",
  "burn_block_time": 1610643248,
  "index_block_hash": "0x55c9861be5cff984a20ce6d99d4aa65941412889bdc665094136429b84f8c2ee",
  "burn_block_height": 666050,
  "parent_block_hash": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "parent_microblock": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "pox_v1_unlock_height": 781552,
  "pox_v2_unlock_height": 787652,
  "pox_v3_unlock_height": 840361,
  "matured_miner_rewards": [],
  "parent_burn_block_hash": "0x0000000000000000000ab248c8e35c574514d052a83dbc12669e19bc43df486e",
  "parent_index_block_hash": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "parent_burn_block_height": 666050,
  "confirmed_microblocks_cost": {
    "runtime": 0,
    "read_count": 0,
    "read_length": 0,
    "write_count": 0,
    "write_length": 0
  },
  "parent_microblock_sequence": 0,
  "parent_burn_block_timestamp": 1610643248
}

Just to update. I uninstalled the Stacks node in my Umbrel and started over and this time the blockchain stopped at block 490,681 and the Hiro API stopped at block 560,652

So definitely not a fluke.

Would appreciate any help. Just give me ideas for where to poke around.

1 Like