uppy icon indicating copy to clipboard operation
uppy copied to clipboard

shouldRetry in the XHR plugin not called when using the companion

Open ShinichiHezemansCortegs opened this issue 8 months ago • 1 comments

Initial checklist

  • [x] I understand this is a bug report and questions should be posted in the Community Forum
  • [x] 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 avatar Mar 29 '25 13:03 ShinichiHezemansCortegs

#3277 could be related

ShinichiHezemansCortegs avatar Mar 29 '25 13:03 ShinichiHezemansCortegs