-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
No basic authentication headers were found #14510
Comments
I am getting same error messages in my instance. |
Same here. Cannot connect with my Android app. Also caldav sync doesnt work. |
So, i wrote a little php script, just to check if basic authentication works on that vhost in this specific configuration with mod_fcgid and php and had no problems on that end. So I guess my webserver is working correctly and handing the authentication data correctly over to Owncloud. I'm now trying to find out where the data gets lost or misinterpreted within Owncloud, so any help here would be much appreciated. |
OC 8.0.4 Same here: Get this error log when trying to start the internal Pictures-App. |
@LukasReschke maybe you have any idea? |
I have the same messages. |
@PVince81 I guess we should log this exception with a different log level - it simply can happen that clients try to access the server without authentication headers - not really an issue. Objections? |
I'm getting that error using definitely the right credentials. There seems to be a problem handing the authentication headers over from the remote.php to sabredav. |
Yes, it is expected that the error appears in some cases due to the way how basic auth works: curl first sends a request, receives 401 that tells what auth method to use, then sends a second request with the credentials. |
But shouldn't clients be able to connect on that second request? Because I've got a lot of clients that are unable to connect since I updated Owncloud to version 8. |
From what I see in the code, it is already logged only on DEBUG level. |
Yes, clients should be able to connect on the second request. If they cannot then it is another issue, or let's say the issue is not about the logged messages, but about the failure to connect on the second try. You are mentioning CardDAV, so possible something specific to the contacts app. |
What do you guys get with curl when doing this: On my 8.0.2 instance both work properly. |
Indeed, that seems to work:
and
I had problems with Apple Contacts and Calendars on the Mac and this CardDAV Plugin for Roundcube (https://github.com/blind-coder/rcmcarddav). I'll update to 8.02 and then I'll look into that again. |
@DeepDiver1975 @PVince81 any reason we log this at all? i'm not sure |
We are logging all exceptions on the webdav interface - great help on debugging/support cases. Some of them are kind of expected exceptions and these are logged in debug mode only. |
Just another data point, I'm seeing the same issue ("No basic authentication headers were found") and it's resulting in the same behaviour (unable to update or edit contacts in Address Book in Mac OS X or iOS). Calendars are working perfectly, this seems to only be affecting Contacts for me. OwnCloud 8.0.2 on CentOS 7, PostgreSQL 9.2.10, Apache 2.4.6, PHP 5.4.16. |
There is nothing wrong in logging these exception -> close For all of you who have explicit error scenarios - please open issues in the corresponding repos - THX a alot |
Also with a bit of luck the Sabre 2.1 upgrade that comes with 8.1 (and the matching calendar/contact) apps might solve some connectivity issues |
Hi there, after upgrading to owncloud 8.1 on my ubuntu-trusty-server (standard installation which comes from official ubuntu repository on opensuse) one month ago, I am not able to see all calendar entries on iOS 8.4. They are there in the web front-end and in the MacOS calendar application, but not on iOS. When I try to update them on my iPhone (by first de-selecting and then re-selecting the specific calendar on which some events are missing), the owncloud log mentions a few of the issues mentioned above:
With the curl command above
I receive a reply with the following xml content:
Any chance how I can do further debugging / solving the problem? I also deleted the CalDav account from my iPhone and added it again - same effect... |
Hi |
I reported your issue to the calendar tracker: owncloud/calendar#894 |
My original problem (reported a few posts above) w.r.t. iOS 8.4 and owncloud 8.0.1 has actually gone after applying a patch as posted on owncloud/calendar#857 |
Hi, I had the same issue, where the sync of my calendar didn't work since upgrading to owncloud 8.
Suggested here: #18194 |
Hey guys,
since I updated my Ubuntu 14.04 php packages on February 18 my Owncloud 8.0 installation throws a lot of basic authentication errors again. I know, this is a well discussed issue and I already had fixed this error a while ago in Owncloud 6 (https://forum.owncloud.org/viewtopic.php?f=26&t=19491) by adding a line to my fcgid.conf.
The Owncloud client has no trouble connecting to the server, but many users complain about their Apple Contacts App not being able to connect anymore and my roundcube carddav plugin is not showing any contacts either. Trying the same URLs in Firefox, I'm getting basic authentication requests and the login works fine, but obviously many other clients and users on my site have problems connecting with their webdav or carddav applications.
Here is one example of thousands of errors like this in my owncloud.log:
Am I the only one having this issue or do you have any idea on how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: