You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found #12146
Getting this error constantly filling log on OC 7.0.3 on Ubuntu Linux (I do not even use webdav?)
Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found
@clementhk This workaround didn't work on my side, still get the same message... @DeepDiver1975 If it's not an issue, it's still clogging the log file :/
not sure what this is needed for since I haven't experienced this myself. but if you are going to specify an exact path you can use "location =" so nginx doesn't need to do any regex.
I was also using default buffering and it worked until 8.1.
I'm not so sure if it is related but we have lots of huge files being sync everyday, traffic is maybe 5 TB a day.
Activity
DeepDiver1975 commentedon Nov 13, 2014
But you use yhe desktop client or mobile clients?
Clients first try an unauthotized connect before sending an authorized request.
But this should happen only once.
@dragotin
dragotin commentedon Nov 13, 2014
Is that an external WebDAV mount into the server?
PVince81 commentedon Nov 13, 2014
Are you able to identify which client is causing it, maybe by checking the IP address in the access log ?
ownCloud's web UI doesn't use webdav so it cannot be causing this issue.
PVince81 commentedon Nov 13, 2014
Are people on your instance using server to server sharing ? (http://doc.owncloud.org/server/7.0/admin_manual/configuration/server_to_server_managing.html)
I believe this one works over WebDAV.
Pazu commentedon Nov 16, 2014
I see about thirty of these messages since updating to 7.0.3 yesterday, but they're debug-level messages (at least for me).
Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found
and
Debug carddav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found
I use the Mac OS X desktop sync client 1.7.0.
bitsandnumbers commentedon Jan 31, 2015
I have the same issue. My client is on a Mac, but is doesn't seem to be the culprit, as I also get, as in the message above, an error for carddav.
PVince81 commentedon Oct 8, 2015
Are you still seeing this with 8.1.3 ?
kklem0 commentedon Oct 13, 2015
I started to get his when i upgraded from 8.0 to 8.1.3
DeepDiver1975 commentedon Oct 13, 2015
in debug mode we are logging this exception which indicates no issue at all -> closing
kklem0 commentedon Oct 13, 2015
We fixed it here by disabling nginx fastcgi_buffering.
So
fastcgi_buffering off;in site config file.bitsandnumbers commentedon Oct 14, 2015
@clementhk This workaround didn't work on my side, still get the same message...
@DeepDiver1975 If it's not an issue, it's still clogging the log file :/
bitsandnumbers commentedon Oct 14, 2015
@RealRancor My bad, didn't remember log level was set to 0. Thanks
deviousway commentedon Jan 19, 2016
Tnx fastcgi_buffering off; in
Working for me (Archlinux+Nginx+php-fpm (php7), tyvm
josh4trunks commentedon Jan 19, 2016
@RealRancor I'm not familiar with the implications. I personally have never tweaked that.
deviousway commentedon Jan 19, 2016
you can use separate location for auth just use same settings as for 'php location' location ~ .php(?:$|/)
Make sure ~ .php is BELOW the location /remote.php/webdav
for examle
deviousway commentedon Jan 19, 2016
@RealRancor sorry wrong post
josh4trunks commentedon Jan 19, 2016
not sure what this is needed for since I haven't experienced this myself. but if you are going to specify an exact path you can use "location =" so nginx doesn't need to do any regex.
kklem0 commentedon Jan 19, 2016
I was also using default buffering and it worked until 8.1.
I'm not so sure if it is related but we have lots of huge files being sync everyday, traffic is maybe 5 TB a day.
kklem0 commentedon Jan 20, 2016
@RealRancor it worked up to 8.0, and stopped working on 8.1, and it works again if I downgrade it, so I don't think that one is related.
lock commentedon Aug 6, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.