boost icon indicating copy to clipboard operation
boost copied to clipboard

Errors after making deal once with wrong params

Open lordshashank opened this issue 2 years ago • 5 comments

I by mistake ran the makedealproposal function with a wrong parameter (car size to be particular) and my deal got rejected for same reason as could be seen here -

2023-04-03T13:42:49.363Z ERROR boost-storage-deal logs/log.go:53 deal failed {"id": "3754d36e-1d84-41b8-927a-c5dfe11328a4", "err": "data-transfer failed: mismatch in dealSize vs received bytes, dealSize=520192, received=406562"}

but the problem was that when I ran the same deal with correct parameters afterwards deal was not successful with following error -

2023-04-03T14:39:00.265Z INFO boost-provider storagemarket/contract_deal_monitor.go:180 received contract deal proposal {"id": "0x6f63fdaf919cdb57381746972ade549858fd7b5d4ca2ee2d2e768ab4c527c8ad", "uuid": "6b198de0-118e-4860-8e52-10042518dcc4", "client-peer": "f410fg5jcprjlsfc4vfbbnvxteo66wp36nn5dsqifgta", "contract": "0x375227c52b9145ca94216d6f323bdeb3f7e6b7a3", "piece-cid": "baga6ea4seaqj2niowks5hx2jkvpzdolzjcogzwq72r4ysotvc7ipgexfrrcgqaq"} 2023-04-03T14:39:00.265Z INFO boost-storage-deal logs/log.go:40 executing deal proposal received from network {"id": "6b198de0-118e-4860-8e52-10042518dcc4", "peer": ""} 2023-04-03T14:39:00.294Z INFO boost-storage-deal logs/log.go:40 processing deal acceptance request{"id": "6b198de0-118e-4860-8e52-10042518dcc4"} 2023-04-03T14:39:00.303Z INFO boost-storage-deal logs/log.go:40 deal acceptance request rejected {"id": "6b198de0-118e-4860-8e52-10042518dcc4", "reason": "deal proposal is identical to deal 3754d36e-1d84-41b8-927a-c5dfe11328a4 (proposed at 2023-04-03 13:42:30.182932482 +0000 UTC)", "error": "deal proposal is identical to deal 3754d36e-1d84-41b8-927a-c5dfe11328a4 (proposed at 2023-04-03 13:42:30.182932482 +0000 UTC)"} 2023-04-03T14:39:00.314Z INFO boost-storage-deal logs/log.go:40 deal rejected by provider {"id": "6b198de0-118e-4860-8e52-10042518dcc4", "reason": "deal proposal is identical to deal 3754d36e-1d84-41b8-927a-c5dfe11328a4 (proposed at 2023-04-03 13:42:30.182932482 +0000 UTC)"} 2023-04-03T14:39:00.320Z WARN boost-provider storagemarket/contract_deal_monitor.go:191 contract deal proposal rejected {"id": "0x6f63fdaf919cdb57381746972ade549858fd7b5d4ca2ee2d2e768ab4c527c8ad", "uuid": "6b198de0-118e-4860-8e52-10042518dcc4", "err": null, "reason": "deal proposal is identical to deal 3754d36e-1d84-41b8-927a-c5dfe11328a4 (proposed at 2023-04-03 13:42:30.182932482 +0000 UTC)"}

where it said that deal was identical to the previous deal that was not even successful. Thus this deal could not be placed by me now. How can this error be resolved.

lordshashank avatar Apr 07 '23 04:04 lordshashank

thats a boost issue in the end @dirkmc

ghost avatar Apr 07 '23 11:04 ghost

not yet

lordshashank avatar Apr 25 '23 22:04 lordshashank

@lordshashank Looks like we have same deal UUID here. Boost has a check which rejects any deal with same UUID as before. Even if previous proposal failed. Just change the proposal UUID to something new and deal should get accepted.

LexLuthr avatar Apr 26 '23 07:04 LexLuthr

that UUID is decided by the file params I am sending, if the file is same that UUID can't be changed.

lordshashank avatar Apr 26 '23 13:04 lordshashank