element-hq / element-hq/element-call
Short timeout on HTTP requests and missing error handlers
Open
O-Occasional
S-Minor
T-Defect
X-Needs-Investigation
- Dominant language
- TypeScript
- Stars
- 996
- Forks
- 213
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 55
Description
### Steps to reproduce
I think the default timeout on HTTP requests in the js-sdk is 5 seconds and EC doesn't change it, which does mean that on slow connections, requests fail quite frequently. We also don't have a great deal of error handling, so on slow connections, EC will often fail or soft crash with an error from a failed (aborted) HTTP request.
### Outcome
#### What did you expect?
#### What happened instead?
### Operating system
_No response_
### Browser information
_No response_
### URL for webapp
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.