Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deal Making Issue] #5980

Closed
jamerduhgamer opened this issue Apr 6, 2021 · 8 comments
Closed

[Deal Making Issue] #5980

jamerduhgamer opened this issue Apr 6, 2021 · 8 comments
Labels

Comments

@jamerduhgamer
Copy link

jamerduhgamer commented Apr 6, 2021

Basic Information
Client and Miner side for online retrieval deal.

Describe the problem
The client is trying to retrieval an online storage deal and is running into "ERROR: retrieval failed: Retrieve: Retrieval Error: error generated by data transfer: deal data transfer failed: incomplete response".

Version
lotus version 1.5.3+mainnet+git.358773e2b

Setup
GeForce RTX 2080Ti
256 GB RAM
2 TB NVMe M.2
AMD EPYC 7F72 24-Core Processor

To Reproduce
Steps to reproduce the behavior:

  1. lotus client retrieve --miner f066596 bafyaa6qsgafcmalqudsaeiekkmiypfxq6vgdwepdafg6jyacye46gurjichuapbzxwqhoywq7yjaagelucbyabasgafcmalqudsaeif3e6tsyc7c3anlmobix3744duq7cyasjsmrsmbkdn4besizu5ffyjaagf6zcc36aykcqeaeghh3sbl6bzaqcaibaaeedt5zav7am output-test.car
  2. See error

Deal status
Creation Verified ProposalCid DealId State Client
Size Price Duration TransferChannelID Message
Mar 31 18:26:52 false bafyreia2kdy6sad3be2hnb5ywvno7jrxcvr7sa5q7qytuv2lxtqxvhlzcq 1653845 StorageDealActive
f3rxhdrohdvzunxweebfvnch6izl4rron7qo7gb5x5czu47xdg25g3ys57tovcwoz2wgsr2ystugfyimcmhpbq 2GiB 0.0104405 FIL 522025 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-0

Lotus daemon and miner logs
Client Logs
lotus client retrieve --miner f066596 bafyaa6qsgafcmalqudsaeiekkmiypfxq6vgdwepdafg6jyacye46gurjichuapbzxwqhoywq7yjaagelucbyabasgafcmalqudsaeif3e6tsyc7c3anlmobix3744duq7cyasjsmrsmbkdn4besizu5ffyjaagf6zcc36aykcqeaeghh3sbl6bzaqcaibaaeedt5zav7am output-test.car

Recv: 0 B, Paid 0 FIL, ClientEventOpen (DealStatusNew)
Recv: 0 B, Paid 0 FIL, ClientEventDealProposed (DealStatusWaitForAcceptance)
Recv: 122 B, Paid 0 FIL, ClientEventBlocksReceived (DealStatusWaitForAcceptance)
Recv: 122 B, Paid 0 FIL, ClientEventDealAccepted (DealStatusAccepted)
Recv: 122 B, Paid 0 FIL, ClientEventPaymentChannelCreateInitiated (DealStatusPaymentChannelCreating)
Recv: 122 B, Paid 0 FIL, ClientEventDataTransferError (DealStatusErrored)
Recv: 0 B, Paid 0 FIL, ClientEventOpen (DealStatusNew)
ERROR: retrieval failed: Retrieve: Retrieval Error: error generated by data transfer: deal data transfer failed: incomplete response
image
image

