Webdav syncing issues (#128501816)
I've set up my own Webdav server and have been happily syncing files with it across multiple machines for a few months now. However, starting a few days ago, file syncing has stopped.
I've started logging, and this looks to be the relevant part:
##BEGIN EXCERPT
(3)(+0000000): WebDAV file sync is not active
(3)(+0000000): Getting WebDAV password
##Obviously, changing info here:
(3)(+0000002): HTTP OPTIONS for https://NAME:********@IPADDRESS/webdav/robert/zotero/
(3)(+0000002): ZFS credentials are already cached
(3)(+0031101): Date: Tue, 08 Mar 2016 03:32:16 GMT
Server: Apache/2.4.7 (Ubuntu)
Allow: POST,OPTIONS,GET,HEAD
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
(3)(+0000000):
(3)(+0000000): ===>200<=== (number)
(3)(+0000006): WebDAV verification failed
##END LOG EXCERPT
Although Zotero is not able to login to my server, I can reach it just fine via a browser. Everything appears to be working normally.
Any suggestions for how to solve this?
I've started logging, and this looks to be the relevant part:
##BEGIN EXCERPT
(3)(+0000000): WebDAV file sync is not active
(3)(+0000000): Getting WebDAV password
##Obviously, changing info here:
(3)(+0000002): HTTP OPTIONS for https://NAME:********@IPADDRESS/webdav/robert/zotero/
(3)(+0000002): ZFS credentials are already cached
(3)(+0031101): Date: Tue, 08 Mar 2016 03:32:16 GMT
Server: Apache/2.4.7 (Ubuntu)
Allow: POST,OPTIONS,GET,HEAD
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
(3)(+0000000):
(3)(+0000000): ===>200<=== (number)
(3)(+0000006): WebDAV verification failed
##END LOG EXCERPT
Although Zotero is not able to login to my server, I can reach it just fine via a browser. Everything appears to be working normally.
Any suggestions for how to solve this?
(1)(+0000225): HTTP GET https://****@****/webdav/robert/zotero/lastsync.txt failed: Unexpected status code 0
Check your WebDAV server logs.
IP - USER [08/Mar/2016:16:03:30 -0700] "PROPFIND /webdav HTTP/1.1" 207 1211 "-" "gvfs/1.20.3"
IP - USER [08/Mar/2016:16:06:30 -0700] "OPTIONS /webdav/robert/zotero/ HTTP/1.1" 200 1883 "-" "Mozilla/5.0 (X11; Linux i686 on x86_64; rv:39.0) Gecko/20100101 Zotero/4.0.28"
IP - USER [08/Mar/2016:16:06:31 -0700] "PROPFIND /webdav/robert/zotero/ HTTP/1.1" 405 648 "-" "Mozilla/5.0 (X11; Linux i686 on x86_64; rv:39.0) Gecko/20100101 Zotero/4.0.28"
(obviously, I'm obfuscating some of the details)
You'll have to take it from here. This is an issue with your server configuration.
http://www.gossamer-threads.com/lists/apache/dev/432617
I at least feel less alone in the struggle. Based on that thread, I decided to add this to my default-ssl.conf file:
DirectoryIndex disabled
Things *seem* to be working. Will let it update for a bit.
I'm guessing I received an Apache update in my OS (Xubuntu) that broke something... somewhere.
For future reference for others, key terms I searched included Apache2, 2.4.7, webdav, propfind, 405, and borked.