input-output-hk / project-icarus-importer

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Other
13 stars 10 forks source link

Seem to stuck with icarus-importer at block 3799517 #15

Open congle-ibl opened 4 years ago

congle-ibl commented 4 years ago

Hi Team,

I have got this error message when running icarus-importer and I think my node was stuck. Please help to look at it:

0|import_mainnet  | [importer:INFO:ThreadId 1678] [2020-02-23 14:23:11.80 UTC] Blocks to rollback [8dc1e5404ceef8dd]
0|import_mainnet  | [importer:DEBUG:ThreadId 1678] [2020-02-23 14:23:11.85 UTC] MemPool metrics wait: ApplyBlockWithRollback queue length is 1
0|import_mainnet  | [importer:DEBUG:ThreadId 1678] [2020-02-23 14:23:11.86 UTC] MemPool metrics acquire: ApplyBlockWithRollback wait time was 583mcs
0|import_mainnet  | [importer.us:WARNING:ThreadId 1678] [2020-02-23 14:23:12.37 UTC] setAdoptedBV: unknown version 0.2.0
0|import_mainnet  | [importer:DEBUG:ThreadId 1678] [2020-02-23 14:23:12.86 UTC] Rolling: verifying
0|import_mainnet  | [importer:DEBUG:ThreadId 1678] [2020-02-23 14:23:13.00 UTC] verifyAndapply failed, rolling back
0|import_mainnet  | [importer.us.us:INFO:ThreadId 1678] [2020-02-23 14:23:13.18 UTC] We are processing genesis block, competing block versions are: [1.0.0]
0|import_mainnet  | [importer.us.us:INFO:ThreadId 1678] [2020-02-23 14:23:13.19 UTC] 1.0.0 has these stable issuers [65904a89e6d0e5f8, 1deb82908402c7ee, af2800c124e599d6, 43011479a595b300, 5071d8802ddd05c5, 5411c7bf87c25260, 6c9e14978b9d6629] and these unstable issuers []
0|import_mainnet  | [importer.us.us:INFO:ThreadId 1678] [2020-02-23 14:23:13.25 UTC] These versions can be adopted: [1.0.0]
0|import_mainnet  | [importer.us.us:NOTICE:ThreadId 1678] [2020-02-23 14:23:13.29 UTC] BlockVersion is adopted: 1.0.0; winning block was 88d8013a
0|import_mainnet  | [importer:DEBUG:ThreadId 1678] [2020-02-23 14:23:13.59 UTC] MemPool metrics release: ApplyBlockWithRollback modify time was 1718989mcs size is 0
0|import_mainnet  | [importer.diffusion:DEBUG:ThreadId 485497] [2020-02-23 14:23:13.84 UTC] handleBlockHeaders: got some unsolicited block header(s)
0|import_mainnet  | [importer:DEBUG:ThreadId 485497] [2020-02-23 14:23:13.89 UTC] handleUnsolicitedHeader: single header was propagated, processing:
0|import_mainnet  | MainBlockHeader:
0|import_mainnet  |     hash: 3e66dcb541718a0964bb009fece834b2e7c6821e87c0eb725341b658e752b1e3
0|import_mainnet  |     previous block: d33726e8e394712dd1c3eb6e77e0c489f94e9850f9743e513b401c4ef28725d4
0|import_mainnet  |     slot: 11635th slot of 176th epoch
0|import_mainnet  |     difficulty: 3811153
0|import_mainnet  |     leader: pub:1bc97a2f
0|import_mainnet  |     signature: BlockPSignatureHeavy: Proxy signature { psk = ProxySk { w = #0, iPk = pub:1bc97a2f, dPk = pub:61261a95 } }
0|import_mainnet  |     block: v1.0.0
0|import_mainnet  |     software: cardano-sl:2
0|import_mainnet  | [importer:DEBUG:ThreadId 485497] [2020-02-23 14:23:13.98 UTC] Header 3e66dcb5 potentially represents good alternative chain, will process
0|import_mainnet  | [importer:DEBUG:ThreadId 485497] [2020-02-23 14:23:14.01 UTC] addToBlockRequestQueue, : 3e66dcb5
0|import_mainnet  | [importer:DEBUG:ThreadId 485497] [2020-02-23 14:23:14.02 UTC] Added headers to block request queue: nodeId="13.228.156.8:3000:0", header=3e66dcb541718a09
0|import_mainnet  | [importer:WARNING:ThreadId 1678] [2020-02-23 14:23:15.31 UTC] Couldn't apply blocks with rollback: 
failure: [internal block consistency: 0th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 1st slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 2nd slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 3rd slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 4th slot of 176th epoch doesn't  belong intermidiate phase;
block's leader is different from expected one; 
internal block consistency: 5th slot of 176th epoch doesn't  belong intermidiate phase; 
internal block consistency: 6th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 7th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 8th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 9th slot of 176th epoch doesn't  belong intermidiate phase; 
internal block consistency: 10th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 11th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 12th slot of 176th epoch doesn't  belong intermidiate phase; 
block's leader is different from expected one; 
internal block consistency: 13th slot of 176th epoch doesn't  belong intermidiate phase;

I checked my node and it was stuck at block 3799517 forever:

isysadmin@iblcore-dev-ada1:~$ curl -s -H 'Content-Type: application/json' -X GET https://localhost:8200/api/stats/blocksCount --insecure
{"Right":3799517}

Is it related to the new hard fork of Cardano? And what should I do right now? Please help to give me some advice, thank you so much.