Miner Logs
2021-04-05T23:31:51.091-0700 INFO dt-impl impl/events.go:255 received new channel request from 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp
2021-04-05T23:31:51.092-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventOpen", "deal ID": "1", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusNew", "message": ""}
2021-04-05T23:31:51.093-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventDealAccepted", "deal ID": "1", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusUnsealing", "message": ""}
2021-04-05T23:32:02.362-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventUnsealComplete", "deal ID": "1", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusUnsealed", "message": ""}
2021-04-05T23:32:02.362-0700 INFO dt-impl impl/impl.go:386 resume channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-2
2021-04-05T23:32:02.363-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventBlockSent", "deal ID": "1", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusOngoing", "message": ""}
2021-04-05T23:32:02.364-0700 WARN dt-impl impl/events.go:235 data transfer channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-2 failed to transfer data: graphsync response to peer 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp did not complete: response status code RequestCompletedPartial
2021-04-05T23:32:02.364-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventDataTransferError", "deal ID": "1", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusErrored", "message": "deal data transfer failed: data transfer channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-2 failed to transfer data: graphsync response to peer 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp did not complete: response status code RequestCompletedPartial"}
2021-04-05T23:32:44.771-0700 INFO graphsync impl/graphsync.go:309 Graphsync ReceiveError from 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp: stream reset
2021-04-06T01:59:33.973-0700 INFO dt-impl impl/events.go:255 received new channel request from 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp
2021-04-06T01:59:33.975-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventOpen", "deal ID": "2", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusNew", "message": ""}
2021-04-06T01:59:33.976-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventDealAccepted", "deal ID": "2", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusUnsealing", "message": ""}
2021-04-06T01:59:43.948-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventUnsealComplete", "deal ID": "2", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusUnsealed", "message": ""}
2021-04-06T01:59:43.948-0700 INFO dt-impl impl/impl.go:386 resume channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-3
2021-04-06T01:59:43.948-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventBlockSent", "deal ID": "2", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusOngoing", "message": ""}
2021-04-06T01:59:43.949-0700 WARN dt-impl impl/events.go:235 data transfer channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-3 failed to transfer data: graphsync response to peer 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp did not complete: response status code RequestCompletedPartial
2021-04-06T01:59:43.949-0700 INFO markets loggers/loggers.go:30 retrieval provider event {"name": "ProviderEventDataTransferError", "deal ID": "2", "receiver": "12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp", "state": "DealStatusErrored", "message": "deal data transfer failed: data transfer channel 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp-12D3KooWH3mBSF2RFQJFZdqzkVBqSdspoAAunHkViTf5AQhubv1c-3 failed to transfer data: graphsync response to peer 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp did not complete: response status code RequestCompletedPartial"}
2021-04-06T02:14:14.277-0700 INFO graphsync impl/graphsync.go:309 Graphsync ReceiveError from 12D3KooWAWe8axhW2GM6MmuDSzE1Ln5BZdgvX9swhCsUySUncTHp: stream reset

** Code modifications **
No code modifications

@pooja
Copy link
Contributor

pooja commented Apr 6, 2021

@dirkmc Could we look into this? We had the folks who reported #5829 try to make a storage deal with the same data but with online data transfer (5829 was with offline data transfer) and then attempt a retrieval deal. This is the bug that's been reported since the retrievals aren't working.

Other details include:

  • The retrieval deal was stuck in ClientEventPaymentChannelCreateInitiated (DealStatusPaymentChannelCreating) all weekend before the lotus daemon crashed (possibly due to being out of space)
  • It was suggested that the "invalid transition in queue" state (in the screenshot below) is a bug
  • @ribasushi do you have anything else to add?

@pooja
Copy link
Contributor

pooja commented Apr 6, 2021

Also @ethanwu155 in case you want to drop any other details

@ethanwu155
Copy link

@pooja nothing else to add. you guys summed it up well. thanks!

@jamerduhgamer
Copy link
Author

Both parties will try updating to v1.6.0 and then test the retrieval deal process again

@jennijuju
Copy link
Member

related #5829

@jennijuju jennijuju added need/author-input Hint: Needs Author Input and removed hint/needs-triaging labels Apr 7, 2021
@bq1024
Copy link

bq1024 commented Apr 21, 2021

Just tried to retrieve an offline deal with v1.6.0, but got the same error:

> Recv: 0 B, Paid 0 FIL, ClientEventOpen (DealStatusNew)
> Recv: 0 B, Paid 0 FIL, ClientEventDealProposed (DealStatusWaitForAcceptance)
> Recv: 0 B, Paid 0 FIL, ClientEventDealAccepted (DealStatusAccepted)
> Recv: 0 B, Paid 0 FIL, ClientEventPaymentChannelSkip (DealStatusOngoing)
> Recv: 0 B, Paid 0 FIL, ClientEventDataTransferError (DealStatusErrored)
> Recv: 0 B, Paid 0 FIL, ClientEventOpen (DealStatusNew)
ERROR: retrieval failed: Retrieve: Retrieval Error: error generated by data transfer: deal data transfer failed: incomplete response

@dkkapur dkkapur added this to the 🤝 Deal Success milestone May 19, 2021
@github-actions
Copy link

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 24 hours.

@github-actions
Copy link

This issue was closed because it is missing author input.

@TippyFlitsUK TippyFlitsUK removed the need/author-input Hint: Needs Author Input label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants