Skip to content

Swap fails immediately after deposit with deserialization error #661

Open
@sethforprivacy

Description

Note: I am opening this for another user who isn't comfortable posting here, but will do my best to relay questions/requests and respond promptly.

A user who attempted to swap with my ASB ran into a new issue I have not seen. When the user started the swap and deposited funds, the swap tool immediately crashed with the following output:

image

After this failure they attempted to resume/cancel/refund but the swap is not in the swap tool's history/DB:

./swap history                                              
+---------+-------+
| SWAP ID | STATE |
+=================+
+---------+-------+
./swap resume --swap-id REDACTED
Error: Swap with id REDACTED not found in database
./swap cancel --swap-id REDACTED
Error: Swap with id REDACTED not found in database
./swap refund --swap-id REDACTED
Error: Swap with id REDACTED not found in database

The only other logs for the swap are:

./swap list-sellers --rendezvous-point /dnsaddr/rendezvous.coblox.tech/p2p/12D3KooWQUt9DkNZxEn2R5ymJzWj15MpG6mTW84kyd8vDaRZi46o
Parent directory does not exist, creating recursively directory=REDACTED
Connected to rendezvous point, discovering nodes in 'xmr-btc-swap-mainnet' namespace ...
Discovered peer 12D3KooWCPcfhr6e7V7NHoKWRxZ5zPRr6v5hGrVPhHdsftQk2DXW at /dnsaddr/swap.sethforprivacy.com/p2p/12D3KooWCPcfhr6e7V7NHoKWRxZ5zPRr6v5hGrVPhHdsftQk2DXW
Discovered peer 12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy at /ip4/51.15.44.142/tcp/9939
+----------------+----------------+----------------+--------+-------------------------------------------------------------------------------------------+
| PRICE          | MIN_QUANTITY   | MAX_QUANTITY   | STATUS | ADDRESS                                                                                   |
+=======================================================================================================================================================+
| 0.00586950 BTC | 0.00010000 BTC | 0.00190000 BTC | Online | /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy       |
|----------------+----------------+----------------+--------+-------------------------------------------------------------------------------------------|
| 0.00642850 BTC | 0.00050000 BTC | 0.00100000 BTC | Online | /dnsaddr/swap.sethforprivacy.com/p2p/12D3KooWCPcfhr6e7V7NHoKWRxZ5zPRr6v5hGrVPhHdsftQk2DXW |
+----------------+----------------+----------------+--------+-------------------------------------------------------------------------------------------+

The most pressing concern is how to help the user recover funds, but also would love to get to the bottom of this.

Will reach out to the user and try to get host/OS/arch/version info.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions