Open pictographer opened 2 years ago
I was able to replicate the problem at revision 8cdf383d2f563fb2bb6194e6c56e7d46227e404d:
[nix-shell:~/repositories/Translucence/cape]$ sudo bin/cape-demo-docker
[sudo] password for philippe:
[+] Running 7/7
⠿ relayer Pulled 1.1s
⠿ faucet Pulled 1.1s
⠿ eqs Pulled 1.0s
⠿ geth Pulled 1.0s
⠿ wallet-api-alice Pulled 1.0s
⠿ wallet-api-bob Pulled 1.1s
⠿ address-book Pulled 1.0s
[+] Running 7/0
⠿ Container cape-geth-1 Created 0.0s
⠿ Container cape-faucet-1 Created 0.0s
⠿ Container cape-address-book-1 Created 0.0s
⠿ Container cape-relayer-1 Created 0.0s
⠿ Container cape-wallet-api-bob-1 Created 0.0s
⠿ Container cape-eqs-1 Created 0.0s
⠿ Container cape-wallet-api-alice-1 Created 0.0s
Attaching to cape-address-book-1, cape-eqs-1, cape-faucet-1, cape-geth-1, cape-relayer-1, cape-wallet-api-alice-1, cape-wallet-api-bob-1
cape-address-book-1 | 2022-05-03T16:36:14.146454Z INFO address_book: Using store path "/.local/share/espresso/cape/address_book/store"
cape-address-book-1 | 2022-05-03T16:36:14.146600Z INFO tide::server: Server listening on http://0.0.0.0:50000
cape-wallet-api-alice-1 | WALLET directory is not set. Using the default paths, ./public and ./api for asset and API paths, respectively. To use different paths, set the WALLET environment variable, or specify :assets and :api arguments.
cape-wallet-api-alice-1 | WALLET directory is not set. Using the default paths, ./public and ./api for asset and API paths, respectively. To use different paths, set the WALLET environment variable, or specify :assets and :api arguments.
cape-wallet-api-alice-1 | 2022-05-03T16:36:14.754242Z INFO tide::server: Server listening on http://0.0.0.0:50040
cape-wallet-api-alice-1 | at /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/tide-0.16.0/src/server.rs:212
cape-wallet-api-alice-1 |
cape-wallet-api-bob-1 | WALLET directory is not set. Using the default paths, ./public and ./api for asset and API paths, respectively. To use different paths, set the WALLET environment variable, or specify :assets and :api arguments.
cape-wallet-api-bob-1 | WALLET directory is not set. Using the default paths, ./public and ./api for asset and API paths, respectively. To use different paths, set the WALLET environment variable, or specify :assets and :api arguments.
cape-wallet-api-bob-1 | 2022-05-03T16:36:15.059341Z INFO tide::server: Server listening on http://0.0.0.0:50041
cape-wallet-api-bob-1 | at /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/tide-0.16.0/src/server.rs:212
cape-wallet-api-bob-1 |
cape-eqs-1 | thread 'main' panicked at 'No contract code found at 0xcf7e…0fc9', /__w/cape/cape/contracts/rust/src/ethereum.rs:225:9
cape-eqs-1 | stack backtrace:
cape-eqs-1 | 0: rust_begin_unwind
cape-eqs-1 | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
cape-eqs-1 | 1: core::panicking::panic_fmt
cape-eqs-1 | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
cape-eqs-1 | 2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
cape-eqs-1 | 3: std::thread::local::LocalKey<T>::with
cape-eqs-1 | 4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
cape-eqs-1 | 5: async_io::driver::block_on
cape-eqs-1 | 6: async_global_executor::reactor::block_on
cape-eqs-1 | 7: std::thread::local::LocalKey<T>::with
cape-eqs-1 | 8: std::thread::local::LocalKey<T>::with
cape-eqs-1 | 9: async_std::task::builder::Builder::blocking
cape-eqs-1 | 10: eqs::main
cape-eqs-1 | note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
cape-eqs-1 exited with code 101
cape-relayer-1 | thread 'main' panicked at 'No contract code found at 0xcf7e…0fc9', /__w/cape/cape/contracts/rust/src/ethereum.rs:225:9
cape-relayer-1 | stack backtrace:
cape-relayer-1 | 0: rust_begin_unwind
cape-relayer-1 | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
cape-relayer-1 | 1: core::panicking::panic_fmt
cape-relayer-1 | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
cape-relayer-1 | 2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
cape-relayer-1 | 3: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
cape-relayer-1 | 4: async_io::driver::block_on
cape-relayer-1 | 5: async_global_executor::reactor::block_on
cape-relayer-1 | 6: std::thread::local::LocalKey<T>::with
cape-relayer-1 | 7: async_std::task::builder::Builder::blocking
cape-relayer-1 | 8: minimal_relayer::main
cape-relayer-1 | note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
cape-relayer-1 exited with code 101
cape-faucet-1 | Unpacking universal parameters... done in 10404 ms
cape-faucet-1 | 2022-05-03T16:36:27.317720Z INFO faucet: Wallet balance before init: 9223372036854775807
cape-faucet-1 | 2022-05-03T16:36:27.317852Z INFO tide::server: Server listening on http://0.0.0.0:50030
cape-faucet-1 | 2022-05-03T16:36:27.318955Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:27.821518Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:28.824188Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:30.826875Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:34.829828Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:42.832368Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
cape-faucet-1 | 2022-05-03T16:36:58.835203Z WARN isahc::handler: request completed with error: CouldntResolveHost: couldn't resolve host name
Looks related to #993.
As discussed, it is better to change the way the docker image is built. Reassinging to @Ancient123 .
Attempting to run the local two wallet demo with
cape-demo-docker
...Contract isn't found, so EQS can't start, faucet fails, and GUI gives an opaque error when trying to use the faucet: "An error occurred. Please try again later."
Here's the console output for the docker container.