filecoin-project / go-fil-markets

Shared Implementation of Storage and Retrieval Markets for Filecoin Node Implementations
Other
78 stars 59 forks source link

Storage deals hanging forever in the status StorageDealCheckForAcceptance #746

Open 1db1 opened 2 years ago

1db1 commented 2 years ago
# lotus client list-deals -v

Created          DealCid                                                      DealId   Provider   State                          On Chain?          Slashed?  PieceCID                                                          Size       Price                 Duration  TransferChannelID
Aug 17 11:51:13  bafyreihpvt75xzzlnvwvxvp34u7jwtly33oa4oycdy7pxz7kert2k4rc5a  0        f01497836  StorageDealCheckForAcceptance  N                  N         baga6ea4seaqioni3rvrksywkfqizkibjtfskc4hee44wnlgpm4ryup3fo6nfoei  508 B      0.00000000522192 FIL  522192    12D3KooWGHue6dmW9A9g4cbaBtCxsBhBHUYLaXM1Jso47tFdbeYr-12D3KooWF2U3cHjPH7UGUuK23hNpQp9GVRzpHqWCKfUbg9mjCagz-1660706190196958652  Completed       false     Provider state: StorageDealPublish
...
Aug 19 09:00:12  bafyreiadzhtkanzeu234pgp567kz2bczivaxkcemdivydp4axp4qz7sunm  0        f01606675  StorageDealCheckForAcceptance  N                  N         baga6ea4seaqcsis2vfns7n7ekzpcht4rkzshgsgnqwkkmxd4bxynxyrxbvys6ha  508 B      0.00000000520417 FIL  520417    12D3KooWGHue6dmW9A9g4cbaBtCxsBhBHUYLaXM1Jso47tFdbeYr-12D3KooWJfAU7HD3VBZNPNnKoxiVu35TqRbqKA9AUW9dMAzJCXJ8-1660880309213219405  Completed       true      Provider state: StorageDealUnknown

log

2022-08-24T06:56:22.903Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc017a98070 {[8998322 33279666 33271711]}})
2022-08-24T06:56:22.903Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc01e9673c0 {[8998322 33279666 33271711]}})
2022-08-24T06:56:22.912Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc01e9675a0 {[8998322 33279666 33271711]}})
2022-08-24T06:56:22.914Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc01e967610 {[8998322 33279666 33271711]}})
2022-08-24T06:56:22.914Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc01979ac50 {[8998322 33279666 33271711]}})
2022-08-24T06:56:22.916Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc017a980e0 {[8998322 33279666 33271711]}})
2022-08-24T06:56:24.387Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{validating signature 0xc021e3e210 {[8998322 33279666 33271711]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})
2022-08-24T06:56:24.439Z        WARN    storagemarket_impl      clientstates/client_states.go:190       error when querying provider deal state: %!w(*xerrors.wrapError=&{failed to read deal status response 0xc000255a60 {[8998322 33271516 33282667]}})

The problem with this piece of code: https://github.com/filecoin-project/go-fil-markets/blob/master/storagemarket/impl/clientstates/client_states.go#L190