-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deals must be manually restarted due to data transfer failures #4731
Comments
Based on some discussion with @Stebalien and @hannahhoward, this is already happening, yet @whyrusleeping reports that the majority of deals he tried needed data transfer to be restarted because the connection was closed from the remote (miner) side. |
Regardless of what's happening here, we should automatically reconnect.
|
I spent some time today digging into this issue with @aarshkshah1992. It seems that:
In order to resolve the issue I think we will need more information about why exactly the connection is being closed. |
We believe the issue was yamux hitting a keepalive timeout. I believe this situation has gotten better since we fixed that bug. |
also: side note: the timeouts on reconnect in graphsync may not be long enough to overcome libp2p's dialing backoff and we may need to increase them. |
also I just realized the note about the disconnection is not resolved when we reconnect -- even if transfer resumes. |
@dirkmc - fair to assume this can be closed with the fixes in markets v1.3? |
Yes I'm closing, thanks Deep |
Edit: The original issue was about protecting connections lest we close them when cleaning up and interrupt a transfer. They should be unprotected when the transfer completes.
Edit: It seems that connections are already protected so the data transfer failures are being caused by a different issue. -@dirkmc
The text was updated successfully, but these errors were encountered: