HTTP\\\/1.1 401 No 'Authorization: Basic' header found

Hallo,

for 2 Week I've install oc 9.16. on Raspberry. All thinks working fine, but since 4 days there is not date exchange (sync) between both Calendar (KDE Kalender and OC Kalender 1.4.2 /Kontakt 1.5.1 (calDAV, cardDAV). I've read a lot of papers and resolves but I don't understand the most things; and I've got no solution for my problem.
Sometimes I get a file "htaccesstest.txt" - whats this? I delete it!

Repeat: wevDAV sysnc is workung
calDAC and cardDAV not, but it had worked

Thanks for any help :smile:

What is do to!


Expected behaviour

Tell us what should happen

Data sync with KDE Calendar und OC Calendar

Actual behaviour

Tell us what happens instead
nothing - now

Server configuration

Operating system:
debian on raspberry - (Raspbian)
Web server:
apache 2,41
Database:
mySQL
PHP version:

ownCloud version: (see ownCloud admin page)
9.1.6
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
raspberry repository

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 

Apache/2.4.10 (Raspbian) Server at klara100cloud Port 443

paste the results into https://gist.github.com/ and puth the link here
????????????????
==> Instantly share code, notes, and snippets.

**The content of config/config.php:**

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
Preformatted text{
"system": {
"log_rotate_size": 1048576,
"updatechecker": false,
"instanceid": "ochxbotv3gtf",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"klara100cloud"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "https:\/\/klara100cloud\/owncloud",
"dbtype": "mysql",
"version": "9.1.6.2",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"appstoreurl": "https:\/\/marketplace.owncloud.com\/api\/v0",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_from_address": "rb",
"mail_domain": "knoepfle.de",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtphost": "mail.shuttle.de",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "143",
"loglevel": 0
indent preformatted text by 4 spaces

List of activated apps:
sudo -u www-data php occ app:list
Enabled:
- activity: 2.3.2
- calendar: 1.4.2
- comments: 0.3.0
- configreport: 0.1.1
- contacts: 1.5.1
- dav: 0.2.7
- documents: 0.13.1
- federatedfilesharing: 0.3.0
- federation: 0.1.0
- files: 1.5.1
- files_antivirus: 0.9.0.0
- files_pdfviewer: 0.8.1
- files_sharing: 0.10.0
- files_texteditor: 2.1
- files_trashbin: 0.9.0
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 15.0.0
- notifications: 0.3.0
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- tasks: 0.9.3
- templateeditor: 0.1
- updatenotification: 0.2.1
Disabled:
- encryption
- external
- files_external
- user_external
- user_ldap

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: no

### Client configuration
**Browser:**
Firefox . 
**Operating system:**
opensuse 42.2 KDE 
### Logs
#### Web server error log

Insert your webserver log here

#### ownCloud log (data/owncloud.log)

{"reqId":"fL5MjKygUkEtxDV96EUe","remoteAddr":"10.10.10.66","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 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/caldav.php(83): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/owncloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/ownclo...')\\n#6 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2017-07-09T17:28:17+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/caldav\/calendars\/rb\/","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cli","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","level":1,"time":"2017-07-09T17:30:01+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cli","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","level":1,"time":"2017-07-09T17:30:01+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cron","message":"Started background job of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : ","level":0,"time":"2017-07-09T17:30:02+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cron","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : ","level":0,"time":"2017-07-09T17:30:02+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cron","message":"Started background job of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : ","level":0,"time":"2017-07-09T17:30:02+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cron","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : ","level":0,"time":"2017-07-09T17:30:02+00:00","method":"--","url":"--","user":"--"}
{"reqId":"m\/IygF9xtyFRidsiYftP","remoteAddr":"","app":"cron","message":"Started background job of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : ","level":0,"time":"2017-07-09T17:30:02+00:00","method":"--","url":"--","user":"--"}

Insert your ownCloud log here

Browser log

access.log
10.10.10.66 - - [09/Jul/2017:18:51:24 +0200] "GET /owncloud%20/index.php HTTP/1.1" 404 517 "-" "Mozilla/5.0 (X11; Linux x86_
64; rv:52.0) Gecko/20100101 Firefox/52.0"
::1 - - [09/Jul/2017:19:07:18 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:08:07 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:08:11 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:08:12 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:34:29 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:35:44 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:35:45 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"
::1 - - [09/Jul/2017:19:35:46 +0200] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dum
my connection)"

tail other_vhosts_access.log
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:09 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_ukrb/ HTTP/1.1" 207 3831 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:09 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_birthday/ HTTP/1.1" 207 3261 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:09 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_rb/ HTTP/1.1" 207 5727 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:09 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_muc/ HTTP/1.1" 207 915 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:16 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_ukrb/ HTTP/1.1" 207 8159 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:16 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_rb/ HTTP/1.1" 207 1053 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:16 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_birthday/ HTTP/1.1" 207 3495 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:16 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_reise/ HTTP/1.1" 207 3478 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
klara100Cloud:443 10.10.10.66 - - [09/Jul/2017:19:47:16 +0200] "REPORT /owncloud/remote.php/dav/calendars/rb/klara100cloud_muc/ HTTP/1.1" 207 1053 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"

a) The javascript console log
b) The network log
c) ...
`