hackbg / undexer

πŸŽ‰ The Undexer πŸŽ‰ Namada network indexer powering https://shielded.live/
5 stars 4 forks source link

Random crashes #11

Open opsecx opened 2 weeks ago

opsecx commented 2 weeks ago

Hey, undexer still randomly crashes when I run it. Most often doesn't stay up for very long (minutes) when it's reached end of current chain. Below is the error I'm getting. (I run the indexer using ./undexer index)

`βœ” Block=> Latest block in DB: 183920 β‹― NamadaChainQuerying block height file:///home/(user)/undexer/fadroma/packages/namada/pkg/fadroma_namada.js:740 const ret = new Error(getStringFromWasm0(arg0, arg1)); ^

Error: response error

Caused by: Internal error: could not find results for height #183921 (code: -32603)

Location: /home/(user)/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9 at file:///home/(user)/undexer/fadroma/packages/namada/pkg/fadroma_namada.js:740:21 at logError (file:///home/(user)/undexer/fadroma/packages/namada/pkg/fadroma_namada.js:125:18) at imports.wbg.__wbg_new_796382978dfd4fb0 (file:///home/(user)/undexer/fadroma/packages/namada/pkg/fadroma_namada.js:739:66) at fadroma_namada.wasm.js_sys::Error::new::h7fe894f285d4ba99 (wasm://wasm/fadroma_namada.wasm-007ab76e:wasm-function[2795]:0x1824ed) at fadroma_namada.wasm.fadroma_namada::decode::Decode::block::h547b973124f15a71 (wasm://wasm/fadroma_namada.wasm-007ab76e:wasm-function[34]:0x25f90) at fadroma_namada.wasm.decode_block (wasm://wasm/fadroma_namada.wasm-007ab76e:wasm-function[1682]:0x1717ce) at Decode.block (file:///home/(user)/undexer/fadroma/packages/namada/pkg/fadroma_namada.js:399:18) at NamadaBlock.fromResponses (file:///home/(user)/undexer/fadroma/packages/namada/NamadaBlock.ts:39:51) at NamadaBlock.fetchByHeight (file:///home/(user)/undexer/fadroma/packages/namada/NamadaBlock.ts:30:17) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    Node.js v20.18.0`

(sorry about ugly formatting)

egasimus commented 1 week ago

while true; do ./undexer index; done