matrix-org / matrix-org/matrix-hookshot
Unhandled ESOCKETTIMEDOUT in FeedConnection can crash hookshot
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
Found in the logs:
`WARN 17:42:40:700 [Bridge] Connection FeedConnection [snip] failed to handle feed.entry: Error: ESOCKETTIMEDOUT`
Followed by 3 more ESOCKETTIMEDOUT stracktraces and the bridge goes under.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing FeedConnection handling from the logged feed.entry failure and inspect how ESOCKETTIMEDOUT errors propagate to the bridge. Confirm the behavior around repeated timeout failures and identify the existing error-handling or test entry point. Done means timeout failures no longer bring the bridge down and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100