Skip to content

Stream reset in deal handling after 30 seconds #1850

@RobQuistNL

Description

@RobQuistNL

Checklist

  • This is not a question or a support request. If you have any boost related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the 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.
  • I did not make any code changes to boost.

Boost component

  • boost daemon - storage providers
  • boost client
  • boost UI
  • boost data-transfer
  • boost index-provider
  • Other

Boost Version

boostd v2.1.1

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

no

Repo Steps

  • Add a sleep of > 30 seconds in your deal filter handling.
  • Make a deal
  • See that you get a stream reset on the client
  • See that once your provider succeeds, it shows an err: stream reset on closing it too (here)

Note that upgrading the timeouts here does not help. (I've changed them to 60, and it still happens)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions