EOSIO / eosio-explorer

An application providing Web GUI to communicate with EOSIO blockchain in a local development environment.
MIT License
113 stars 47 forks source link

EOSIO-Explorer local nodeos connection stuck on check-ship #173

Closed James-Mart closed 3 years ago

James-Mart commented 3 years ago

When I try to run eosio-explorer to connect to my local nodeos instance, all console output appears correct to me, but the launched web app is stuck showing a blank white screen on the check_ship endpoint.

image

My setup

I ran the following command

$ eosio-explorer init --set-mode=2 --nodeos-endpoint=127.0.0.1:8888 && eosio-explorer

And got the following console output

warning ../../package.json: No license field

Welcome to EOSIO Explorer

Connecting to 127.0.0.1:8888

VALIDATING NODE ENDPOINT

SUCCESS

CHECKING THE EOS VERSION

version v2.2.0-rc1 Compatible with tool

INITIALISING CONFIG IN PACKAGES

Copying initial config done.

BUILDING EOSIO DOCKER

start building eosio docker [+] Building 0.1s (14/14) FINISHED
=> [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 583B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ubuntu:18.04 0.0s => [1/9] FROM docker.io/library/ubuntu:18.04 0.0s => [internal] load build context 0.0s => => transferring context: 23.58kB 0.0s => CACHED [2/9] RUN apt-get update && apt-get install -y wget sudo curl 0.0s => CACHED [3/9] RUN wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.6.3/eosio.cdt_1.6.3-1-ubuntu-18.04_amd64. 0.0s => CACHED [4/9] RUN apt-get update && sudo apt install -y ./eosio.cdt_1.6.3-1-ubuntu-18.04_amd64.deb 0.0s => CACHED [5/9] RUN wget https://github.com/EOSIO/eos/releases/download/v1.8.6/eosio_1.8.6-1-ubuntu-18.04_amd64.deb 0.0s => CACHED [6/9] RUN sudo apt install -y ./eosio_1.8.6-1-ubuntu-18.04_amd64.deb 0.0s => CACHED [7/9] WORKDIR /opt/eosio/bin/ 0.0s => CACHED [8/9] COPY ./scripts /opt/eosio/bin/scripts 0.0s => CACHED [9/9] COPY ./contracts /opt/eosio/bin/contracts 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:48fcc2aa14ff1d351bd1f76825ef675518096a583a9b7b6b2d09dd0b6d8a622f 0.0s => => naming to docker.io/library/eosio_nodeos:eos1.8.6-dockerfile1.0 0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them docker image already exists, skip building cleaning up data remnants remove the volume if the container doesn't exists No container running Re-initializing block log folder done

BUILDING EOSIO_CDT DOCKER USED BY COMPILER SERVICE

starting eosio-cdt docker setup [+] Building 0.1s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 420B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ubuntu:18.04 0.0s => [1/7] FROM docker.io/library/ubuntu:18.04 0.0s => [internal] load build context 0.0s => => transferring context: 1.10kB 0.0s => CACHED [2/7] RUN apt-get update && apt-get install -y wget sudo curl 0.0s => CACHED [3/7] RUN wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.6.3/eosio.cdt_1.6.3-1-ubuntu-18.04_amd64. 0.0s => CACHED [4/7] RUN apt-get update && sudo apt install -y ./eosio.cdt_1.6.3-1-ubuntu-18.04_amd64.deb 0.0s => CACHED [5/7] WORKDIR /opt/eosio/bin/ 0.0s => CACHED [6/7] COPY ./scripts /opt/eosio/bin/scripts 0.0s => CACHED [7/7] COPY ./contracts /opt/eosio/bin/contracts 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:3864e2882d6654ffd772dff45824bf14b47cc4fb17c669751c4a85cb346637ca 0.0s => => naming to docker.io/library/eosio_nodeos_cdt:1.6.3-dockerfile1.0 0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them docker image already exists, skip building done

PULLING FILL-PG DOCKER IMAGE

start pulling fill-pg docker image Pulling docker image eosio/eosio-explorer version , this may take some time... fill-pg-1.2: Pulling from eosio/eosio-explorer Digest: sha256:f962c3facd92c8f5e2524de6ce8092a112251ca1281131b4c55bec917d878216 Status: Image is up to date for eosio/eosio-explorer:fill-pg-1.2 docker.io/eosio/eosio-explorer:fill-pg-1.2 cleaning up data remnants remove the volume if the container doesn't exists No container running warning ../../package.json: No license field

CLEANING EXISTING EOSIO DOCKER

waiting for docker to stop done

CLEANING EXISTING CDT DOCKER

done

CLEANING STATE HISTORY PLUGIN DOCKER

waiting for docker to stop eosio_nodeos_ship eosio_postgres_container eosio_postgres_volume done

Creating config files to store endpoints

done Path: /Users/james/eosio_explorer_config.json {"NodeEndpoint":"127.0.0.1:8888"}

warning ../../package.json: No license field

/Users/james/eosio_explorer_config.json exists Connecting to 127.0.0.1:8888

STARTING STATE HISTORY PLUGIN FILLER DOCKER

eosio_postgres_volume running postgresql docker container c18374dd8c9fc5bceb743b21fe099bae991b0d8be264e14750579ea59cce65f8 running state history plugin docker container 7741f56d99bef11b60377ccfebdb095501c6319a4cf67fc754f13317bd8cc6fd warning ../../package.json: No license field

/Users/james/eosio_explorer_config.json exists

STARTING CDT DOCKER

starting docker container from the eosio_nodeos_cdt:1.6.3-dockerfile1.0 image 2dab41a46d22576a98079446bc4f3c30bbfab85e65c841d7b8c58be49c8e1e50 done

STARTING APP AND COMPILER SERVICE

yarn run v1.22.4 warning ../../package.json: No license field $ CLEARBROWSERSTORAGE=true node pm2.js /Users/james/.config/yarn/global/node_modules/@eosio-toppings/api-eosio-compiler starting app and compiler using pm2 eosio compiler ---- online eosio explorer ---- online

James-Mart commented 3 years ago

Figured out that my launch command needs to include http://, for example: --nodeos-endpoint=http://127.0.0.1:8888