SimplyStaking / panic

PANIC Monitoring and Alerting For Blockchains
Apache License 2.0
82 stars 31 forks source link

could not communicate with the database. check the API docker service. #378

Closed abhijeetbhagat closed 1 year ago

abhijeetbhagat commented 1 year ago

Rationale

on an Ubuntu 20.04 LTS system, i installed docker, docker-compose as per the instructions on the README and ran the build command. this was the output of build:

Creating network "panic_panic_net" with the default driver
Creating volume "panic_db-data" with default driver
Pulling rs1 (mongo:)...
latest: Pulling from library/mongo
eaead16dc43b: Pull complete
8a00eb9f68a0: Pull complete
f683956749c5: Pull complete
b33b2f05ea20: Pull complete
3a342bea915a: Pull complete
fa956ab1c2f0: Pull complete
138a8542a624: Pull complete
0a5a5d2ec822: Pull complete
37200fef7cf6: Pull complete
Digest: sha256:8bed0be3e86595283d67836e8d4f3f08916184ea6f2aac7440bda496083ab0c8
Status: Downloaded newer image for mongo:latest
Pulling redis (redis:)...
latest: Pulling from library/redis
a603fa5e3b41: Pull complete
77631c3ef092: Pull complete
ed3847cf62b8: Pull complete
261a8b530567: Pull complete
7d9005a8af6d: Pull complete
828da1afb5be: Pull complete
Digest: sha256:1e3207c292225b6dd21cb74d59255748a50e8f739dd983040df38fa913927cf1
Status: Downloaded newer image for redis:latest
Pulling rabbitmq (rabbitmq:3-management)...
3-management: Pulling from library/rabbitmq
eaead16dc43b: Already exists
d5e775568c00: Pull complete
de99a1ffedd3: Pull complete
32e52a38037e: Pull complete
01a79ee9a1ab: Pull complete
e704e07f62a6: Pull complete
796a69cd2d92: Pull complete
673d47469271: Pull complete
cc0a988f4614: Pull complete
15c6341064ed: Pull complete
Digest: sha256:a5480b7bc86a156ee3dfcd1919b2d769bbccf44ab4f9adf3f4e07b3434facddc
Status: Downloaded newer image for rabbitmq:3-management
Building substrate-api
Step 1/8 : FROM node:16
16: Pulling from library/node
2730d739afad: Pull complete
a122751b3533: Pull complete
0a277c3efe7c: Pull complete
25c35b81c503: Pull complete
cb8cde86ddb2: Pull complete
200d9ce64e0b: Pull complete
d73c02353705: Pull complete
d6973298711a: Pull complete
f0dfa5d235bc: Pull complete
Digest: sha256:68fc9f749931453d5c8545521b021dd97267e0692471ce15bdec0814ed1f8fc3
Status: Downloaded newer image for node:16
 ---> 9bf69dd73b08
Step 2/8 : WORKDIR /opt/panic
 ---> Running in 27486957ecdd
Removing intermediate container 27486957ecdd
 ---> 45b706ac87c1
Step 3/8 : WORKDIR ./substrate-api
 ---> Running in 95769c3e253e
Removing intermediate container 95769c3e253e
 ---> 23c64ec6b816
Step 4/8 : COPY ./substrate-api ./
 ---> 004fcc35c13c
Step 5/8 : RUN npm install
 ---> Running in 5dc4cdd5f1ae

added 650 packages, and audited 651 packages in 8s

47 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 8.19.2 -> 9.1.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.2>
npm notice Run `npm install -g npm@9.1.2` to update!
npm notice
Removing intermediate container 5dc4cdd5f1ae
 ---> b53a4ac27651
Step 6/8 : RUN npm run build
 ---> Running in c146899e9f67

> substrate-api@1.3.0 build
> tsc

Removing intermediate container c146899e9f67
 ---> 2de104039424
Step 7/8 : EXPOSE 8080
 ---> Running in f971bd97d01d
Removing intermediate container f971bd97d01d
 ---> cafbaee88277
Step 8/8 : CMD bash run_server.sh
 ---> Running in 144f3a09127f
Removing intermediate container 144f3a09127f
 ---> 45c047d02980

