summaryrefslogtreecommitdiff
path: root/doc/bugs/Upload_to_box_very_slow/comment_3_08d3bee435eb0950b3f6ac3b458dda18._comment
blob: f4f9fc666928290b6f7668b91bafba5d11a128cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[[!comment format=mdwn
 username="madalu"
 avatar="http://cdn.libravatar.org/avatar/c00d4aa29fd053f08a2ef35531592914"
 subject="First test"
 date="2017-10-09T14:22:22Z"
 content="""
I'm sorry to hear that Box has a buggy WebDav server. I would gladly shift away from Box except that I have unlimited storage through my university. So thanks for being willing to help debug this problem!

Here is the first test *without* making the change above but with the new debug information. You can see the big gap after 9:04:54 and \"getProps .\". This test actually failed, so it could be that this bug is related to the earlier one I reported. I cannot reproduce this reliably with the latest build using stack. Sometimes git annex uploads the file after a long delay, sometimes it fails.

     % git annex --verbose --debug copy -t box test.txt
     [2017-10-09 09:04:52.566913246] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"git-annex\"]
     [2017-10-09 09:04:52.570241399] process done ExitSuccess
     [2017-10-09 09:04:52.570335828] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
     [2017-10-09 09:04:52.573016175] process done ExitSuccess
     [2017-10-09 09:04:52.57406831] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"cat-file\",\"--batch\"]
     [2017-10-09 09:04:52.57444107] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"cat-file\",\"--batch-check=%(objectname) %(objecttype) %(objectsize)\"]
     [2017-10-09 09:04:52.595364899] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"ls-files\",\"--cached\",\"-z\",\"--\",\"test.txt\"]
     copy test.txt [2017-10-09 09:04:52.609509008] chat: gpg [\"--quiet\",\"--trust-model\",\"always\",\"--decrypt\"]
     [2017-10-09 09:04:52.699246422] process done ExitSuccess
     (checking box...) [2017-10-09 09:04:52.739720313] getProps 90a/d4d/GPGHMACSHA1--53636e5e7a50bc58eae478ddc260bb5abd899d03/GPGHMACSHA1--53636e5e7a50bc58eae478ddc260bb5abd899d03
     (to box...)
     [2017-10-09 09:04:54.134452518] chat: gpg [\"--quiet\",\"--trust-model\",\"always\",\"--batch\",\"--passphrase-fd\",\"19\",\"--symmetric\",\"--force-mdc\",\"--no-textmode\"]
     [2017-10-09 09:04:54.188323123] getProps .
     [2017-10-09 09:05:24.214747951] mkCol .
     [2017-10-09 09:05:24.900782145] process done ExitSuccess

       DAV failure: Status {statusCode = 405, statusMessage = \"Method Not Allowed\"} \"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>\n<d:error xmlns:d=\\"DAV:\\" xmlns:s=\\"http://sabredav.org/ns\\">\n  <s:exception>Sabre_DAV_Exception_MethodNotAllowed</s:exception>\n  <s:message>The resource you tried to create already exists</s:message>\n</d:error>\n\" HTTP request: \"MKCOL\" \"/dav/mystuff/annex/.\"
       failed
     [2017-10-09 09:05:24.903485338] process done ExitSuccess
     [2017-10-09 09:05:24.904346521] process done ExitSuccess
     git-annex: copy: 1 failed

git-annex-version

       git-annex version: 6.20171007-g7613a5e81                                                                                                                      
       build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify ConcurrentOutput TorrentParser Feeds Quvi                  
       dependency versions: aws-0.16 bloomfilter-2.0.1.0 cryptonite-0.21 DAV-1.3.1 feed-0.3.12.0 ghc-8.0.2 http-client-0.5.6.1 persistent-sqlite-2.6.2 torrent-10000.1.1 uuid-1.3.13 yesod-1.4.5
       key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
       remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
       local repository version: 5
       supported repository versions: 3 5 6
       upgrade supported from repository versions: 0 1 2 3 4 5                                                                                                       
       operating system: linux x86_64    

"""]]