WebDav problems in Windows 7/8/10

webdav
nc16
#1

Nextcloud 16.0.1
Ubuntu 18.04.2
nginx 1.16.0
PHP 7.2.19
mysql 5.7.26

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Connect to WebDav folder on file explorer.
  2. Restart Computer.
  3. Try to reconnect get Windows error code 0x80070035.
  4. Reconnect WebDav folder to get access again.

The output of Nextcloud log:

{"reqId":"exTPtnxEpTzIFGRy22by","level":2,"time":"2019-06-14T13:29:07+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"umvHOITS1zT5DNcFj8Pw","level":2,"time":"2019-06-14T13:29:07+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"uJZWrYrMRwZgGpqLVmzN","level":2,"time":"2019-06-14T13:29:08+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"HpNP0K5omCaAVLwOnFaT","level":2,"time":"2019-06-14T13:29:09+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"8n4SbJSqz6jAp06v64wK","level":2,"time":"2019-06-14T13:29:11+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"hYFPoTPkHd182bnlTNBc","level":2,"time":"2019-06-14T13:29:14+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"XZSdeaZRxn29VMp0zn1x","level":2,"time":"2019-06-14T13:29:21+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"0XfDCb3X3Yy2pH31fDs6","level":2,"time":"2019-06-14T13:29:39+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"R2vfLlfX2E86gopPXvYH","level":2,"time":"2019-06-14T13:30:04+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"VsrLMLrJiAkDNy0g5HtB","level":2,"time":"2019-06-14T13:30:29+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"dwEtCFvVUIpBJLKW791p","level":2,"time":"2019-06-14T13:30:54+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"FDf0WcS6ncQ8der5RWRf","level":2,"time":"2019-06-14T13:31:19+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"X8jSTfjanqUWGqHUPsba","level":2,"time":"2019-06-14T13:31:44+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"wJu2RYP02txNhYcj4Rrb","level":2,"time":"2019-06-14T13:32:09+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"FJbWSevxPb2tqxHR6nCT","level":2,"time":"2019-06-14T13:32:35+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"evYQWNoX8MvufCOh5Xuk","level":2,"time":"2019-06-14T13:33:00+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"3TbvyAV71uEMUZGtQsRQ","level":2,"time":"2019-06-14T13:33:25+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"CQwWv4bHVzzgwcL0mmub","level":2,"time":"2019-06-14T13:33:50+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"3herIvUIQTTFbtzI31CM","level":2,"time":"2019-06-14T13:34:15+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"GzLP7OwMyrZhIMwHqbvu","level":2,"time":"2019-06-14T13:34:15+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"IJAxBEM4jByJY0RMWVIW","level":2,"time":"2019-06-14T13:34:40+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"gWsYs87gbzhwHh0JNf64","level":2,"time":"2019-06-14T13:34:40+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"Q3pomoW1L3BXkEYOAihU","level":2,"time":"2019-06-14T13:35:05+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"WT8BXnTHyDXzrXq6sJnF","level":2,"time":"2019-06-14T13:35:06+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"wlhS0VJpSTiPcM8d05GW","level":2,"time":"2019-06-14T13:35:31+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"yEYq3vTISaPRiMFq4isr","level":2,"time":"2019-06-14T13:35:31+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"yJiz0gsTqsPvKByv7qEU","level":2,"time":"2019-06-14T13:35:56+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"FLykmQwSTsnBX34QKZla","level":2,"time":"2019-06-14T13:36:21+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"3BISvIyQVASyknaJXaUe","level":2,"time":"2019-06-14T13:36:46+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"oZbPmmQYJI6k4ivQRqHa","level":2,"time":"2019-06-14T13:37:11+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"gfvl2YYOT7djbvV36YnN","level":2,"time":"2019-06-14T13:37:36+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"ytP8GYpQKwWhjY7iDNAM","level":2,"time":"2019-06-14T14:00:12+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"PC6OncTCgmiBIQr6yCZl","level":2,"time":"2019-06-14T14:00:13+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"j9xPvy4f35iiLf2xfLD8","level":2,"time":"2019-06-14T14:00:14+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"oWVeYMUfv6MaxWJXpa95","level":2,"time":"2019-06-14T14:00:15+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}
{"reqId":"DrGdjE5M7NrP3HqRntDV","level":2,"time":"2019-06-14T14:00:23+00:00","remoteAddr":"186.167.251.228","user":"--","app":"core","method":"PROPFIND","url":"\/","message":"Login failed: 'netexgl4' (Remote IP: '186.167.251.228')","userAgent":"Microsoft-WebDAV-MiniRedir\/10.0.14393","version":"16.0.1.1"}

Output of config.php file in /var/www/html/config:

<?php
$CONFIG = array (
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' =>
  array (
    0 => 'xxx.xxx.xxx',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '16.0.1.1',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  0 => '0.0.0.0',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'instanceid' => 'xxx',
  'updater.secret' => 'xxx',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' =>
  array (
    0 => 'groupfolders',
  ),
  'updater.release.channel' => 'production',
  'mail_from_address' => 'xxx',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'xxx.xxx',
);

The output of nginx system log in /var/log/nginx/nextcloud_https_error.log:

2019/06/14 14:17:41 [error] 1579#1579: *13551 access forbidden by rule, client:$
``
#2

Interesting, thought it was a Windows ‘feature’ that webdav connection didn’t survive restart due to authentication failure. Always have to manually re-establish webdav connection and provide credentials. Hope someone has found a solution for this. I’m sure OP and me are not the only ones.

1 Like
#3

In my case the problem it’s not only related to provide the credentials again, has I would normally do by setting up the Webdav from file explorer, in my case is that every time I restart the machine I need to reconfigure the whole Webdav connection again, so it’s even worst, I have no idea on how to fix this, I’ve used Opendrive has a Webdav service before and I did not got these issues but with my own Nextcloud deployment I do.

#4

We are facing the same problem and symptoms. Also need to reconfigure webdav since Nextcloud 13 at least. Interesting to hear that opendrive does work. Perhaps there is a Nextcloud specific issue here?

#5

I’m not sure if it’s related to Windows or Nextcloud, In some computers with Windows 10 I can just restart and provide credentials, but in some other Windows 10 machines or Windows 7 machines I need to re-establish Webdav connection and provide credentials, Is very annoying, I’m not sure what is causing the issue

#6

Nobody has any idea what can be causing this issue?

#7

ummm… sorry for the maybe bold question: how do you guys connect to your instances?
direct? so please place the connecting-link here (replace credentials)
or via client?

#8

I do https://domain.com/remote.php/webdav/ on file explorer in Windows,
I tried https://nabu.dream.org.il/remote.php/dav/files/user/ but it doesn’t connect at all, I just get.

[core] Warning: Login failed: 'xxx (Remote IP: 'xxx')
OPTIONS /remote.php/dav/files/xxx
from xxx at xx

The results are all different from computer to computer, in some Windows 10 machines it connects and the network shortcut stands there so I can reconnect again later after reboot,
On some other Windows 10 machines I can’t connect, sometimes I can connect but then after reboot I can’t, and the same result happens with Windows 7, the domain has a correct SSL certificate from Let’s Encrypt, I also double checked Webclient is running in services, that basic auth is enabled, I also tried using Cloudfare DNS just to check if it was a DNS problem but it is the same. I haven’t tried connecting from a Linux machine, but, I do need to get connection established from Windows to get a few workstations connected to the cloud server.

#9

did you try to connect with the following link
\\yournextcloud@SSL\DavWWWRoot\remote.php\dav\files\username