nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.19k stars 4.04k forks source link

https windows webdav issue #11804

Closed tanguy-opendsi closed 5 years ago

tanguy-opendsi commented 6 years ago

Steps to reproduce

  1. Connect with webdavclient http linux work
  2. Connect with windows client http work
  3. Connect with linux https work
  4. Connect with windows client https NOT work

Server configuration

Operating system: Debian9

Web server: : Apache2

Database: Mariadb

PHP version: php 7

Nextcloud version: 14.0.2

Are you using encryption: yes

Are you using an external user-backend, if yes which one: LDAP

Client configuration

Browser: Microsoft-WebDAV-MiniRedir

Operating system: windows 10

Nextcloud log (data/nextcloud.log)

Nextcloud log {"reqId":"LYt0YTJRVOLr6jMMDV8n","level":0,"time":"2018-10-12T15:10:39+00:00","remoteAddr":"10.15.1.37","user":"--","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav","message":{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured","Code":0,"Trace":[{"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"→","args":[{"absoluteUrl":"https:\/\/neolye-share.neolye.com\/remote.php\/webdav","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"autoRequireLogin":true,"__class__":"Sabre\\DAV\\Auth\\Plugin"},"beforeMethod"],[{"absoluteUrl":"https:\/\/neolye-share.neolye.com\/remote.php\/webdav","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":466,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"→","args":["beforeMethod",[{"absoluteUrl":"https:\/\/neolye-share.neolye.com\/remote.php\/webdav","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"→","args":[{"absoluteUrl":"https:\/\/neolye-share.neolye.com\/remote.php\/webdav","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"→","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":168,"CustomMessage":"--"},"userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"14.0.2.2"}

nextcloud-bot commented 6 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/3738 (Webdav), https://github.com/nextcloud/server/issues/2979 (HTTPS-WebDAV mount on Windows failes if NC is installed to webserver-root), https://github.com/nextcloud/server/issues/3523 (Windows 10 WebDav Netdrive ), https://github.com/nextcloud/server/issues/5947 (webDAV PROPFIND), and https://github.com/nextcloud/server/issues/2898 (Upgrade Issue).

Ekleog commented 5 years ago

@tanguy-opendsi You may want to try the procedure I just linked at https://github.com/nextcloud/server/issues/12793

MorrisJobke commented 5 years ago

@tanguy-opendsi You may want to try the procedure I just linked at https://github.com/nextcloud/server/issues/12793

Moved to https://github.com/nextcloud/documentation/issues/1001

skjnldsv commented 5 years ago

What is the status here @tanguy-opendsi ?

tanguy-opendsi commented 5 years ago

hi, I did not check the solution, I'll come back soon, i think this procedure should work : https://github.com/owncloud/documentation/pull/2668#issuecomment-260697742

ghost commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.