Successfully built 45c047d02980
Successfully tagged simplyvc/panic_substrate_api:1.3.0
Building api
Step 1/10 : FROM node:14
14: Pulling from library/node
2730d739afad: Already exists
a122751b3533: Already exists
0a277c3efe7c: Already exists
25c35b81c503: Already exists
cb8cde86ddb2: Already exists
200d9ce64e0b: Already exists
3ba3f65e8a34: Pull complete
6b8b45e7dff2: Pull complete
c30787d15cd3: Pull complete
Digest: sha256:d82d512aec5de4fac53b92b2aa148948c2e72264d650de9e1570283d4f503dbe
Status: Downloaded newer image for node:14
 ---> 7a8bb5c30f83
Step 2/10 : WORKDIR /opt/panic
 ---> Running in 911715d9211b
Removing intermediate container 911715d9211b
 ---> ca0df631bb78
Step 3/10 : COPY ./entities ./entities
 ---> 6f84c9b94cdf
Step 4/10 : WORKDIR ./api
 ---> Running in 344faf8e7813
Removing intermediate container 344faf8e7813
 ---> ef9f25f4c6a1
Step 5/10 : COPY ./api ./
 ---> 708f13eb1380
Step 6/10 : RUN npm ci
 ---> Running in 0d89c527976f

> web3-bzz@1.7.5 postinstall /opt/panic/api/node_modules/web3-bzz
> echo "WARNING: the web3-bzz api will be deprecated in the next version"

WARNING: the web3-bzz api will be deprecated in the next version

> secp256k1@4.0.3 install /opt/panic/api/node_modules/secp256k1
> node-gyp-build || exit 0

> keccak@3.0.2 install /opt/panic/api/node_modules/keccak
> node-gyp-build || exit 0

> bufferutil@4.0.6 install /opt/panic/api/node_modules/bufferutil
> node-gyp-build

> utf-8-validate@5.0.9 install /opt/panic/api/node_modules/utf-8-validate
> node-gyp-build

> es5-ext@0.10.62 postinstall /opt/panic/api/node_modules/es5-ext
>  node -e "try{require('./_postinstall')}catch(e){}" || exit 0

> web3-shh@1.7.5 postinstall /opt/panic/api/node_modules/web3-shh
> echo "WARNING: the web3-shh api will be deprecated in the next version"

WARNING: the web3-shh api will be deprecated in the next version

> web3@1.7.5 postinstall /opt/panic/api/node_modules/web3
> echo "WARNING: the web3-shh and web3-bzz api will be deprecated in the next version"

WARNING: the web3-shh and web3-bzz api will be deprecated in the next version
added 863 packages in 9.985s
Removing intermediate container 0d89c527976f
 ---> cb92c03f9544
Step 7/10 : RUN npm run build
 ---> Running in 96ddd293f17c

> panic-api@1.3.0 build /opt/panic/api
> tsc

Removing intermediate container 96ddd293f17c
 ---> e4cd341aad39
Step 8/10 : ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait

 ---> c99e95408c6f
Step 9/10 : RUN chmod +x /wait
 ---> Running in 55f1e347d051
Removing intermediate container 55f1e347d051
 ---> 06a8c6a8d54a
Step 10/10 : CMD /wait && bash run_server.sh
 ---> Running in e5e1993fc033
Removing intermediate container e5e1993fc033
 ---> bc4a1b23d00b

Successfully built bc4a1b23d00b
Successfully tagged simplyvc/panic_api:1.3.0
Building ui
Step 1/21 : FROM node:14
 ---> 7a8bb5c30f83
Step 2/21 : ARG API_PORT
 ---> Running in 0c7b12598084
Removing intermediate container 0c7b12598084
 ---> b86f606b33c0
Step 3/21 : ARG UI_DASHBOARD_PORT
 ---> Running in bf7948c75ae0
Removing intermediate container bf7948c75ae0
 ---> 09905ce47e2c
Step 4/21 : ENV API_PORT=$API_PORT
 ---> Running in e526b10d2ffe
Removing intermediate container e526b10d2ffe
 ---> ebf9f9e750ed
Step 5/21 : ENV UI_DASHBOARD_PORT=$UI_DASHBOARD_PORT
 ---> Running in f637ea6c0bec
Removing intermediate container f637ea6c0bec
 ---> 244d57567bf7
Step 6/21 : ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
 ---> Running in f417833b6971
Removing intermediate container f417833b6971
 ---> 635ce62b512f
Step 7/21 : WORKDIR /opt/panic
 ---> Running in a09e6b343d3f
Removing intermediate container a09e6b343d3f
 ---> 64b971d021e9
Step 8/21 : WORKDIR ./entities
 ---> Running in c7a4eaa9bc3d
Removing intermediate container c7a4eaa9bc3d
 ---> cd64246d86f4
