Hey @nankit0
Were you able to run Blockscout locally in your system?
If yes can you please share the steps you have taken because I’m trying to run it in my system but ending up with these errors
blockscout git:(master) iex -S mix phx.server
Erlang/OTP 23 [erts-11.2.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
2021-08-19T22:15:43.376 application=que [info] [Que] Booting Que
2021-08-19T22:15:43.376 application=que [info] [Que] Booting Server Supervisor for Workers
2021-08-19T22:15:43.527 fetcher=block_catchup [error] Task #PID<0.768.0> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (MatchError) no match of right hand side value: {:error, :econnrefused}
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:76: Indexer.Block.Catchup.Fetcher.task/1
(elixir 1.11.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.11.4) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.14.2) 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.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://localhost:7545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Ganache], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2021-08-19T22:15:43.552 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({{:badmatch, {:error, :econnrefused}}, [{Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 76]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 90]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 35]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
2021-08-19T22:15:43.576 fetcher=block_catchup [error] Task #PID<0.873.0> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (MatchError) no match of right hand side value: {:error, :econnrefused}
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:76: Indexer.Block.Catchup.Fetcher.task/1
(elixir 1.11.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.11.4) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.14.2) 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.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://localhost:7545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Ganache], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2021-08-19T22:15:43.578 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({{:badmatch, {:error, :econnrefused}}, [{Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 76]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 90]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 35]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
** (Mix) Could not start application block_scout_web: BlockScoutWeb.Application.start(:normal, []) returned an error: shutdown: failed to start child: BlockScoutWeb.Endpoint
** (EXIT) an exception was raised:
** (ArgumentError) could not start Cowboy2 adapter, the file /Users/ambi/Desktop/blockscout-f/blockscout/_build/dev/lib/block_scout_web/priv/cert/selfsigned_key.pem required by SSL's :keyfile either does not exist, or the application does not have permission to access it
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:335: Plug.Cowboy.fail/1
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:80: Plug.Cowboy.args/4
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:188: Plug.Cowboy.child_spec/1
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:84: Phoenix.Endpoint.Cowboy2Adapter.child_spec/3
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:64: anonymous fn/5 in Phoenix.Endpoint.Cowboy2Adapter.child_specs/2
(elixir 1.11.4) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:55: Phoenix.Endpoint.Cowboy2Adapter.child_specs/2
(phoenix 1.5.6) lib/phoenix/endpoint/supervisor.ex:106: Phoenix.Endpoint.Supervisor.init/1
(stdlib 3.14.2) supervisor.erl:301: :supervisor.init/1
(stdlib 3.14.2) gen_server.erl:417: :gen_server.init_it/2
(stdlib 3.14.2) gen_server.erl:385: :gen_server.init_it/6
(stdlib 3.14.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
2021-08-19T22:15:43.594 fetcher=block_catchup [error] Task #PID<0.876.0> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (MatchError) no match of right hand side value: {:error, :econnrefused}
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:76: Indexer.Block.Catchup.Fetcher.task/1
(elixir 1.11.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.11.4) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.14.2) 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.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://localhost:7545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Ganache], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2021-08-19T22:15:43.599 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({{:badmatch, {:error, :econnrefused}}, [{Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 76]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 90]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 35]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
2021-08-19T22:15:43.597 [info] Application block_scout_web exited: BlockScoutWeb.Application.start(:normal, []) returned an error: shutdown: failed to start child: BlockScoutWeb.Endpoint
** (EXIT) an exception was raised:
** (ArgumentError) could not start Cowboy2 adapter, the file /Users/ambi/Desktop/blockscout-f/blockscout/_build/dev/lib/block_scout_web/priv/cert/selfsigned_key.pem required by SSL's :keyfile either does not exist, or the application does not have permission to access it
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:335: Plug.Cowboy.fail/1
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:80: Plug.Cowboy.args/4
(plug_cowboy 2.4.1) lib/plug/cowboy.ex:188: Plug.Cowboy.child_spec/1
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:84: Phoenix.Endpoint.Cowboy2Adapter.child_spec/3
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:64: anonymous fn/5 in Phoenix.Endpoint.Cowboy2Adapter.child_specs/2
(elixir 1.11.4) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix 1.5.6) lib/phoenix/endpoint/cowboy2_adapter.ex:55: Phoenix.Endpoint.Cowboy2Adapter.child_specs/2
(phoenix 1.5.6) lib/phoenix/endpoint/supervisor.ex:106: Phoenix.Endpoint.Supervisor.init/1
(stdlib 3.14.2) supervisor.erl:301: :supervisor.init/1
(stdlib 3.14.2) gen_server.erl:417: :gen_server.init_it/2
(stdlib 3.14.2) gen_server.erl:385: :gen_server.init_it/6
(stdlib 3.14.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
2021-08-19T22:15:43.605 fetcher=block_catchup [error] Task #PID<0.898.0> started from Indexer.Block.Catchup.BoundIntervalSupervisor terminating
** (MatchError) no match of right hand side value: {:error, :econnrefused}
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:76: Indexer.Block.Catchup.Fetcher.task/1
(elixir 1.11.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.11.4) lib/task/supervised.ex:35: Task.Supervised.reply/5
(stdlib 3.14.2) 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.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://localhost:7545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Ganache], receipts_batch_size: 250, receipts_concurrency: 10}, blocks_batch_size: 10, blocks_concurrency: 10, memory_monitor: Indexer.Memory.Monitor}]
2021-08-19T22:15:43.607 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({{:badmatch, {:error, :econnrefused}}, [{Indexer.Block.Catchup.Fetcher, :task, 1, [file: 'lib/indexer/block/catchup/fetcher.ex', line: 76]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 90]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 35]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting
i have done all General Requirements / BlockScout Prerequisites
mentioned on blockscout site
GitHub: bloclscout
still errors popping up