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

Nextcloud Sabre: No 'Authorization: Basic' header found #1219

Closed
dofl opened this issue Jul 26, 2017 · 6 comments
Closed

Nextcloud Sabre: No 'Authorization: Basic' header found #1219

dofl opened this issue Jul 26, 2017 · 6 comments

Comments

@dofl
Copy link
Contributor

dofl commented Jul 26, 2017

I'm investigating high CPU usage on my server since June without any changes in users, etc. and I found this error in the nextcloud.log.

Something is requesting info, but fails? It's a local process, but I coudn't identify which one. Could it be z-push? Any idea on how to investigate further?

{"reqId":"89Om6aureDzvUg74N/DZ","remoteAddr":"127.0.0.1","app":"caldav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\\Event\\EventEmitter->emit('beforeMethod', Array)\n#3 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/usr\/local\/lib\/owncloud\/apps\/dav\/appinfo\/v1\/caldav.php(88): Sabre\\DAV\\Server->exec()\n#5 \/usr\/local\/lib\/owncloud\/remote.php(165): require_once('\/usr\/local\/lib\/...')\n#6 {main}","File":"\/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2017-07-26 15:07:24","method":"OPTIONS","url":"/cloud/remote.php/caldav/calendars/my@e-mailaddress.com/","user":"--","version":"9.1.5.2"}

{"reqId":"Q0XPvE/CalvkstD2wCi/","remoteAddr":"127.0.0.1","app":"carddav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\\Event\\EventEmitter->emit('beforeMethod', Array)\n#3 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/usr\/local\/lib\/owncloud\/apps\/dav\/appinfo\/v1\/carddav.php(88): Sabre\\DAV\\Server->exec()\n#5 \/usr\/local\/lib\/owncloud\/remote.php(165): require_once('\/usr\/local\/lib\/...')\n#6 {main}","File":"\/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2017-07-26 15:07:25","method":"OPTIONS","url":"/cloud/remote.php/carddav/addressbooks/my@e-mailaddress.com/","user":"--","version":"9.1.5.2"}

{"reqId":"7IyXufceKW29+3NUcclr","remoteAddr":"127.0.0.1","app":"caldav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\\Event\\EventEmitter->emit('beforeMethod', Array)\n#3 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/usr\/local\/lib\/owncloud\/apps\/dav\/appinfo\/v1\/caldav.php(88): Sabre\\DAV\\Server->exec()\n#5 \/usr\/local\/lib\/owncloud\/remote.php(165): require_once('\/usr\/local\/lib\/...')\n#6 {main}","File":"\/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2017-07-26 15:08:11","method":"OPTIONS","url":"/cloud/remote.php/caldav/calendars/my@e-mailaddress.com/","user":"--","version":"9.1.5.2"}

{"reqId":"Ol6p2l7q24j19kiHFdvD","remoteAddr":"127.0.0.1","app":"carddav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\\Event\\EventEmitter->emit('beforeMethod', Array)\n#3 \/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/usr\/local\/lib\/owncloud\/apps\/dav\/appinfo\/v1\/carddav.php(88): Sabre\\DAV\\Server->exec()\n#5 \/usr\/local\/lib\/owncloud\/remote.php(165): require_once('\/usr\/local\/lib\/...')\n#6 {main}","File":"\/usr\/local\/lib\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2017-07-26 15:08:12","method":"OPTIONS","url":"/cloud/remote.php/carddav/addressbooks/my@e-mailaddress.com/","user":"--","version":"9.1.5.2"}

@dofl dofl changed the title Nextcloud Sabre error Nextcloud Sabre: No 'Authorization: Basic' header found Jul 26, 2017
@yodax
Copy link
Contributor

yodax commented Jul 26, 2017

Which version of NextCloud are you on? The one from master?

@dofl
Copy link
Contributor Author

dofl commented Jul 26, 2017

Yes, Nextcloud 10.0.5 (stable)

@dofl
Copy link
Contributor Author

dofl commented Jul 26, 2017

I found some similar problems in this topic: https://help.nextcloud.com/t/after-11-upgrade-sabre-web-dav-error-in-log/7361

It could be or Davdroid again, or Rainloop. But it's error's are with the sync of carddav as well as the caldav.

@yodax
Copy link
Contributor

yodax commented Jul 26, 2017

Master is on version 12, you could try that. It does seem like an external not sending the correct authentication. I saw something similar on the forum a while back.

@dofl
Copy link
Contributor Author

dofl commented Jul 26, 2017

I'm only updating based on releases, I thought you meant the latest release. My fault.
It's annoying as logs are unusable because of the recurring error and there is no information on what it could be.

@yodax
Copy link
Contributor

yodax commented Jul 26, 2017

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

No branches or pull requests

3 participants