Step 9/21 : COPY ./entities ./
 ---> e6a4ef489ce9
Step 10/21 : WORKDIR ../api/src/util
 ---> Running in 5e9a0bb04f47
Removing intermediate container 5e9a0bb04f47
 ---> f6b27a205895
Step 11/21 : COPY ./api/src/util ./
 ---> 34f073412144
Step 12/21 : WORKDIR ../../../ui
 ---> Running in 2b487ce7edb4
Removing intermediate container 2b487ce7edb4
 ---> 94a4962d587d
Step 13/21 : COPY ./ui ./
 ---> f19c7e947fe2
Step 14/21 : RUN rm -rf www
 ---> Running in 5606a7723aca
Removing intermediate container 5606a7723aca
 ---> 134ec2f9bfe3
Step 15/21 : RUN npm ci
 ---> Running in ce0970a1ab9d

> puppeteer@13.7.0 install /opt/panic/ui/node_modules/puppeteer
> node install.js

**INFO** Skipping browser download. "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" environment variable was found.
added 635 packages in 8.731s
Removing intermediate container ce0970a1ab9d
 ---> 9cb0ca10ff37
Step 16/21 : RUN npm install -g serve
 ---> Running in 4378019a15f2
/usr/local/bin/serve -> /usr/local/lib/node_modules/serve/build/main.js
+ serve@14.1.2
added 91 packages from 43 contributors in 8.257s
Removing intermediate container 4378019a15f2
 ---> f4fbd01df976
Step 17/21 : RUN npm run build
 ---> Running in 9ea6b7141500

> panic-ui@1.3.0 build /opt/panic/ui
> stencil build

[22:19.5]  @stencil/core
[22:19.7]  v2.17.0 🚂
[22:22.9]  build, app, prod mode, started ...
[22:22.9]  transpile started ...
[22:29.6]  transpile finished in 6.70 s
[22:29.6]  copy started ...
[22:29.6]  generate lazy started ...
[22:30.1]  copy finished (1341 files) in 494 ms
[22:42.2]  generate lazy finished in 12.65 s
[22:42.3]  build finished in 19.39 s

Removing intermediate container 9ea6b7141500
 ---> cd66954e1d4e
Step 18/21 : EXPOSE 3333
 ---> Running in 60673ca57a9f
Removing intermediate container 60673ca57a9f
 ---> 4a6417a581b5
Step 19/21 : ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait

 ---> 8b9fe20f6cb3
Step 20/21 : RUN chmod +x /wait
 ---> Running in 92e4782cd5e0
Removing intermediate container 92e4782cd5e0
 ---> f2c4e219f8bd
Step 21/21 : CMD /wait && serve -s www -l 3333 --ssl-cert ../certificates/cert.pem --ssl-key ../certificates/key.pem
 ---> Running in 4205bf6cb890
Removing intermediate container 4205bf6cb890
 ---> 692c4d389993

Successfully built 692c4d389993
Successfully tagged simplyvc/panic_ui:1.3.0
Building alerter
Step 1/9 : FROM python:3.9.5
3.9.5: Pulling from library/python
0bc3020d05f1: Pull complete
a110e5871660: Pull complete
83d3c0fa203a: Pull complete
a8fd09c11b02: Pull complete
14feb89c4a52: Pull complete
70752631d778: Pull complete
b4cfcef19326: Pull complete
b51fbcb03c35: Pull complete
b6ea5759bfca: Pull complete
Digest: sha256:2ff7f45e91d65fc36bee74e48692a5b1877c973a040ed2468aef4223edf9ccac
Status: Downloaded newer image for python:3.9.5
 ---> 9b0d330dfd02
Step 2/9 : WORKDIR /opt/panic
 ---> Running in a07c9b545d14
Removing intermediate container a07c9b545d14
 ---> dbdde93e3745
Step 3/9 : COPY ./ ./
 ---> 993e84bccd38
Step 4/9 : WORKDIR ./alerter
 ---> Running in f7b12fcf5e88
Removing intermediate container f7b12fcf5e88
 ---> 892b5d5ecf97
Step 5/9 : RUN pip3 install pipenv
 ---> Running in 7a0b3b9f5fae
Collecting pipenv
  Downloading pipenv-2022.11.11-py2.py3-none-any.whl (2.9 MB)
Collecting virtualenv-clone>=0.2.5
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Requirement already satisfied: setuptools>=36.2.1 in /usr/local/lib/python3.9/site-packages (from pipenv) (57.0.0)
Collecting virtualenv
  Downloading virtualenv-20.16.7-py3-none-any.whl (8.8 MB)
