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

Application indexer exited: shutdown #2

Open
TrustHenry opened this issue May 30, 2022 · 0 comments
Open

Application indexer exited: shutdown #2

TrustHenry opened this issue May 30, 2022 · 0 comments

Comments

@TrustHenry
Copy link
Member

    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
    (elixir 1.13.0) lib/gen_server.ex:1019: GenServer.call/3
    (indexer 0.1.0) lib/indexer/block/realtime/fetcher.ex:177: Indexer.Block.Realtime.Fetcher.schedule_polling/0
    (indexer 0.1.0) lib/indexer/block/realtime/fetcher.ex:73: Indexer.Block.Realtime.Fetcher.handle_continue/2
    (stdlib 3.17.1) gen_server.erl:695: :gen_server.try_dispatch/4
    (stdlib 3.17.1) gen_server.erl:437: :gen_server.loop/7
    (stdlib 3.17.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message: {:continue, {:init, [transport: EthereumJSONRPC.WebSocket, transport_options: %EthereumJSONRPC.WebSocket{url: "ws://127.0.0.1:8546", web_socket: EthereumJSONRPC.WebSocket.WebSocketClient, web_socket_options: %EthereumJSONRPC.WebSocket.WebSocketClient.Options{event: nil, params: nil, web_socket: Indexer.Block.Realtime.WebSocket}}]}}
State: %Indexer.Block.Realtime.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :realtime, callback_module: Indexer.Block.Realtime.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.IPC, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://127.0.0.1:8545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Geth], receipts_batch_size: 250, receipts_concurrency: 10}, max_number_seen: nil, previous_number: nil, subscription: nil, timer: nil}
2022-05-27T06:56:38.802 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({%RuntimeError{message: "could not lookup Ecto repo Explorer.Repo because it was not started or it does not exist"}, [{Ecto.Repo.Registry, :lookup, 1, [file: 'lib/ecto/repo/registry.ex', line: 22, error_info: %{module: Exception}]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 200]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Ecto.Repo.Queryable, :one!, 3, [file: 'lib/ecto/repo/queryable.ex', line: 154]}, {Explorer.Chain, :get_last_fetched_counter, 1, [file: 'lib/explorer/chain.ex', line: 2917]}, {Indexer.Block.Catchup.Fetcher, :last_block, 0, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 360]}, {Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 83]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 89]}, {Task.Supervised, :reply, 4, [file: 'lib/task/supervised.ex', line: 34]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
2022-05-27T06:56:38.804 fetcher=block_catchup [error] Task #PID<0.16467.3> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (RuntimeError) could not lookup Ecto repo Explorer.Repo because it was not started or it does not exist
    (ecto 3.7.1) lib/ecto/repo/registry.ex:22: Ecto.Repo.Registry.lookup/1
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:200: Ecto.Repo.Queryable.execute/4
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:154: Ecto.Repo.Queryable.one!/3
    (explorer 0.0.1) lib/explorer/chain.ex:2917: Explorer.Chain.get_last_fetched_counter/1
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:360: Indexer.Block.Catchup.Fetcher.last_block/0
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:83: Indexer.Block.Catchup.Fetcher.task/1
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
    (stdlib 3.17.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: &Indexer.Block.Catchup.Fetcher.task/1
    Args: [%Indexer.Block.Catchup.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :catchup, callback_module: Indexer.Block.Catchup.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.IPC, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://127.0.0.1:8545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Geth], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2022-05-27T06:56:38.812 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({%RuntimeError{message: "could not lookup Ecto repo Explorer.Repo because it was not started or it does not exist"}, [{Ecto.Repo.Registry, :lookup, 1, [file: 'lib/ecto/repo/registry.ex', line: 22, error_info: %{module: Exception}]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 200]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Ecto.Repo.Queryable, :one!, 3, [file: 'lib/ecto/repo/queryable.ex', line: 154]}, {Explorer.Chain, :get_last_fetched_counter, 1, [file: 'lib/explorer/chain.ex', line: 2917]}, {Indexer.Block.Catchup.Fetcher, :last_block, 0, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 360]}, {Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 83]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 89]}, {Task.Supervised, :reply, 4, [file: 'lib/task/supervised.ex', line: 34]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
2022-05-27T06:56:38.817 fetcher=block_catchup [error] Task #PID<0.16468.3> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (RuntimeError) could not lookup Ecto repo Explorer.Repo because it was not started or it does not exist
    (ecto 3.7.1) lib/ecto/repo/registry.ex:22: Ecto.Repo.Registry.lookup/1
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:200: Ecto.Repo.Queryable.execute/4
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
    (ecto 3.7.1) lib/ecto/repo/queryable.ex:154: Ecto.Repo.Queryable.one!/3
    (explorer 0.0.1) lib/explorer/chain.ex:2917: Explorer.Chain.get_last_fetched_counter/1
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:360: Indexer.Block.Catchup.Fetcher.last_block/0
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:83: Indexer.Block.Catchup.Fetcher.task/1
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
    (stdlib 3.17.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: &Indexer.Block.Catchup.Fetcher.task/1
    Args: [%Indexer.Block.Catchup.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :catchup, callback_module: Indexer.Block.Catchup.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.IPC, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://127.0.0.1:8545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Geth], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2022-05-27T06:56:38.830 [notice] Application indexer exited: shutdown
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

1 participant