Backup to OneDrive is failing with "502" message - Help!

For some reason, my backup to OneDrive is failing at only one computer. I am attempting to backup 500GB of data which is larger than I have at some of my other computers. The Duplicacy log shows the following:

Running backup command from C:\ProgramData/.duplicacy-web/repositories/localhost/1 to back up D:/
Options: [-log backup -storage OneDrive -threads 4 -limit-rate 2000 -stats]
2021-08-23 07:14:28.105 INFO REPOSITORY_SET Repository set to D:/
2021-08-23 07:14:28.106 INFO STORAGE_SET Storage set to odb://Duplicacy/Server
2021-08-23 07:14:32.214 INFO BACKUP_START No previous backup found
2021-08-23 07:14:32.214 INFO BACKUP_INDEXING Indexing D:\
2021-08-23 07:14:32.214 INFO SNAPSHOT_FILTER Parsing filter file \\?\C:\ProgramData\.duplicacy-web\repositories\localhost\1\.duplicacy\filters
2021-08-23 07:14:32.215 INFO SNAPSHOT_FILTER Loaded 21 include/exclude pattern(s)
2021-08-23 07:14:54.839 INFO INCOMPLETE_LOAD Incomplete snapshot loaded from C:\ProgramData\.duplicacy-web\repositories\localhost\1/.duplicacy/incomplete
2021-08-23 07:14:54.839 INFO BACKUP_LIST Listing all chunks
2021-08-23 07:17:30.932 INFO FILE_SKIP Skipped 0 files from previous incomplete backup
2021-08-23 07:17:30.941 INFO BACKUP_THREADS Use 4 uploading threads
2021-08-23 07:51:22.024 INFO UPLOAD_KEEPALIVE Skip chunk cache to keep connection alive
2021-08-23 08:22:55.291 INFO ONEDRIVE_RETRY Response code: 502; retry after 820 milliseconds
2021-08-23 08:24:29.405 INFO ONEDRIVE_RETRY Response code: 502; retry after 590 milliseconds
2021-08-23 09:45:07.034 INFO ONEDRIVE_RETRY Response code: 502; retry after 883 milliseconds

Why would it be returning a 502 error from only one computer? I verified I can login to my OneDrive account at this computer without an issue. I don’t see anything in my OneDrive account indicating an issue.

You can add global flag -d to get more verbose log. And reduce number of threads to 1, to rile out OneDrive stringiness.

Thank you. It eventually finished with threads at 4. However I changed it to 1 which seems to help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.