Collecting certifi
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting distlib<1,>=0.3.6
  Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting filelock<4,>=3.4.1
  Downloading filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting platformdirs<3,>=2.4
  Downloading platformdirs-2.5.4-py3-none-any.whl (14 kB)
Installing collected packages: platformdirs, filelock, distlib, virtualenv-clone, virtualenv, certifi, pipenv
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warn
Successfully installed certifi-2022.9.24 distlib-0.3.6 filelock-3.8.0 pipenv-2022.11.11 platformdirs-2.5.4 virtualenv-20.16.7 virtualenv-clone-0.5.7
WARNING: You are using pip version 21.1.3; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container 7a0b3b9f5fae
 ---> 7c6e2982ea65
Step 6/9 : RUN pipenv install --deploy --ignore-pipfile
 ---> Running in 6b188bee5773
Creating a virtualenv for this project...
Pipfile: /opt/panic/alerter/Pipfile
Using /usr/local/bin/python3.9 (3.9.5) to create virtualenv...
⠧ Creating virtual environment...created virtual environment CPython3.9.5.final.0-64 in 502ms
  creator Venv(dest=/root/.local/share/virtualenvs/alerter-GNVLrDHs, clear=False, no_vcs_ignore=False, global=False, describe=CPython3Posix)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==22.3.1, setuptools==65.5.1, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /root/.local/share/virtualenvs/alerter-GNVLrDHs
Installing dependencies from Pipfile.lock (e8409c)...
Removing intermediate container 6b188bee5773
 ---> 00df9f8c94f4
Step 7/9 : ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait

 ---> a8714486d610
Step 8/9 : RUN chmod +x /wait
 ---> Running in 462e3f48c7e5
Removing intermediate container 462e3f48c7e5
 ---> a9f7706510bd
Step 9/9 : CMD /wait && pipenv run python run_alerter.py
 ---> Running in 27a51dc7e0a6
Removing intermediate container 27a51dc7e0a6
 ---> 59f5ccd3bc86

Successfully built 59f5ccd3bc86
Successfully tagged simplyvc/panic_alerter:1.3.0
Building health-checker
Step 1/9 : FROM python:3.9.5
 ---> 9b0d330dfd02
Step 2/9 : WORKDIR /opt/panic
 ---> Using cache
 ---> dbdde93e3745
Step 3/9 : COPY ./ ./
 ---> Using cache
 ---> 993e84bccd38
Step 4/9 : WORKDIR ./alerter
 ---> Using cache
 ---> 892b5d5ecf97
Step 5/9 : RUN pip3 install pipenv
 ---> Using cache
 ---> 7c6e2982ea65
Step 6/9 : RUN pipenv install --deploy --ignore-pipfile
 ---> Using cache
 ---> 00df9f8c94f4
Step 7/9 : ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait

 ---> Using cache
 ---> a8714486d610
Step 8/9 : RUN chmod +x /wait
 ---> Using cache
 ---> a9f7706510bd
Step 9/9 : CMD /wait && pipenv run python run_health_checker.py
 ---> Running in 6ad0c211c865
Removing intermediate container 6ad0c211c865
 ---> f4fe7770c426

Successfully built f4fe7770c426
Successfully tagged simplyvc/alerter_health_checker:1.3.0
Building migration
Step 1/9 : FROM python:3.9.5
 ---> 9b0d330dfd02
Step 2/9 : WORKDIR /opt/panic
 ---> Using cache
 ---> dbdde93e3745
Step 3/9 : COPY ./ ./
 ---> Using cache
 ---> 993e84bccd38
Step 4/9 : WORKDIR ./scripts
 ---> Running in 0af5d978b96d
Removing intermediate container 0af5d978b96d
 ---> 6262e8d4c736
Step 5/9 : RUN pip3 install pipenv
 ---> Running in 7591511159b5
Collecting pipenv
  Downloading pipenv-2022.11.11-py2.py3-none-any.whl (2.9 MB)
Collecting certifi
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting virtualenv
  Downloading virtualenv-20.16.7-py3-none-any.whl (8.8 MB)
