Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexer error in specfic blocks #13

Open
vivinvinh212 opened this issue Aug 25, 2023 · 4 comments
Open

Indexer error in specfic blocks #13

vivinvinh212 opened this issue Aug 25, 2023 · 4 comments

Comments

@vivinvinh212
Copy link

When I was running the indexer, it stucked on block 2449440 -> 2449540 with error:

[2023-08-25T08:52:32.580Z (error)] Error when syncing between range Found non-callable @@iterator

And it keeped running around and around these blocks.

@aljosasokic
Copy link

hey,
@Anish-Agnihotri first thanks for this amasing software. It is exactly what I was looking for!

It all worked fine but then I got the problem and it is stuck in this blocks:

[2023-08-25T19:26:21.924Z (info)] Collecting 100 blocks: 2449439 -> 2449539
[2023-08-25T19:26:22.988Z (error)] Error when syncing between range Found non-callable @@iterator
[2023-08-25T19:26:22.988Z (info)] Sleeping for 5s

Anyone found solution for this?

@KoenRijpstra
Copy link

KoenRijpstra commented Aug 26, 2023

It seems that the underlying error is:

{
  jsonrpc: '2.0',
  error: { code: -32014, message: 'too many RPC calls in batch request' },
  id: null
}

Changing the chunks size from 950 to something like 100 on the following line fixed it for me: https://github.com/Anish-Agnihotri/friendmex/blob/main/indexer/src/keeper.ts#L138

@aljosasokic
Copy link

It seems that the underlying error is:

{
  jsonrpc: '2.0',
  error: { code: -32014, message: 'too many RPC calls in batch request' },
  id: null
}

Changing the chunks size from 950 to something like 100 on the following line fixed it for me: https://github.com/Anish-Agnihotri/friendmex/blob/main/indexer/src/keeper.ts#L138

@KoenRijpstra tnx, that did the trick.

@curbcoin
Copy link

curbcoin commented Sep 9, 2023

getting
[2023-09-09T16:32:04.087Z (info)] Collecting 100 blocks: 2544839 -> 2544939
[2023-09-09T16:32:04.311Z (error)] Error when syncing between range Cannot read properties of undefined (reading 'transactions')
[2023-09-09T16:32:04.311Z (info)] Sleeping for 5s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants