nextcloud-libraries / nextcloud-libraries/nextcloud-axios

CancelableRequests timeout too early

Open
#579 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9
Forks
5
Avg merge
3m
Merged PRs (30d)
7

Description

I downgraded to 2.1.0 of this lib and now it works again.

Seems the problem is from CancelableRequests:
https://github.com/nextcloud/spreed/blob/516d50836a333b146e70c2f8ab1abe6564fa8328/src/store/messagesStore.js#L850

Originally posted by @nickvergessen in https://github.com/nextcloud/nextcloud-axios/issues/552#issuecomment-1419246454

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with CancelableRequests and the linked spreed/src/store/messagesStore.js line 850, then compare behavior with version 2.1.0, where the reporter says it worked again. Reproduce the request timeout and trace the cancellation timing; done means requests are no longer canceled earlier than expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.