Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDAV did not work #10132

Closed
juergeneberhardt opened this issue Aug 4, 2014 · 6 comments
Closed

WebDAV did not work #10132

juergeneberhardt opened this issue Aug 4, 2014 · 6 comments
Labels

Comments

@juergeneberhardt
Copy link

Steps to reproduce

  1. I added a network drive on Windows 7 via davs
  2. I opened it and copied some files to/from it
  3. I tried to edit a .docx file with Word

Actual behaviour

A login field appears at Word and in most case Word freeze. When it do not freeze and I type in the login information it works. I also can copy files to/from this folder. But there are also some problems with syncing.

Server configuration

Operating system: Debian wheezy

Web server: Apache 2.2.22

Database: mysql Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (x86_64) using readline 6.2

PHP version: PHP 5.4.4-14+deb7u12 (cli) (built: Jun 30 2014 13:15:11)

ownCloud version: owmCloud 7RC1

Updated from an older ownCloud or fresh install: fresh install

List of activated apps: activity, admin_dependencies_chk, bookmarks, calendar, contacts, documents, files, files_encryption, files_pdfviewer, files_sharing, files_trashbin, files_version, gallery, search_licene, rainloop, tasl_enhanced, ocDashboard

The content of config/config.php:

'ocad8ef30fd4', 'passwordsalt' => 'xxxxxxxxxxxxxx', 'trusted_domains' => array ( 0 => 'www.apernet.de', 1 => 'owncloud.apernet.de', ), 'datadirectory' => '/var/www/owncloud/data', 'dbtype' => 'mysql', 'version' => '7.0.1.0', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_root', 'dbpassword' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxx', 'installed' => true, 'loglevel' => '0', 'mail_smtpmode' => 'php', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/owncloud/apps', 'url' => '/apps', 'writable' => true, ), 1 => array ( 'path' => '/var/www/owncloud/apps2', 'url' => '/apps2', 'writable' => true, ), ), 'forcessl' => false, 'theme' => '', 'maintenance' => false, 'mail_smtpauthtype' => 'PLAIN', 'mail_smtpport' => '587', 'mail_smtpauth' => true, 'mail_smtpsecure' => 'tls', 'xframe_restriction' => false, 'logtimezone' => 'Europe/Berlin', 'mail_from_address' => 'administrator', 'mail_domain' => 'apernet.de', 'default_language' => 'de', 'allow_user_to_change_display_name' => false, 'defaultapp' => 'ocDashboard', 'updatechecker' => true, 'check_for_working_webdav' => true, 'check_for_working_htaccess' => true, 'preview_libreoffice_path' => '/usr/bin/libreoffice', ); **Are you using external storage, if yes which one:** none **Are you using encryption:** yes ### Client configuration **Browser:** Firefox 31, IE11, Chrome 36 **Operating system:** Windows 7 ### Logs #### Web server error log ``` Insert your webserver log here ``` #### ownCloud log (data/owncloud.log) {"reqId":"53def39b53fc6","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:44:43+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/"} {"reqId":"53def3a14dabd","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:44:49+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/"} {"reqId":"53def5a3bd343","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:53:23+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/"} {"reqId":"53def5ab665b3","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/WINWORD.EXE could not be located","level":0,"time":"2014-08-04T04:53:31+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/WINWORD.EXE"} {"reqId":"53def5ab86310","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/jre.exe could not be located","level":0,"time":"2014-08-04T04:53:31+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/jre.exe"} {"reqId":"53def5aba7add","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/jrew.exe could not be located","level":0,"time":"2014-08-04T04:53:31+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/jrew.exe"} {"reqId":"53def5abf18d8","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/java.exe could not be located","level":0,"time":"2014-08-04T04:53:31+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/java.exe"} {"reqId":"53def5ac3a0f1","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/javaw.exe could not be located","level":0,"time":"2014-08-04T04:53:32+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/javaw.exe"} {"reqId":"53def5af49755","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:53:35+02:00","method":"OPTIONS","url":"\/owncloud\/remote.php\/webdav\/documents\/"} {"reqId":"53def5b1398e5","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/Language could not be located","level":0,"time":"2014-08-04T04:53:37+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/Language"} {"reqId":"53def5b18af93","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/.htm could not be located","level":0,"time":"2014-08-04T04:53:37+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/.htm"} {"reqId":"53def5efd63cb","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:54:39+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/"} {"reqId":"53def61a37e5b","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/.DLL could not be located","level":0,"time":"2014-08-04T04:55:22+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/.DLL"} {"reqId":"53def61ea3351","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/WINWORD.EXE could not be located","level":0,"time":"2014-08-04T04:55:26+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/WINWORD.EXE"} {"reqId":"53def61edc4db","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/jre.exe could not be located","level":0,"time":"2014-08-04T04:55:26+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/jre.exe"} {"reqId":"53def61ef3136","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/jrew.exe could not be located","level":0,"time":"2014-08-04T04:55:26+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/jrew.exe"} {"reqId":"53def61f37813","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/java.exe could not be located","level":0,"time":"2014-08-04T04:55:27+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/java.exe"} {"reqId":"53def61f731bf","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/javaw.exe could not be located","level":0,"time":"2014-08-04T04:55:27+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/javaw.exe"} {"reqId":"53def6202c75d","app":"webdav","message":"Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-08-04T04:55:28+02:00","method":"OPTIONS","url":"\/owncloud\/remote.php\/webdav\/documents\/"} {"reqId":"53def6214f649","app":"webdav","message":"Sabre\DAV\Exception\NotFound: File with name documents\/Language could not be located","level":0,"time":"2014-08-04T04:55:29+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/documents\/Language"}
@karlitschek karlitschek added the Bug label Aug 4, 2014
@RuudschMaHinda
Copy link

Do you by any chance have a privately signed SSL-Certifcate and are connecting webdav via https?
If so, try it without the https and use http instead. It's a windows issue with privately issued certificates.
If not, I am not experienced enough to handle that question.

@juergeneberhardt
Copy link
Author

Hi. No it is not a selfsigned SSL-Certificate but a Class1 Cert by StartSSL. The error Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers also occured before connecting from Windows

@RuudschMaHinda
Copy link

Hmm, I really do not know too much about this. But you could try to connect and open the file with WEBDAV using the same link in a different operating system.

Just put ubuntu or something different on a USB/CD and if there is no problem with the exact same link, it is windows/office that doesn't like your WEBDAV. If you get the same error logs in owncloud, it is probably some error/bug/glitch in owncloud.

Also try it with http and https

@DeepDiver1975
Copy link
Member

@mmattel
Copy link
Contributor

mmattel commented Aug 7, 2014

Just for your info, maybe this helps identfying the issue:

https://github.com/fruux/sabre-dav/pull/458

snip...
The current message text "No basic authentication headers were found" doesn´t give a clear statement what is going on, if there is a problem or not. According to a explanation of the maintainer of SabreDav, this can also be triggered when a client (eg a browser) tries to login and with this first attempt no headers are sent. Then they negotiate and with the second attempt the authentication method negotiated is used.
snip...

This means, server and client can not agree on a common authentication method.

@enoch85
Copy link
Member

enoch85 commented Mar 17, 2015

The problem is with Windows, not with ownCloud. Here is a solution: https://www.en0ch.se/tips-tricks/netdrive/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants