Algorand-indexer failing to fetch from algod

Hello everyone, first post here.

I’m trying to setup and algorand-indexer on an ubuntu instance already has algod running.
After running the command to start the indexer I only see this error come up. Does anyone know why this is happening?

{"error":"HTTP 500: {\"message\":\"ledger does not have entry 0 (latest 20670961, committed 20670961)\"}\n","level":"error","msg":"catchup block 0","time":"2022-03-30T21:16:19Z"}
{"error":"HTTP 500: {\"message\":\"ledger does not have entry 0 (latest 20670961, committed 20670961)\"}\n","level":"error","msg":"r=0 err getting block 0","time":"2022-03-30T21:16:19Z"}
{"error":"HTTP 500: {\"message\":\"ledger does not have entry 0 (latest 20670961, committed 20670961)\"}\n","level":"error","msg":"r=1 err getting block 0","time":"2022-03-30T21:16:19Z"}
{"error":"HTTP 500: {\"message\":\"ledger does not have entry 0 (latest 20670961, committed 20670961)\"}\n","level":"error","msg":"r=2 err getting block 0","time":"2022-03-30T21:16:19Z"}
{"level":"warning","msg":"failing to fetch from algod for 2m55.099540663s, (since 2022-03-30 21:13:24.775176396 +0000 UTC m=+0.035243922, now 2022-03-30 21:16:19.874717069 +0000 UTC m=+175.134784585)","time":"2022-03-30T21:16:19Z"}
{"level":"info","msg":"reclient happened","time":"2022-03-30T21:16:24Z"}

I assume you do not have algod in archival mode?

1 Like

Yes thank you, that was the issue. It looks like it’s loading up postgres now.