Skip to content

shouldRetry in the XHR plugin not called when using the companion #5702

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

Open
2 tasks done
ShinichiHezemansCortegs opened this issue Mar 29, 2025 · 1 comment
Open
2 tasks done
Labels

Comments

@ShinichiHezemansCortegs

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

To reproduce, have a XHR server that responds with a 403 for example. Upload using OneDrive via a stand alone companion. The companion keeps retrying, and in the client the shouldRetry function is not called.

Expected behavior

When the companion fails to upload, the shouldRetry function should be called

Actual behavior

The companion keeps retrying 10 times with exponential backoff, resulting in the client waiting 20 minutes for the upload to fail.

@ShinichiHezemansCortegs
Copy link
Author

ShinichiHezemansCortegs commented Mar 29, 2025

#3277 could be related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant