-
Notifications
You must be signed in to change notification settings - Fork 72
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
Stream reset in deal handling after 30 seconds #1850
Comments
Also pinging @ribasushi as Spade is very much affected by this bug when clients have those slow databases as described here (or if they have a slow deal filter, or something else) |
I have been on this issue for a while. I don’t think it is Boost related. The stream vanishes because the client who is proposing the deal is waiting longer then 30 seconds. In this case it is the full node Boost is using to propose the deal running Lotus or Venus who is dropping off I must say that I think that it a good idea to have some flexibility in the timeout setting, however when Boost “behaves” right we are talking milliseconds. Moving to 300 seconds or higher does have some risks with it. |
@RobQuistNL I don't think this is
|
Did your client receive that response? Also, what version are you running? Because I (we) think it might be a deeper level timeout set somewhere to 30s. The responses that take over 30 seconds never make it back to the requester. I also see "err: stream reset" in the debug logs, BUT I do see that Please note that I have seen this happen for 2 out of 2 clients so far; Spade and Julien (TwinQuasar);
|
The code in |
In this case Riba also tested extensively and is 100% sure he does not disconnect the setup connection. I don't see it happening in the code on the surface on my end, so there's likely something deeper. Can you try again with 2 minutes or something? just to test? |
Checklist
Latest release
, 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.Boost component
Boost Version
Describe the Bug
When deals come in and they get handled, this can take > 30 seconds (see #1747)
When that happens, the underlaying stream connection gets killed by something.
Not the deal handler itself.
Logging Information
Repo Steps
Note that upgrading the timeouts here does not help. (I've changed them to 60, and it still happens)
The text was updated successfully, but these errors were encountered: