Closed reliveyy closed 4 years ago
I'm testing this with:
β ~ bash xud.sh -b setup-status --proxy.disabled false
The light clients are syncing:
π Warming up...
Syncing light clients:
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SERVICE β STATUS β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β lndbtc β Syncing 37.95% (249000/656126) β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β lndltc β Syncing 8.12% (158000/1944013) β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
But API is not responsive:
β ~ curl localhost:8080/api/v1/setup-status
curl: (7) Failed to connect to localhost port 8080: Connection refused
@erkarl Should work now ExchangeUnion/xud-docker@67f92d7
It still seems to use proxy 1.0.0 for me :thinking:
β xud-docker git:(master) β bash xud.sh -b setup-status --proxy.disabled false
1) Simnet
2) Testnet
3) Mainnet
Please choose the network: 3
Pulling image exchangeunion/utils:latest__setup-status
π Launching mainnet environment
π Checking for updates...
- Container mainnet_proxy_1: recreate
A new version is available. Would you like to upgrade (Warning: this may restart your environment and cancel all open orders)? [Y/n] Y
Recreating mainnet_proxy_1...
π Warming up...
Syncing light clients:
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SERVICE β STATUS β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β lndbtc β Syncing 99.99% (656128/656135) β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β lndltc β Syncing 23.55% (458000/1944029) β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running containers:
β ~ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d74fc25fc836 exchangeunion/proxy:1.0.0 "/entrypoint.sh" 37 seconds ago Up 36 seconds 127.0.0.1:8889->8080/tcp mainnet_proxy_1
0e8ebef3d812 exchangeunion/utils:latest__setup-status "python -m launcher β¦" 47 seconds ago Up 47 seconds mainnet_utils_1
e0d12c54775e exchangeunion/xud:1.2.0 "/entrypoint.sh" About an hour ago Up 36 seconds 8887/tcp, 18887/tcp, 0.0.0.0:8885->8885/tcp, 28887/tcp mainnet_xud_1
095d6536f455 exchangeunion/boltz:1.1.1 "/usr/bin/supervisorβ¦" About an hour ago Up 36 seconds 9002-9003/tcp mainnet_boltz_1
5dfcd57e78a1 exchangeunion/connext:1.3.6 "/usr/bin/supervisorβ¦" About an hour ago Up 36 seconds 5040/tcp mainnet_connext_1
cfaa8d9ee12b exchangeunion/lndltc:0.11.0-beta.rc1 "/usr/bin/supervisorβ¦" About an hour ago Up 36 seconds mainnet_lndltc_1
ba5bdbaa4154 exchangeunion/lndbtc:0.11.1-beta "/usr/bin/supervisorβ¦" About an hour ago Up 36 seconds mainnet_lndbtc_1
Also, needs a rebase @reliveyy
This PR adds a new endpoint
/api/v1/setup-status
. It shows the details of xud-docker setup process.The stream HTTP response could be changed to SSE (HTTP Server-Sent Events) if it is more convenient to use in frontend. @krrprr @erkarl