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

error messages in webserver log #14807

Closed
mcnesium opened this issue Mar 11, 2015 · 11 comments
Closed

error messages in webserver log #14807

mcnesium opened this issue Mar 11, 2015 · 11 comments

Comments

@mcnesium
Copy link

My webserver log at /var/log/nginx/error.log is full of those messages:

2015/03/11 17:06:53 [error] 2581#0: *46493 FastCGI sent in stderr: "PHP message: {"reqId":"f2f260af9444d27fa097237c4c10e570","remoteAddr":"5.28.69.71","app":"webdav","message":"Exception: {\"Message\":\"No basic authentication headers were found\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(126): Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(106): OC_Connector_Sabre_Auth->auth(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/Sabre\\\/DAV\\\/Auth\\\/Plugin.php(108): OC_Connector_Sabre_Auth->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#3 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod('PROPFIND', 'mcobst\\\/music')\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/Sabre\\\/DAV\\\/Server.php(433): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/" while reading response header from upstream, client: 5.28.69.71, server: xxxx, request: "PROPFIND /owncloud/remote.php/webdav/mcobst/music HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxx"

There is one line for every sync of any folder I have set up to be synced in my notebook client. What is this about?

@karlitschek
Copy link
Contributor

@icewind1991 what do you think?

@DeepDiver1975
Copy link
Member

The client does connect unauthenticated - but afaik not for every folder.

I will look into this.

@DeepDiver1975 DeepDiver1975 self-assigned this Mar 12, 2015
@DeepDiver1975 DeepDiver1975 added this to the 8.1-current milestone Mar 12, 2015
@DeepDiver1975
Copy link
Member

{
"reqId":"f2f260af9444d27fa097237c4c10e570",
"remoteAddr":"5.28.69.71",
"app":"webdav",
"message":"Exception: {\"Message\":\"No basic authentication headers were found\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(126): Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(106): OC_Connector_Sabre_Auth->auth(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/Sabre\\\/DAV\\\/Auth\\\/Plugin.php(108): OC_Connector_Sabre_Auth->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')\\n#3 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod('PROPFIND', 'mcobst\\\/music')\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/Sabre\\\/DAV\\\/Server.php(433): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/" while reading response header from upstream, client: 5.28.69.71, server: xxxx, 
request: "PROPFIND /owncloud/remote.php/webdav/mcobst/music HTTP/1.1", 
upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", 
host: "xxxx"

@DeepDiver1975
Copy link
Member

@mcnesium which client version are you running? THX

@mcnesium
Copy link
Author

It's 1.6.4 build 1195 (waiting for 1.8 desperately)

@dragotin
Copy link
Contributor

@mcnesium pls try with 1.8.0 beta2, its available from owncloud.org download page section "testing"

@mcnesium
Copy link
Author

ran this with 1.8 release as well as this nightly and there are stillt he same messages:

2015/03/25 09:32:55 [error] 2602#0: *56031 FastCGI sent in stderr: "PHP message: {"reqId":"93dc17739394e0d73f4a4c092ef69e53","remoteAddr":"158.181.82.151","app":"calendar","message":"OC_Share_Backend_Event::formatItems, Missing event: Brunch","level":0,"time":"2015-03-25T08:32:55+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/calendar\/ajax\/events.php?calendar_id=shared_events&start=1427065200&end=1427666400&_=1427228569935"}" while reading response header from upstream, client: 158.181.82.151, server: xxxx, request: "GET /owncloud/index.php/apps/calendar/ajax/events.php?calendar_id=shared_events&start=1427065200&end=1427666400&_=1427228569935 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxx", referrer: "https://xxxx/owncloud/index.php/apps/calendar/"

@karlitschek
Copy link
Contributor

@LukasReschke so isn´t this as it is supposed to work? First request is unauthenticated?

@LukasReschke
Copy link
Member

The ownCloud client should actually behave properly here, anyways properly behaving DAV clients should have this error reported once and not really more often. (see also #14510 (comment))

That said, I am confused that the error in #14807 (comment) seems completely unrelated. @mcnesium Could you double check? Thanks a lot!

@ghost ghost modified the milestones: 8.2-next, 8.1-current Jun 14, 2015
@PVince81
Copy link
Contributor

Please try again with 8.0.6 or 8.1.1 and sync client 1.8.4.

If you're still having these problems, feel free to reopen.

@mcnesium
Copy link
Author

No more log messages, thank you :)

@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants