Not a valid WebDAV URL - 2.0b7(.1)

I use a dreamhost webdav setup and since I upgraded to 2.0b7 (and then 2.0b7.1) I have been unable to "Verify server" for it. I get the message:

"[server] is not a valid WebDAV URL."

I have checked on my officemate's computer and it works in 2.0b6.5.
  • You can generate and view debug output for the Verify Server attempt from the Advanced pane of the Zotero preferences, which might give you a better idea of the problem. Send it in and post the Debug ID here if you'd like us to take a look.
  • The Debug ID is D2056142752.
  • It seems that it's trying to access the Webdav URL without the "/zotero" part but I can't add it myself because it removes that from the end (I guess because it used to add that itself).
  • What happens if you switch http to https (or vice versa) in the sync settings before clicking "Verify Server"?
  • I don't have https on my domain so it just times out if I switch to https.

    If I make a new webdav directory that isn't called zotero and point it at that, it works and asks if I want to create a zotero directory there, so I think the issue is that it's now expecting the parent directory to be webdav, when it hasn't needed it to be so before.
  • Okay, this should be relatively straightforward to figure out. We'll let you know if we need any additional info. Thanks for your report.
  • I get the same problem too.
    I can't connect to our internal webdav repository.
    (Zotero 2.0b7.1) using the same url as before.
  • so I think the issue is that it's now expecting the parent directory to be webdav, when it hasn't needed it to be so before
    Yes, that's probably the case in 2.0b7(.1). For most people this shouldn't be a problem, since they would just enter their WebDAV URL into the field and Zotero would automatically create the 'zotero' subdirectory, but we'll see if we can revert to the previous behavior for those who created a 'zotero' WebDAV directory manually without a parent WebDAV directory.

    In the meantime, if the URL is correct you can skip verification by going to about:config in the Firefox address bar and setting extensions.zotero.sync.storage.verified to true.
  • I had the same problem and this worked. thanks!
  • I got stung by this as well since I'd created the directory and just given WebDAV permission for that directory but not the entire site. It's not a show-stopper, especially with the workaround you just posted, but it caused some alarm on my end during with the 2.0b7 release with the other sync issues that cropped up.

    It would be nice to check to see if the directory already exists and if it is a WebDAV URL before falling back to check that the root directory is WebDAV.
  • The previous behavior is restored in 2.0b7.2, available now.
  • Awesome! Thanks Dan!
  • I'm using 2.0b7.4 and I'm getting the error message:
    http://webdav.[domainname].com/zotero/ is not a valid WebDAV URL

    The /zotero directory *is* a WebDAV directory, but the parent directory is *not* a WebDAV directory.

    I tried the fix posted above (setting extensions.zotero.sync.storage.verified to true) and when I try to sync I get the message:
    Unexpected file upload status 405 in Zotero.Sync.Storage._onUploadComplete()

    Any suggestions?

    - Ben
  • Never mind... apparently there was something wrong on my server end which wasn't allowing uploads. It is working now.

    - Ben
Sign In or Register to comment.