ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

incorrect identification of connext config changes for second utils run on mainnet #711

Open raladev opened 4 years ago

raladev commented 4 years ago

Steps:

  1. bash xud.sh (wait for container creation)
  2. exit from cli
  3. bash xud.sh --arby.disabled false

Actual result:

  1. arby and connext are marked as deprecated

    1) Simnet
    2) Testnet
    3) Mainnet
    Please choose the network: 3
    🚀 Launching mainnet environment
    🌍 Checking for updates...
    - Image exchangeunion/arby:1.1.8: missing
    - Container mainnet_connext_1: outdated (environment)
    - Container mainnet_arby_1: missing
    A new version is available. Would you like to upgrade (Warning: this may restart your environment and cancel all open orders)? [Y/n] Y
    Pulling exchangeunion/arby:1.1.8...
    cbdbe7a5bc2a: Already exists
    091983d60f65: Already exists
    7bacc183740f: Already exists
    c4a5a5d270d4: Already exists
    90db0945fbb7: Pull complete
    c234f853d1ff: Pull complete
    aa06c67cd0d3: Pull complete
    9029bae5ee54: Pull complete
    d0cf4450d492: Pull complete
    Recreating mainnet_connext_1...
    Creating mainnet_arby_1...
  2. After connext restart xud cant connect to it and restart of full env is required

    02/09/2020 14:49:55.289 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:00.290 [CONNEXT] info: trying to verify connection to connext
    02/09/2020 14:50:00.292 [CONNEXT] error: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:00.293 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:05.306 [CONNEXT] info: trying to verify connection to connext
    02/09/2020 14:50:05.310 [CONNEXT] error: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:05.311 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:10.313 [CONNEXT] info: trying to verify connection to connext
    02/09/2020 14:50:10.316 [CONNEXT] error: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:10.317 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:15.319 [CONNEXT] info: trying to verify connection to connext
    02/09/2020 14:50:15.322 [CONNEXT] error: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:15.323 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:20.326 [CONNEXT] info: trying to verify connection to connext
    02/09/2020 14:50:20.329 [CONNEXT] error: Error: connect ECONNREFUSED 10.0.3.5:5040
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
    02/09/2020 14:50:20.330 [CONNEXT] error: could not verify connection to connext, retrying in 5000 ms: Error: connect ECONNREFUSED 10.0.3.5:5040

Expected result: Only arby is marked as deprecated