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

Blocks are not being added into blockscout - PoA Private Geth Node #8838

Closed
mohsin010 opened this issue Nov 15, 2023 · 2 comments
Closed

Blocks are not being added into blockscout - PoA Private Geth Node #8838

mohsin010 opened this issue Nov 15, 2023 · 2 comments
Labels

Comments

@mohsin010
Copy link

Description

I am running a private geth PoA Clique network. Upon starting blockscout, it loads a few of the blocks, and the following error starts displaying with every block.

2023-11-15T04:56:32.925 application=ethereum_jsonrpc fetcher=block_realtime block_number=3671 [error] Empty id in response: %{error: %{code: -32600, message: "invalid request"}, id: nil, jsonrpc: "2.0"}, stacktrace: {:current_stacktrace, [{Process, :info, 2, [file: 'lib/process.ex', line: 773]}, {EthereumJSONRPC, :"-sanitize_responses/2-fun-0-", 2, [file: 'lib/ethereum_jsonrpc.ex', line: 417]}, {Enum, :"-reduce/3-lists^foldl/2-0-", 3, [file: 'lib/enum.ex', line: 2468]}, {EthereumJSONRPC, :sanitize_responses, 2, [file: 'lib/ethereum_jsonrpc.ex', line: 412]}, {EthereumJSONRPC.FetchedBalances, :from_responses, 2, [file: 'lib/ethereum_jsonrpc/fetched_balances.ex', line: 22]}, {EthereumJSONRPC, :fetch_balances, 3, [file: 'lib/ethereum_jsonrpc.ex', line: 218]}, {Indexer.Block.Realtime.Fetcher, :balances, 2, [file: 'lib/indexer/block/realtime/fetcher.ex', line: 444]}, {Indexer.Block.Realtime.Fetcher, :import, 2, [file: 'lib/indexer/block/realtime/fetcher.ex', line: 212]}]}

backend | 2023-11-15T04:56:32.926 application=indexer fetcher=block_realtime block_number=3671 step=balances [error] failed to fetch: [%{code: -32600, data: %{block_quantity: "0xE57", hash_data: "0x0000000000000000000000000000000000000000"}, message: "invalid request"}]. Block will be retried by catchup indexer.

I also tried setting the following ENVs:
INDEXER_DISABLE_ADDRESS_COIN_BALANCE_FETCHER=true
ETHEREUM_JSONRPC_DISABLE_ARCHIVE_BALANCES=true

Type of the installation

Docker-compose

Type of the JSON RPC archive node

Geth

Type of the chain

Private

Link to the page

No response

Steps to reproduce

No response

Backend version

v5.3.1 and older

Frontend version

No response

Elixir & Erlang/OTP versions

Elixir 1.15.7 (Erlang/OTP 26), Node.js v18.16.0

Operating system

Linux

Additional information

No response

@mohsin010 mohsin010 changed the title Blocks are not being added into database - PoA Private Geth Node Blocks are not being added into blockscout - PoA Private Geth Node Nov 15, 2023
@ekawibisono
Copy link

Hello, Solved the problem ? @mohsin010

@mohsin010
Copy link
Author

Hello, Solved the problem ? @mohsin010

Yes. for a private network it is not working with an IPC connection. I have used HTTP RPC and it is working.

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

No branches or pull requests

3 participants