comit-network / xmr-btc-swap

Bitcoin–Monero Cross-chain Atomic Swap
GNU General Public License v3.0
657 stars 84 forks source link

Communication error: /comit/xmr/btc/encrypted_signature/1.0.0 failed #822

Open frontrun92 opened 3 years ago

frontrun92 commented 3 years ago

Log

Waiting for Bitcoin deposit deposit_address=bc1qjxtcdvm5a5utnw3yxrme4qk3pugymylsunf3ka max_giveable=0.00000000 BTC minimum_amount=0.00050000 BTC maximum_amount=0.00500000 BTC Received Bitcoin new_balance=0.00315976 BTC max_giveable=0.00314298 BTC Starting new swap amount=0.00314298 BTC fees=0.00001678 BTC swap_id=4338abcd-bfd3-4e4e-8f6e-d20810225e0a Published Bitcoin transaction txid=d3e237620df08f5922d0e33da9913b3a9a70b98d3a690088f4e115fae45aa5b2 kind=lock Waiting for Alice to lock Monero Alice locked Monero txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb Waiting for Monero transaction finality txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb target_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=1 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=2 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=3 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=4 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=5 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=6 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=7 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=8 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=9 needed_confirmations=10 Received new confirmation for Monero lock tx txid=ae1be4fa4892deea7c7b81908f845e6bdcfecff7e57cfbfd18e392d087e95afb seen_confirmations=10 needed_confirmations=10 Communication error: /comit/xmr/btc/encrypted_signature/1.0.0 failed because we did not receive a response within the configured timeout peer=12D3KooWNmdXGztkd21JcHvCUWRi5Mb4C8bTrqhMBGbjs6Wbchrk

frontrun92 commented 3 years ago

with --debug

2021-10-13 09:38:49 DEBUG Sled flag set. Using sled database. 2021-10-13 09:38:49 DEBUG Opening database at /root/.local/share/xmr-btc-swap/cli/mainnet/database 2021-10-13 09:38:49 DEBUG Reading in seed from /root/.local/share/xmr-btc-swap/cli/mainnet/seed.pem 2021-10-13 09:38:51 DEBUG Starting monero-wallet-rpc port=41293 2021-10-13 09:38:58 DEBUG Opened Monero wallet monero_wallet_name=swap-tool-blockchain-monitoring-wallet 2021-10-13 09:38:59 DEBUG Network layer initialized peer_id=12D3KooWPW44vyjC6VoJPNkrYpX3GhsxZhNm1KvbgaPpbLY3Vqap 2021-10-13 09:38:59 DEBUG Establishing connection through Tor proxy address=/ip4/80.78.22.113/tcp/9939/p2p/12D3KooWNmdXGztkd21JcHvCUWRi5Mb4C8bTrqhMBGbjs6Wbchrk 2021-10-13 09:38:59 DEBUG Advancing state state=xmr is locked 2021-10-13 09:38:59 DEBUG Constructed Bitcoin spending transaction fee=1882 2021-10-13 09:39:00 DEBUG Connection through Tor established 2021-10-13 09:39:01 INFO Connected to Alice at /ip4/80.78.22.113/tcp/9939/p2p/12D3KooWNmdXGztkd21JcHvCUWRi5Mb4C8bTrqhMBGbjs6Wbchrk 2021-10-13 09:39:02 WARN Lost connection to Alice at /ip4/80.78.22.113/tcp/9939/p2p/12D3KooWNmdXGztkd21JcHvCUWRi5Mb4C8bTrqhMBGbjs6Wbchrk, cause: Connection error: Handler error: upgrade apply error: EOF while parsing a value 2021-10-13 09:39:02 WARN Communication error: /comit/xmr/btc/encrypted_signature/1.0.0 failed because the connection was closed we received a response peer=12D3KooWNmdXGztkd21JcHvCUWRi5Mb4C8bTrqhMBGbjs6Wbchrk Error: Failed to communicate encrypted signature through event loop channel

rishflab commented 3 years ago

Have you been able to do swap a different ASB. You can try with the --testnet flag to avoid using funds. I think this error is due to a poor connection between you and this specific ASB provider.

frontrun92 commented 3 years ago

I was able to do swap a different ASB and had another problem and I was able to withdraw btc back. I cannot withdraw now and cannot resume swap. How can I get btc back ?

rishflab commented 3 years ago

You can try to cancel and refund the swap using the cancel and refund subcommands. These commands don't require you to have a connection to the ASB provider.