Requirement already satisfied: setuptools>=36.2.1 in /usr/local/lib/python3.9/site-packages (from pipenv) (57.0.0)
Collecting virtualenv-clone>=0.2.5
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Collecting filelock<4,>=3.4.1
  Downloading filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting platformdirs<3,>=2.4
  Downloading platformdirs-2.5.4-py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.6
  Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Installing collected packages: platformdirs, filelock, distlib, virtualenv-clone, virtualenv, certifi, pipenv
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warn
Successfully installed certifi-2022.9.24 distlib-0.3.6 filelock-3.8.0 pipenv-2022.11.11 platformdirs-2.5.4 virtualenv-20.16.7 virtualenv-clone-0.5.7
WARNING: You are using pip version 21.1.3; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container 7591511159b5
 ---> 2453080d66ae
Step 6/9 : RUN pipenv install --deploy --ignore-pipfile
 ---> Running in 43b961794811
Creating a virtualenv for this project...
Pipfile: /opt/panic/scripts/Pipfile
Using /usr/local/bin/python3.9 (3.9.5) to create virtualenv...
⠧ Creating virtual environment...created virtual environment CPython3.9.5.final.0-64 in 491ms
  creator Venv(dest=/root/.local/share/virtualenvs/scripts-0yfonRAY, clear=False, no_vcs_ignore=False, global=False, describe=CPython3Posix)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==22.3.1, setuptools==65.5.1, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /root/.local/share/virtualenvs/scripts-0yfonRAY
Installing dependencies from Pipfile.lock (3b6926)...
Removing intermediate container 43b961794811
 ---> 2fdf118a8ee8
Step 7/9 : ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait

 ---> 8bb62f1e91c2
Step 8/9 : RUN chmod +x /wait
 ---> Running in 1a021d96918c
Removing intermediate container 1a021d96918c
 ---> 29922c04502c
Step 9/9 : CMD /wait && tail -f /dev/null
 ---> Running in 1f841a23dc24
Removing intermediate container 1f841a23dc24
 ---> 4acabba744a0

Successfully built 4acabba744a0
Successfully tagged simplyvc/panic_migration:1.3.0
Creating redis                 ... done
Creating rs1                   ... done
Creating rs3                   ... done
Creating rabbitmq              ... done
Creating panic_substrate-api_1 ... done
Creating rs2                   ... done
Creating panic_api_1           ... done
Creating mongo-startup         ... done
Creating panic_ui_1             ... done
Creating panic_alerter_1       ... done
Creating migration              ... done
Creating panic_health-checker_1 ... done

when i navigate to the https://{UI_ACCESS_IP}:3333 url in firefox, i get could not communicate with the database. check the API docker service. error at the bottom of the page. i have imported the cert for api url (https://{UI_ACCESS_IP}:9000) in firefox as well.

these are the alerter logs:

