HTTP-Error: Bad Request on WebDAV connection

Bug #1542335 reported by Kevin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Undecided
Unassigned

Bug Description

Trying to backup to an owncloud instance via WebDAV. All I get is "HTTP-Error: Bad Request".
Apache's server log:
xxx.xxx.xxx.xxx - myuser [05/Feb/2016:14:02:00 +0100] "MKCOL /owncloud/remote.php/webdav HTTP/1.1" 400 1323 "-" "gvfs/1.20.3"

Trying to run deja-dup with "DEJA_DUP_DEBUG=1 deja-dup --backup" gives no output at all on the command line.

Ubuntu 14.04.3 LTS
deja-dup 30.0-0ubuntu4
duplicity 0.6.23-1ubuntu4.2
$gsettings list-recursively org.gnome.DejaDup (REMOVED private information)
org.gnome.DejaDup last-restore '2015-06-14T15:53:13.840345Z'
org.gnome.DejaDup periodic true
org.gnome.DejaDup full-backup-period 90
org.gnome.DejaDup backend 'file'
org.gnome.DejaDup last-run '2016-02-04T01:14:02.102300Z'
org.gnome.DejaDup nag-check '2016-01-17T12:59:29.445700Z'
org.gnome.DejaDup prompt-check 'disabled'
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['/media/REMOVED']
org.gnome.DejaDup exclude-list ['$TRASH', '$DOWNLOAD']
org.gnome.DejaDup last-backup '2016-02-04T01:14:02.102300Z'
org.gnome.DejaDup periodic-period 1
org.gnome.DejaDup delete-after 28
org.gnome.DejaDup.S3 id ''
org.gnome.DejaDup.S3 bucket ''
org.gnome.DejaDup.S3 folder 'kevin-MS-7760'
org.gnome.DejaDup.Rackspace username ''
org.gnome.DejaDup.Rackspace container 'kevin-MS-7760'
org.gnome.DejaDup.File path 'davs://<email address hidden>:443/owncloud/remote.php/webdav'
org.gnome.DejaDup.File short-name ''
org.gnome.DejaDup.File uuid ''
org.gnome.DejaDup.File icon ''
org.gnome.DejaDup.File relpath @ay []
org.gnome.DejaDup.File name ''
org.gnome.DejaDup.File type 'normal'

WebDAV litmus test output:
-> running `basic':
 0. init.................. pass
 1. begin................. pass
 2. options............... WARNING: server does not claim Class 2 compliance
    ...................... pass (with 1 warning)
 3. put_get............... pass
 4. put_get_utf8_segment.. pass
 5. put_no_parent......... pass
 6. mkcol_over_plain...... pass
 7. delete................ pass
 8. delete_null........... pass
 9. delete_fragment....... pass
10. mkcol................. pass
11. mkcol_again........... pass
12. delete_coll........... pass
13. mkcol_no_parent....... pass
14. mkcol_with_body....... pass
15. finish................ pass
<- summary for `basic': of 16 tests run: 16 passed, 0 failed. 100.0%
-> 1 warning was issued.
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... pass
 4. copy_overwrite........ pass
 5. copy_nodestcoll....... pass
 6. copy_cleanup.......... pass
 7. copy_coll............. pass
 8. copy_shallow.......... pass
 9. move.................. pass
10. move_coll............. pass
11. move_cleanup.......... pass
12. finish................ pass
<- summary for `copymove': of 13 tests run: 13 passed, 0 failed. 100.0%
-> running `props':
 0. init.................. pass
 1. begin................. pass
 2. propfind_invalid...... pass
 3. propfind_invalid2..... pass
 4. propfind_d0........... pass
 5. propinit.............. pass
 6. propset............... pass
 7. propget............... pass
 8. propextended.......... pass
 9. propmove.............. pass
10. propget............... pass
11. propdeletes........... pass
12. propget............... pass
13. propreplace........... pass
14. propget............... pass
15. propnullns............ pass
16. propget............... pass
17. prophighunicode....... pass
18. propget............... FAIL (Property {http://example.com/neon/litmus/}high-unicode had value, expected )
19. propremoveset......... pass
20. propget............... pass
21. propsetremove......... pass
22. propget............... pass
23. propvalnspace......... pass
24. propwformed........... pass
25. propinit.............. pass
26. propmanyns............ pass
27. propget............... pass
28. propcleanup........... pass
29. finish................ pass
<- summary for `props': of 30 tests run: 29 passed, 1 failed. 96.7%

Kevin (kkd)
description: updated
Revision history for this message
Kevin (kkd) wrote :

Adding a folder name to the target URL solves the problem! See https://github.com/owncloud/core/issues/22162

Revision history for this message
Michael Terry (mterry) wrote :

Should be fixed in master.

Changed in deja-dup:
status: New → Fix Committed
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.