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

Revert "chore: update go-libp2p" #6306

Merged
merged 1 commit into from
May 20, 2021
Merged

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented May 20, 2021

This reverts commit f7fbaef.

When attempting to do a storage deal against our miner running the latest master, we would see the following error whenever graphsync received a block on the miner:

2021-05-20T19:16:33.361+0300    DEBUG   graphsync_network       network/libp2p_impl.go:149      graphsync net handleNewStream from 12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS
2021-05-20T19:16:33.361+0300    DEBUG   graphsync       responsecache/responsecache.go:75       Received block from network: bafykbzacecwiyfre32qd747cmg6frj5vhvqr6xffwgllvssy75lxab4ncrvnw
2021-05-20T19:16:33.361+0300    DEBUG   graphsync       responsecache/responsecache.go:81       Traverse link bafykbzacecwiyfre32qd747cmg6frj5vhvqr6xffwgllvssy75lxab4ncrvnw on request ID 4
2021-05-20T19:16:33.369+0300    DEBUG   markets loggers/loggers.go:35   data transfer event     {"name": "DataReceivedProgress", "status": "Ongoing", "transfer ID": 1621517646811668388, "channel ID": "12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS-12D3KooWQrZnhRaBecSZYKR815zH65xkg1TvfyPWUGYwehHvVEKB-1621517646811668388", "sent": 0, "received": 30431, "queued": 0, "received count": 1, "total size": 0, "remote peer": "12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS", "event message": "", "channel message": ""}
2021-05-20T19:16:33.374+0300    DEBUG   markets loggers/loggers.go:35   data transfer event     {"name": "DataReceived", "status": "Ongoing", "transfer ID": 1621517646811668388, "channel ID": "12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS-12D3KooWQrZnhRaBecSZYKR815zH65xkg1TvfyPWUGYwehHvVEKB-1621517646811668388", "sent": 0, "received": 30431, "queued": 0, "received count": 1, "total size": 0, "remote peer": "12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS", "event message": "", "channel message": ""}
2021-05-20T19:16:33.538+0300    DEBUG   graphsync_network       network/libp2p_impl.go:143      graphsync net handleNewStream from 12D3KooWHMGTcNbS64arHyaPoUv6NrZi9V63kuVbnE6jbBjm5EUS error: stream reset

After reverting this commit, the problem goes away and the data transfer completes successfully.

@magik6k magik6k merged commit 9ddeb53 into master May 20, 2021
@magik6k magik6k deleted the fix/revert-to-libp2p-v0.12.0 branch May 20, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants