Troubleshooting Common BackWPup Dropbox Connection and Upload Errors
Content
Why Do BackWPup Dropbox Backups Fail?
If your WordPress backups to Dropbox have suddenly stopped working, you're not alone. Based on community reports, issues often arise after a plugin update, a change in Dropbox's API, or due to server configuration problems. The errors can range from authentication failures and cryptic PHP compatibility warnings to upload timeouts and incorrect offset errors.
Common Dropbox Backup Errors and Their Solutions
1. PHP Compatibility Errors (e.g., GuzzleHttp/RequestInterface)
Error Example: ERROR: Declaration of GuzzleHttpPsr7Request::getRequestTarget() must be compatible with PsrHttpMessageRequestInterface::getRequestTarget(): string
Why it happens: This is typically caused by a conflict between the version of the Guzzle HTTP library bundled with BackWPup and another version loaded by your theme or another plugin. It's a PHP fatal error that can prevent backups from starting or even break the plugin's settings page.
How to fix it:
- Identify the conflicting plugin by temporarily disabling all other plugins and switching to a default WordPress theme (like Twenty Twenty-Four). Then, reactivate them one by one until the error returns.
- Contact the developer of the conflicting plugin or theme and inform them of the library conflict.
- As a last resort, your web host may be able to adjust the PHP configuration to suppress such errors, but resolving the conflict is the preferred solution.
2. Authentication "Incorrect_Offset" Error
Error Example: Dropbox API: incorrect_offset/
Why it happens: This error occurs during the chunked upload process to Dropbox. The plugin expects to resume an upload at a specific byte offset, but Dropbox reports that this offset is incorrect. This can be caused by a temporary network glitch, a server-side issue at Dropbox, or a problem with the upload session.
How to fix it:
- Increase Retry Attempts: Navigate to BackWPup → Settings → Job and find the Maximum number of retries for job steps setting. Increase this value to 4 or 5 to give the plugin more attempts to complete the upload.
- Re-authenticate Dropbox: Disconnect and then reconnect your Dropbox account. Go to BackWPup → Settings → Cloud Storage → Dropbox, click "Disconnect," save settings, and then go through the authentication process again.
- Check the Folder: Note that the default backup folder changed from
BackWPuptoInpsydeBackWPup. Ensure your processes are looking for files in the correct location.
3. cURL Timeout and Connection Errors
Error Examples:
cURL error 28: Operation timed out after 5000 millisecondsFailed to connect to api.dropboxapi.com port 443: Connection refusedcURL error 35: error:0D07209B:asn1 encoding routines:ASN1_get_object:too long
Why it happens: These are network-level errors. Error 28 means the connection to Dropbox's servers took too long. Error 35 is often related to SSL/TLS handshake issues. A connection refusal on port 443 typically indicates a firewall blocking outgoing traffic from your web server.
How to fix it:
- Contact Your Hosting Provider: This is the most crucial step for these errors. Provide them with the exact error message and ask:
- If their firewall is blocking outgoing connections to
api.dropboxapi.comandcontent.dropboxapi.comon port 443. - To check for and resolve any network routing issues between their server and Dropbox.
- To verify that your server's cURL and SSL libraries are up to date.
- If their firewall is blocking outgoing connections to
- Temporarily Disable Security Software: If you have a WordPress security plugin with a firewall (like Wordfence), try disabling it temporarily to see if it is overly restrictive.
4. "Aborted by User" or "Could not look up the file session"
Error Example: WARNING: Could not look up the file session. WARNING: Job restarts due to inactivity for more than 5 minutes. ERROR: Aborted by user!
Why it happens: The backup job is stalling during the upload process. If no progress is made for over 5 minutes, the plugin assumes the job has hung and aborts it to avoid wasting server resources. This is often a symptom of the other issues listed above (timeouts, offsets) or slow server performance.
How to fix it:
- Follow the solutions for the specific upload errors (like incorrect_offset or cURL timeouts) that are likely causing the stall.
- Ensure your WordPress site and web server meet the plugin's minimum requirements, particularly for PHP execution time and memory limit.
General Troubleshooting Steps For Any Dropbox Issue
- Always Update: Ensure you are running the latest version of the BackWPup plugin. The 'BackWPup – WordPress Backup & Restore Plugin' team frequently releases updates to address compatibility issues with services like Dropbox.
- Re-authenticate After Updates: Major plugin updates sometimes require you to disconnect and then reconnect your Dropbox account to refresh the authentication tokens.
- Enable Debug Logging: For vague errors, enable detailed logs. Go to BackWPup → Settings → Logs, set the Logging Level to Debug, run the job again, and inspect the log file for more precise error information.
Persistent problems are often related to server configuration or hosting environment restrictions. Working with your hosting provider's support team is essential for resolving network and firewall-related errors.
Related Support Threads Support
-
Dropbox Authentication Fails After Updating to Plugin Version 5.2https://wordpress.org/support/topic/dropbox-authentication-fails-after-updating-to-plugin-version-5-2/
-
Dropbox API: (403) Invalid response.https://wordpress.org/support/topic/dropbox-api-403-invalid-response/
-
Issue with Dropbox backuphttps://wordpress.org/support/topic/issue-with-dropbox-backup/
-
Dropbox upload fails with cURL timeout errorhttps://wordpress.org/support/topic/dropbox-upload-fails-with-curl-timeout-error/
-
Problem: send backup file to Dropboxhttps://wordpress.org/support/topic/problem-send-backup-file-to-dropbox/
-
Backup not backing up to dropboxhttps://wordpress.org/support/topic/backup-not-backing-up-to-dropbox/
-
Sudden Backup error on 6 sites: Dropbox API: cURL error 28: Operation timed outhttps://wordpress.org/support/topic/sudden-backup-error-on-6-sites-dropbox-api-curl-error-28-operation-timed-out/
-
Upload to Dropbox not workinghttps://wordpress.org/support/topic/upload-to-dropbox-not-working/
-
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9https://wordpress.org/support/topic/important-update-your-dropbox-authentification-after-release-3-6-9-3/
-
ERROR: Uploaded file size and local file size don’t matchhttps://wordpress.org/support/topic/error-uploaded-file-size-and-local-file-size-dont-match-8/
-
Doesn’t work with Dropbox anymorehttps://wordpress.org/support/topic/doesnt-work-with-dropbox-anymore/
-
Dropbox API: cURL error 28https://wordpress.org/support/topic/dropbox-api-curl-error-28/
-
v5 Dropbox Connectionhttps://wordpress.org/support/topic/v5-dropbox-connection/
-
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9https://wordpress.org/support/topic/important-update-your-dropbox-authentification-after-release-3-6-9-4/
-
Dropbox backup fails with PHP fatal errorhttps://wordpress.org/support/topic/dropbox-backup-fails-with-php-fatal-error/
-
Back up to drop box failedhttps://wordpress.org/support/topic/back-up-to-drop-box-failed/
-
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9https://wordpress.org/support/topic/important-update-your-dropbox-authentification-after-release-3-6-9-2/
-
Multiple BackWPup backups failing to Dropboxhttps://wordpress.org/support/topic/multiple-backwpup-backups-failing-to-dropbox/
-
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9https://wordpress.org/support/topic/important-update-your-dropbox-authentification-after-release-3-6-9/
-
Getting error backing up to dropbo: WARNING: Could not look up the file session.https://wordpress.org/support/topic/getting-error-backing-up-to-dropbo-warning-could-not-look-up-the-file-session/
-
Error when Uploading to Dropboxhttps://wordpress.org/support/topic/error-when-uploading-to-dropbox/
-
Plugin suddenly not working anymorehttps://wordpress.org/support/topic/plugin-suddenly-not-working-anymore-3/
-
Backuphttps://wordpress.org/support/topic/backup-62/
-
Dropbox Authentication Fails On Godaddyhttps://wordpress.org/support/topic/dropbox-authentication-fails-on-godaddy/
-
Dropbox error – WpHttpClient.php: Dropbox API: cURL error 28https://wordpress.org/support/topic/dropbox-error-wphttpclient-php-dropbox-api-curl-error-28/
-
Dropbox – Will Not Upload – Tried It Allhttps://wordpress.org/support/topic/dropbox-will-not-upload-tried-it-all/
-
Error backup to Dropbox?https://wordpress.org/support/topic/error-backup-to-dropbox/
-
Failed to connect to api.dropboxapi.com port 443:https://wordpress.org/support/topic/failed-to-connect-to-api-dropboxapi-com-port-443/
-
Problem with Dropboxhttps://wordpress.org/support/topic/problem-with-dropbox/
-
Double backup with Dropboxhttps://wordpress.org/support/topic/double-backup-with-dropbox/
-
Dropbox backups Failing on multiple siteshttps://wordpress.org/support/topic/dropbox-backups-failing-on-multiple-sites/
-
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9https://wordpress.org/support/topic/important-update-your-dropbox-authentification-after-release-3-6-9-5/
-
[ERROR] BackWPup: My Bkacuhttps://wordpress.org/support/topic/error-backwpup-my-bkacu/
-
Dropbox API: cURL error 28: Operation timed outhttps://wordpress.org/support/topic/dropbox-api-curl-error-28-operation-timed-out/
-
Dropbox folder – InpsydeBackWPup instead of BackWPuphttps://wordpress.org/support/topic/dropbox-inpsydebackwpup-instead-of-backwpup/
-
Dropbox API: (55) SSL_write() returned SYSCALL, errno = 32https://wordpress.org/support/topic/dropbox-api-55-ssl_write-returned-syscall-errno-32-2/
-
Token Expiredhttps://wordpress.org/support/topic/token-expired-2/
-
Plötzlich alle Backups fehlerhafthttps://wordpress.org/support/topic/plotzlich-alle-backups-fehlerhaft/
-
Dropbox sync stopped workinghttps://wordpress.org/support/topic/dropbox-sync-stopped-working/
-
New Dropbox Authentication: incorrect_offset errorhttps://wordpress.org/support/topic/new-dropbox-authentication-incorrect_offset-error/
-
GuzzleHttp: invalid grant – refresh token has expiredhttps://wordpress.org/support/topic/guzzlehttp-invalid-grant-refresh-token-has-expired/