frachop / hubic-backup

hubic backup command line tool
Other
56 stars 9 forks source link

Upload process stopped before end #16

Closed plup closed 8 years ago

plup commented 8 years ago

Hi ! I just started to use this app. After few tests, I launch my full backup and I my backup stops often saying :

void CSynchronizer::run() DONE [13:06:15.702I] ------ Summary ------ [13:06:15.702I] 1 uptodate file(s) [13:06:15.702I] 0 file(s) uploading [13:06:15.702I] 10 file(s) uploaded [13:06:15.702I] 60.35 Mo (63276491 bytes) uploaded [13:06:15.702I] 0 deleted

But my backup if definetly not done.

frachop commented 8 years ago

Hi, Could you tell me more about the command line, your system ? Paste the firsts log lines (starting with "[] with settings :") [you can hide your login]. And could you check some lines before, i think there is an error line (format [13:06:XX.XXE]XXX)

plup commented 8 years ago

You will find here the complete log. But without login, tokens and the complete listing of my home :) [log.txt]

I didn't see any errors. It seems that the process just considers that every thing is done. Hope it helps you !

frachop commented 8 years ago

So, line 5254:

...
[13:43:21.302I] 0 deleted
[13:43:21.583T]  46% [ 2161104 / 4623847 ] uploaded (16372)
[13:43:21.618T]  62% [ 3274400 / 5237887 ] uploaded (16372)
[13:43:21.914T]  62% [ 3290772 / 5237887 ] uploaded (16372)
[13:43:22.014E] virtual bool CRemoteMd5Process::process(CAsset*) bad response code : 408 [https://lb1.hubic.ovh.net/v1/AUTH_0008c72cd0a75450ad8e4a29e8f45fde/default/backup/devel/ubiquity/src/test/test1]
[13:43:22.015I] Aborting all process
[13:43:22.015D] Remote MD5 reader processes done.
[13:43:22.019D] void CBackupStatusUpdater::run() DONE
[13:43:22.098T]  47% [ 2177476 / 4623847 ] uploaded (16372)
[13:43:22.480T]  47% [ 2193848 / 4623847 ] uploaded (16372)
...

Hubic returns a 408 (Request time out) ... I think it's a connexion problem. May be i can add a retry count in case of 408 response code. What do you think ?

plup commented 8 years ago

Ah yeah. I didn't see that. Probalby my grep option wasn't good. I'm a digital nomad. So, indeed, my connection is not always good. A retry should be fine !

Thanks for helping me with this debug.