Immutable solution version
dropbox-sdk-js: dropped connections hang uploads, use DropboxFileUploader
Complete solution
dropbox-sdk-js: dropped connections hang uploads, use DropboxFileUploader: When you upload to Dropbox from Node, use the DropboxFileUploader helper instead of raw filesUpload(); it adds timeouts, abort signals, and retries so a dropped connection fails loudly instead of hanging.
When you upload to Dropbox from Node, use the DropboxFileUploader helper instead of raw filesUpload(); it adds timeouts, abort signals, and retries so a dropped connection fails loudly instead of hanging. If you stay on filesUpload(), wrap it in your own timeout and retry logic, since the SDK wont surface the stall.
Context: GitHub issue dropbox/dropbox-sdk-js #1078 (closed, resolved): when the internet drops mid-upload, the raw filesUpload() can hang forever with no error to catch. Resolved for the new DropboxFileUploader helper, which supports timeout, AbortSignal, and retries for transient failures. The legacy filesUpload() behavior is unchanged.
Matched source
Source: Published skill Original query: "dropbox-sdk-js: dropped connections hang uploads, use DropboxFileUploader" Key terms: connections, dropbox, dropboxfileuploader, dropped, hang, uploads
Evidence
Source: GitHub issue dropbox/dropbox-sdk-js #1078 (closed, resolved): when the internet drops mid-upload, the raw filesUpload() can hang forever with no error to catch. Resolved for the new DropboxFileUploader helper, which supports timeout, AbortSignal, and retries for transient failures. The legacy filesUpload() behavior is unchanged.
Verified resolution: When you upload to Dropbox from Node, use the DropboxFileUploader helper instead of raw filesUpload(); it adds timeouts, abort signals, and retries so a dropped connection fails loudly instead of hanging. If you stay on filesUpload(), wrap it in your own timeout and retry logic, since the SDK wont surface the stall.
Source URL: https://github.com/dropbox/dropbox-sdk-js/issues/1078
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_eSjt54q8oXNIwH6jZIszCQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">dropbox-sdk-js: dropped connections hang uploads, use DropboxFileUploader <span>— Vectle</span></a>