blockscout icon indicating copy to clipboard operation
blockscout copied to clipboard

no function clause matching in Indexer.Block.Catchup.BoundIntervalSupervisor.handle_info

Open vbaranov opened this issue 2 years ago • 1 comments

2022-06-27T15:06:58.663 fetcher=block_catchup [error] GenServer Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (FunctionClauseError) no function clause matching in Indexer.Block.Catchup.BoundIntervalSupervisor.handle_info/2
    (indexer 0.1.0) lib/indexer/block/catchup/bound_interval_supervisor.ex:181: Indexer.Block.Catchup.BoundIntervalSupervisor.handle_info({#Reference<0.3744636714.3193241602.148993>, {:error, {:tls_alert, {:handshake_failure, 'TLS client: In state hello received SERVER ALERT: Fatal - Handshake Failure\n'}}}}, %Indexer.Block.Catchup.BoundIntervalSupervisor{bound_interval: %Indexer.BoundInterval{current: 2500, maximum: 25000, minimum: 2500}, fetcher: %Indexer.Block.Catchup.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :catchup, callback_module: Indexer.Block.Catchup.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "...", method_to_url: [eth_getBalance: "...", trace_block: "...", trace_replayTransaction: "..."], http_options: [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Parity], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 1, blocks_concurrency: 1, memory_monitor: Indexer.Memory.Monitor}, memory_monitor: nil, task: %Task{owner: #PID<0.21420.29>, pid: #PID<0.21415.29>, ref: #Reference<0.3744636714.3193241602.148993>}})
    (stdlib 3.17) gen_server.erl:695: :gen_server.try_dispatch/4
    (stdlib 3.17) gen_server.erl:771: :gen_server.handle_msg/6
    (stdlib 3.17) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message: {#Reference<0.3744636714.3193241602.148993>, {:error, {:tls_alert, {:handshake_failure, 'TLS client: In state hello received SERVER ALERT: Fatal - Handshake Failure\n'}}}}
State: %Indexer.Block.Catchup.BoundIntervalSupervisor{bound_interval: %Indexer.BoundInterval{current: 2500, maximum: 25000, minimum: 2500}, fetcher: %Indexer.Block.Catchup.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :catchup, callback_module: Indexer.Block.Catchup.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "...", method_to_url: [eth_getBalance: "...", trace_block: "...", trace_replayTransaction: "..."], http_options: [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Parity], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 1, blocks_concurrency: 1, memory_monitor: Indexer.Memory.Monitor}, memory_monitor: nil, task: %Task{owner: #PID<0.21420.29>, pid: #PID<0.21415.29>, ref: #Reference<0.3744636714.3193241602.148993>}}

vbaranov avatar Jul 06 '22 08:07 vbaranov

i have same problem

hirshira avatar Sep 12 '22 12:09 hirshira

same

Sledro avatar Sep 26 '22 09:09 Sledro

same.

abrahamcruise321 avatar Sep 30 '22 03:09 abrahamcruise321

Did you correctly specify ETHEREUM_JSONRPC_HTTP_URL? In my case, I had a misconfigure and ETHEREUM_JSONRPC_HTTP_URL was set to http://geth:8545.

jacobhjkim avatar Oct 18 '22 06:10 jacobhjkim

For assignee, similar to issue https://github.com/blockscout/blockscout/issues/5422

vbaranov avatar Apr 26 '23 14:04 vbaranov