filecoin-project / filecoin-project/boost

failed validation: server error: getting market balance

Open
#1,008 4 comments 0 reactions 0 assignees View on GitHub
area/ux
Dominant language
Go
Stars
121
Forks
79
Avg merge
10d 14h
Merged PRs (30d)
1

Description

### Checklist

- [X] This is **not** a question or a support request. If you have any boost related questions, please ask in the [discussion forum](https://github.com/filecoin-project/boost/discussions).
- [X] This is **not** a new feature or enhancement request. If it is, please open a [new idea discussion](https://github.com/filecoin-project/boost/discussions/new?category=ideas) instead. New feature and enhancement requests would be entertained by the boost team after a thorough discussion only.
- [X] I **have** searched on the [issue tracker](https://github.com/filecoin-project/boost/issues) and the [discussion forum](https://github.com/filecoin-project/boost/discussions), and there is no existing related issue or discussion.
- [X] I am running the [`Latest release`](https://github.com/filecoin-project/boost/releases), or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
- [X] I did not make any code changes to boost.

### Boost component

- [ ] boost daemon - storage providers
- [ ] boost client
- [X] boost UI
- [ ] boost data-transfer
- [ ] boost index-provider
- [ ] Other

### Boost Version

```text
lotus-miner version
Daemon: 1.19.0-rc2+mainnet+git.2520b1644+api1.5.0
Local: lotus-miner version 1.19.0-rc2+mainnet+git.2520b1644
boostd -version
boostd version 1.5.1-rc1+git.f3fd05a
```

### Describe the Bug

Since I upgraded yesterday, I am seeing a new message "failed validation: server error: getting market balance" only from one client. Is this expected?
BTW - I am unable to copy the full address of the client from the UI - the copy to clipboard function does not seem to work on a Mac OSX machine.

Deal Proposals

### Logging Information

```text
2022-11-24T16:02:42.645Z INFO boost-storage-deal logs/log.go:40 executing deal proposal received from network {"id": "70c1471a-50d5-4f7e-a6a6-4bdd58c98fd6", "peer": "12D3KooWM1xpPWVmBpcGY6xFSzpsszUMVvqk84Dq3Fsm8UuXopop"}
2022-11-24T16:02:42.668Z INFO boost-storage-deal logs/log.go:40 deal proposal failed validation {"id": "70c1471a-50d5-4f7e-a6a6-4bdd58c98fd6", "err": "node error getting client market balance failed: resolve address f1cccco7bok4vtwgnp23yvrylkscefczs7tk6n6li: actor not found", "reason": "server error: getting market balance"}
2022-11-24T16:02:42.688Z INFO boost-prop lp2pimpl/net.go:212 send deal proposal response {"id": "70c1471a-50d5-4f7e-a6a6-4bdd58c98fd6", "accepted": false, "msg": "failed validation: server error: getting market balance", "peer id": "12D3KooWM1xpPWVmBpcGY6xFSzpsszUMVvqk84Dq3Fsm8UuXopop", "client address": "f1cccco7bok4vtwgnp23yvrylkscefczs7tk6n6li", "provider address": "f01278", "piece cid": "baga6ea4seaql2342hjbynytqp6hlal7ll5xzx6twi3sqwvtearqrwawdsjocadq", "piece size": 4294967296, "verified": false, "label": "QmPpJ2rFLmJpco8sCQK1hauVXw9YpWrpuf7M37CJeGr7iS", "start epoch": "2386805", "end epoch": "3881525", "price per epoch": "0"}
2022-11-24T16:04:02.722Z ERROR http-transport logs/log.go:53 did not retry http request: context cancelled {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874", "err": "context canceled"}
2022-11-24T16:04:02.727Z INFO boost-storage-deal logs/log.go:40 deal cancelled by user {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.727Z INFO boost-storage-deal logs/log.go:40 deal data transfer cancelled by user {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.735Z INFO boost-storage-deal logs/log.go:40 cleaning up deal {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.739Z INFO boost-storage-deal logs/log.go:40 deal finished {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.750Z INFO boost-storage-deal logs/log.go:40 untagged funds for deal as deal finished {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874", "untagged publish": "150000000000000000", "untagged collateral": "4540796855163427", "err": null}
2022-11-24T16:04:02.760Z INFO boost-storage-deal logs/log.go:40 untagged storage space for deal {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.762Z INFO boost-storage-deal logs/log.go:40 finished cleaning up deal {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
2022-11-24T16:04:02.765Z INFO boost-storage-deal logs/log.go:40 deal go-routine finished execution {"id": "17ff86fb-beec-44ec-863a-a4ca28cd3874"}
```

### Repo Steps

1. Run '...'
2. Do '...'
3. See error '...'
...

Contributor guide

Open the contributing guide

Research direction

Start with the Boost UI deal proposals view and the validation path represented by logs/log.go:40; compare the displayed message with the underlying “actor not found” market-balance error. Check the reported Mac OS X copy-to-clipboard behavior for the client address in the same view. Done means the proposal error and address-copy behavior have an agreed, reproducible outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.