Attaching to panic_alerter_1
alerter_1         | Checking availability of 172.18.0.2:27017
alerter_1         | Host 172.18.0.2:27017 is now available
alerter_1         | Checking availability of  172.18.0.8:6379
alerter_1         | Host  172.18.0.8:6379 is now available
alerter_1         | Checking availability of  172.18.0.9:5672
alerter_1         | Host  172.18.0.9:5672 not yet available
alerter_1         | Host  172.18.0.9:5672 not yet available
alerter_1         | Host  172.18.0.9:5672 not yet available
alerter_1         | Host  172.18.0.9:5672 not yet available
alerter_1         | Host  172.18.0.9:5672 is now available
alerter_1         | Connecting with RabbitMQ to create and bind configuration queues.
alerter_1         | Creating config exchange.
alerter_1         | Creating queue 'alert_router_configs_queue'
alerter_1         | Binding queue 'alert_router_configs_queue' to 'config' exchange with routing key channels.*.
alerter_1         | Creating queue 'system_alerters_manager_configs_queue'
alerter_1         | Binding queue 'system_alerters_manager_configs_queue' to 'config' exchange with routing key chains.*.*.alerts_config.
alerter_1         | Binding queue 'system_alerters_manager_configs_queue' to 'config' exchange with routing key general.alerts_config.
alerter_1         | Creating queue 'system_alerter_input_configs_queue'
alerter_1         | Binding queue 'system_alerter_input_configs_queue' to 'config' exchange with routing key chains.*.*.alerts_config.
alerter_1         | Binding queue 'system_alerter_input_configs_queue' to 'config' exchange with routing key general.alerts_config.
alerter_1         | Creating queue 'chainlink_alerters_manager_configs_queue'
alerter_1         | Binding queue 'chainlink_alerters_manager_configs_queue' to 'config' exchange with routing key chains.chainlink.*.alerts_config.
alerter_1         | Creating queue 'cl_node_alerter_input_configs_queue'
alerter_1         | Binding queue 'cl_node_alerter_input_configs_queue' to 'config' exchange with routing key chains.chainlink.*.alerts_config.
alerter_1         | Creating queue 'cl_contract_alerter_input_configs_queue'
alerter_1         | Binding queue 'cl_contract_alerter_input_configs_queue' to 'config' exchange with routing key chains.chainlink.*.alerts_config.
alerter_1         | Creating queue 'evm_node_alerter_manager_configs_queue'
alerter_1         | Binding queue 'evm_node_alerter_manager_configs_queue' to 'config' exchange with routing key chains.chainlink.*.alerts_config.
alerter_1         | Creating queue 'evm_node_alerter_input_configs_queue'
alerter_1         | Binding queue 'evm_node_alerter_input_configs_queue' to 'config' exchange with routing key chains.chainlink.*.alerts_config.
alerter_1         | Creating queue 'cosmos_alerters_manager_configs_queue'
alerter_1         | Binding queue 'cosmos_alerters_manager_configs_queue' to 'config' exchange with routing key chains.cosmos.*.alerts_config.
alerter_1         | Creating queue 'cosmos_node_alerter_input_configs_queue'
alerter_1         | Binding queue 'cosmos_node_alerter_input_configs_queue' to 'config' exchange with routing key chains.cosmos.*.alerts_config.
alerter_1         | Creating queue 'cosmos_network_alerter_input_configs_queue'
alerter_1         | Binding queue 'cosmos_network_alerter_input_configs_queue' to 'config' exchange with routing key chains.cosmos.*.alerts_config.
alerter_1         | Creating queue 'substrate_alerters_manager_configs_queue'
alerter_1         | Binding queue 'substrate_alerters_manager_configs_queue' to 'config' exchange with routing key chains.substrate.*.alerts_config.
alerter_1         | Creating queue 'substrate_node_alerter_input_configs_queue'
alerter_1         | Binding queue 'substrate_node_alerter_input_configs_queue' to 'config' exchange with routing key chains.substrate.*.alerts_config.
alerter_1         | Creating queue 'substrate_network_alerter_input_configs_queue'
alerter_1         | Binding queue 'substrate_network_alerter_input_configs_queue' to 'config' exchange with routing key chains.substrate.*.alerts_config.
alerter_1         | Creating queue 'channels_manager_configs_queue'
alerter_1         | Binding queue 'channels_manager_configs_queue' to 'config' exchange with routing key channels.*.
alerter_1         | Creating queue 'github_monitors_manager_configs_queue'
alerter_1         | Binding queue 'github_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.github_repos_config.
alerter_1         | Binding queue 'github_monitors_manager_configs_queue' to 'config' exchange with routing key general.github_repos_config.
alerter_1         | Creating queue 'dockerhub_monitors_manager_configs_queue'
alerter_1         | Binding queue 'dockerhub_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.dockerhub_repos_config.
alerter_1         | Binding queue 'dockerhub_monitors_manager_configs_queue' to 'config' exchange with routing key general.dockerhub_repos_config.
alerter_1         | Creating queue 'system_monitors_manager_configs_queue'
alerter_1         | Binding queue 'system_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.systems_config.
alerter_1         | Binding queue 'system_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.nodes_config.
alerter_1         | Binding queue 'system_monitors_manager_configs_queue' to 'config' exchange with routing key general.systems_config.
alerter_1         | Creating queue 'node_monitors_manager_configs_queue'
alerter_1         | Binding queue 'node_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.nodes_config.
alerter_1         | Binding queue 'node_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.evm_nodes_config.
alerter_1         | Creating queue 'contract_monitors_manager_configs_queue'
alerter_1         | Binding queue 'contract_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.nodes_config.
alerter_1         | Creating queue 'network_monitors_manager_configs_queue'
alerter_1         | Binding queue 'network_monitors_manager_configs_queue' to 'config' exchange with routing key chains.*.*.nodes_config.
alerter_1         | Configuration queues initialisation procedure has completed successfully. Disconnecting with RabbitMQ.
alerter_1         | Connecting with RabbitMQ to create and bind monitorable queues.
alerter_1         | Creating monitorable exchange.
alerter_1         | Creating queue 'monitorable_store_input_queue'
alerter_1         | Binding queue 'monitorable_store_input_queue' to 'monitorable' exchange with routing key *.*.
alerter_1         | Monitorable queues initialisation procedure has completed successfully. Disconnecting with RabbitMQ.
alerter_1         | Configs Manager started.
alerter_1         | Alert Router started.
alerter_1         | Data Store Manager started.
alerter_1         | Channels Manager started.
alerter_1         | Data Transformers Manager started.
alerter_1         | Attempting to start the System Store.
alerter_1         | Attempting to start the GitHub Store.
alerter_1         | Attempting to start the DockerHub Store.
alerter_1         | Attempting to start the System Data Transformer.
alerter_1         | Attempting to start the Alert Store.
alerter_1         | Successfully initialised GitHub Store
alerter_1         | GitHub Store started.
alerter_1         | Creating a new process for the alerts handler of console channel CONSOLE
alerter_1         | Attempting to start the Cosmos Node Store.
alerter_1         | Attempting to start the GitHub Data Transformer.
alerter_1         | Successfully initialised DockerHub Store
alerter_1         | DockerHub Store started.
alerter_1         | Creating a new process for the alerts handler of log channel LOG
alerter_1         | Attempting to start the Monitorable Store.
alerter_1         | Attempting to start the DockerHub Data Transformer.
alerter_1         | Successfully initialised System Store
alerter_1         | System Store started.
alerter_1         | Successfully initialised System Data Transformer
alerter_1         | System Data Transformer started.
alerter_1         | Attempting to start the Chainlink Node Store.
alerter_1         | Successfully initialised Console Alerts Handler (CONSOLE)
alerter_1         | Attempting to start the Chainlink Node Data Transformer.
alerter_1         | Console Alerts Handler (CONSOLE) started.
alerter_1         | Attempting to start the EVM Node Store.
alerter_1         | Successfully initialised GitHub Data Transformer
alerter_1         | Successfully initialised Log Alerts Handler (LOG)
alerter_1         | GitHub Data Transformer started.
alerter_1         | Attempting to start the EVM Node Data Transformer.
alerter_1         | Log Alerts Handler (LOG) started.
alerter_1         | Successfully initialised DockerHub Data Transformer
alerter_1         | DockerHub Data Transformer started.
alerter_1         | Attempting to start the Chainlink Contract Store.
alerter_1         | Attempting to start the Chainlink Contracts Data Transformer.
alerter_1         | Attempting to start the Cosmos Network Store.
alerter_1         | Attempting to start the Cosmos Node Data Transformer.
alerter_1         | Successfully initialised Cosmos Node Store
alerter_1         | Cosmos Node Store started.
alerter_1         | Successfully initialised Alert Store
alerter_1         | Alert Store started.
alerter_1         | Successfully initialised Monitorable Store
alerter_1         | Monitorable Store started.
alerter_1         | Attempting to start the Cosmos Network Data Transformer.
alerter_1         | Successfully initialised Chainlink Node Data Transformer
alerter_1         | Successfully initialised EVM Node Data Transformer
alerter_1         | Chainlink Node Data Transformer started.
alerter_1         | EVM Node Data Transformer started.
alerter_1         | Attempting to start the Substrate Node Store.
alerter_1         | Successfully initialised Chainlink Contracts Data Transformer
alerter_1         | Chainlink Contracts Data Transformer started.
alerter_1         | Successfully initialised Cosmos Node Data Transformer
alerter_1         | Cosmos Node Data Transformer started.
alerter_1         | Attempting to start the Substrate Network Store.
alerter_1         | Attempting to start the Substrate Node Data Transformer.
alerter_1         | Successfully initialised Chainlink Node Store
alerter_1         | Chainlink Node Store started.
alerter_1         | Attempting to start the Substrate Network Data Transformer.
alerter_1         | Successfully initialised Cosmos Network Data Transformer
alerter_1         | Cosmos Network Data Transformer started.
alerter_1         | Successfully initialised EVM Node Store
alerter_1         | EVM Node Store started.
alerter_1         | Successfully initialised Chainlink Contract Store
alerter_1         | Chainlink Contract Store started.
alerter_1         | Successfully initialised Substrate Node Data Transformer
alerter_1         | Substrate Node Data Transformer started.
alerter_1         | Successfully initialised Substrate Network Data Transformer
alerter_1         | Substrate Network Data Transformer started.
alerter_1         | Successfully initialised Cosmos Network Store
alerter_1         | Cosmos Network Store started.
alerter_1         | Successfully initialised Substrate Network Store
alerter_1         | Successfully initialised Substrate Node Store
alerter_1         | Substrate Node Store started.
alerter_1         | Substrate Network Store started.
alerter_1         | System Alerters Manager started.
alerter_1         | GitHub Alerter Manager started.
alerter_1         | Chainlink Alerters Manager started.
alerter_1         | EVM Node Alerter Manager started.
alerter_1         | Cosmos Alerters Manager started.
alerter_1         | Substrate Alerters Manager started.
alerter_1         | DockerHub Alerter Manager started.
alerter_1         | System Monitors Manager started.
alerter_1         | GitHub Monitors Manager started.
alerter_1         | DockerHub Monitors Manager started.
alerter_1         | Node Monitors Manager started.
alerter_1         | Contract Monitors Manager started.
alerter_1         | Network Monitors Manager started.
alerter_1         | Attempting to start the GitHub Alerter.
alerter_1         | Attempting to start the System Alerter.
alerter_1         | PANIC INTERNAL - Component: System Alerter has been reset for all chains.
alerter_1         | Attempting to start the Chainlink Node Alerter.
alerter_1         | Attempting to start the Cosmos Node Alerter.
alerter_1         | Attempting to start the EVM Node Alerter.
alerter_1         | Attempting to start the Substrate Node Alerter.
alerter_1         | Attempting to start the DockerHub Alerter.
alerter_1         | Successfully initialised GitHub Alerter
alerter_1         | GitHub Alerter started.
alerter_1         | Successfully initialised System Alerter
alerter_1         | System Alerter started.
alerter_1         | PANIC INTERNAL - Component: GitHub Alerter has been reset for all chains.
alerter_1         | Successfully initialised Chainlink Node Alerter
alerter_1         | Chainlink Node Alerter started.
alerter_1         | Successfully initialised Cosmos Node Alerter
alerter_1         | Cosmos Node Alerter started.
alerter_1         | Attempting to start the Chainlink Contract Alerter.
alerter_1         | Successfully initialised Substrate Node Alerter
alerter_1         | Substrate Node Alerter started.
alerter_1         | Successfully initialised DockerHub Alerter
alerter_1         | DockerHub Alerter started.
alerter_1         | Attempting to start the Cosmos Network Alerter.
alerter_1         | Successfully initialised EVM Node Alerter
alerter_1         | EVM Node Alerter started.
alerter_1         | PANIC INTERNAL - Component: Chainlink Node Alerter has been reset for all chains.
alerter_1         | Attempting to start the Substrate Network Alerter.
alerter_1         | Successfully initialised Chainlink Contract Alerter
alerter_1         | Chainlink Contract Alerter started.
alerter_1         | Successfully initialised Cosmos Network Alerter
alerter_1         | Cosmos Network Alerter started.
alerter_1         | PANIC INTERNAL - Component: EVM Node Alerter has been reset for all chains.
alerter_1         | Successfully initialised Substrate Network Alerter
alerter_1         | Substrate Network Alerter started.
alerter_1         | PANIC INTERNAL - Component: Cosmos Node Alerter has been reset for all chains.
alerter_1         | PANIC INTERNAL - Component: DockerHub Alerter has been reset for all chains.
alerter_1         | PANIC INTERNAL - Component: Substrate Node Alerter has been reset for all chains.
alerter_1         | PANIC INTERNAL - Component: Chainlink Contract Alerter has been reset for all chains.
alerter_1         | PANIC INTERNAL - Component: Cosmos Network Alerter has been reset for all chains.
alerter_1         | PANIC INTERNAL - Component: Substrate Network Alerter has been reset for all chains.

these are health-checker logs:

Attaching to panic_health-checker_1
health-checker_1  | Checking availability of 172.18.0.9:5672
health-checker_1  | Host 172.18.0.9:5672 not yet available
health-checker_1  | Host 172.18.0.9:5672 not yet available
health-checker_1  | Host 172.18.0.9:5672 not yet available
health-checker_1  | Host 172.18.0.9:5672 not yet available
health-checker_1  | Host 172.18.0.9:5672 is now available
health-checker_1  | Health Checker Manager started.
health-checker_1  | Attempting to start the Heartbeat Handler.
health-checker_1  | Attempting to start the Ping Publisher.
health-checker_1  | Successfully initialised Heartbeat Handler
health-checker_1  | Heartbeat Handler started.
health-checker_1  | Successfully initialised Ping Publisher
health-checker_1  | Ping Publisher started.

any idea how this API docker service can be started or check whether it is already running?

dillu24 commented 1 year ago

@itsciccio

itsciccio commented 1 year ago

@abhijeetbhagat try navigating to https://your_ip_here:9000. You should be faced with your browser's this is unsafe warning. Click proceed. When you return to PANIC UI, all should work well.

It is an issue to do with certificates in order to allow the API connect with the UI. Let me know if the above works for you.