{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/calendar/issues/844","labels_url":"https://api.github.com/repos/owncloud/calendar/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/calendar/issues/844/comments","events_url":"https://api.github.com/repos/owncloud/calendar/issues/844/events","html_url":"https://github.com/owncloud/calendar/issues/844","id":94003070,"number":844,"title":"After Update to OC 8.1 CalDAV Sync doesn't work anymore","user":{"login":"runoiz","id":6229998,"avatar_url":"https://avatars.githubusercontent.com/u/6229998?v=3","gravatar_id":"","url":"https://api.github.com/users/runoiz","html_url":"https://github.com/runoiz","followers_url":"https://api.github.com/users/runoiz/followers","following_url":"https://api.github.com/users/runoiz/following{/other_user}","gists_url":"https://api.github.com/users/runoiz/gists{/gist_id}","starred_url":"https://api.github.com/users/runoiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runoiz/subscriptions","organizations_url":"https://api.github.com/users/runoiz/orgs","repos_url":"https://api.github.com/users/runoiz/repos","events_url":"https://api.github.com/users/runoiz/events{/privacy}","received_events_url":"https://api.github.com/users/runoiz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/calendar/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/calendar/labels/needs%20info","name":"needs info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-09T09:41:57Z","updated_at":"2015-07-09T14:46:02Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Upgrade to OC 8.1\r\n2. Sync with CalDAV Client for Android 5.1.1\r\n3. Sync with iOS embedded CalDAV Client\r\n\r\nIf \"User backend using remote HTTP servers\" is enabled, CalDav works, but only for CalDAV Client for Android , not iOS or Lightning\r\n### Expected behaviour\r\nSync probably\r\n### Actual behaviour\r\nDoesn't sync with caldav clients\r\n### Server configuration\r\n**Operating system**:\r\nDebian Jessie\r\n**Web server:**\r\n:~# nginx -v\r\nnginx version: nginx/1.9.2\r\n**Database:**\r\n:~# mysql -V\r\nmysql  Ver 15.1 Distrib 10.1.5-MariaDB\r\n**PHP version:**\r\n:~# php -v\r\nPHP 5.6.9-0+deb8u1\r\n**ownCloud version:** (see ownCloud admin page)\r\nownCloud version 8.1.0\r\n**Updated from an older ownCloud or fresh install:**\r\nupgrade from 8.0\r\n**List of activated apps:**\r\nEnabled:\r\n - calendar: 0.7.1\r\n - files: 1.1.9\r\n - files_locking: \r\n - files_sharing: 0.6.2\r\n - updater: 0.6\r\n\r\n**The content of config/config.php:**\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => '####',\r\n  'passwordsalt' => '####',\r\n  'datadirectory' => '/opt/data',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.1.0.8',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => '127.0.0.1',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'owncloud',\r\n  'dbpassword' => '####',\r\n  'installed' => true,\r\n  'loglevel' => 0,\r\n  'logtimezone' => 'Europe/Berlin',\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'trashbin_retention_obligation' => 14,\r\n  'trusted_domains' => \r\n  array (\r\n    0 => '###.###.###',\r\n  ),\r\n  'secret' => '###',\r\n  'forcessl' => true,\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',\r\n);\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nno\r\n**Are you using encryption:** yes/no\r\nno\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno\r\n#### LDAP configuration (delete this part if not used)\r\nno\r\n### Client configuration\r\n**Browser:**\r\nCalDav Sync for Android\r\niOS 8.4 embedded Client\r\nThunderbird 38 with lightning 4.0.0.1\r\nThunderbird 31.7 with lightning 3.3.3\r\n**Operating system:**\r\nUbuntu 15.04 for Thunderbird 38\r\nDebian 7 for Thunderbird 31\r\niOS 8.4 and Android 5.1.1\r\n### Logs\r\n#### Web server error log\r\nNone\r\n#### ownCloud log (data/owncloud.log)\r\n{\"reqId\":\"LWqocopIjnlcOKdHm16Q\",\"remoteAddr\":\"##.##.##.##\",\"app\":\"caldav\",\"message\":\"Exception: {\\\"Message\\\":\\\"HTTP\\\\\\/1.1 401 No basic authentication headers were found\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/opt\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/connector\\\\\\/sabre\\\\\\/auth.php(149): Sabre\\\\\\\\DAV\\\\\\\\Auth\\\\\\\\Backend\\\\\\\\AbstractBasic->authenticate(Object(Sabre\\\\\\\\DAV\\\\\\\\Server), 'ownCloud')\\\\n#1 \\\\\\/opt\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/connector\\\\\\/sabre\\\\\\/auth.php(122): OC\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Auth->auth(Object(Sabre\\\\\\\\DAV\\\\\\\\Server), 'ownCloud')\\\\n#2 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Auth\\\\\\/Plugin.php(118): OC\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Auth->authenticate(Object(Sabre\\\\\\\\DAV\\\\\\\\Server), 'ownCloud')\\\\n#3 [internal function]: Sabre\\\\\\\\DAV\\\\\\\\Auth\\\\\\\\Plugin->beforeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#4 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\\\n#5 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(456): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('beforeMethod', Array)\\\\n#6 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(254): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#7 \\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/calendar\\\\\\/appinfo\\\\\\/remote.php(57): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#8 \\\\\\/opt\\\\\\/owncloud\\\\\\/remote.php(132): require_once('\\\\\\/opt\\\\\\/owncloud\\\\\\/a...')\\\\n#9 {main}\\\",\\\"File\\\":\\\"\\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Auth\\\\\\/Backend\\\\\\/AbstractBasic.php\\\",\\\"Line\\\":70}\",\"level\":0,\"time\":\"2015-07-09T11:23:34+02:00\",\"method\":\"OPTIONS\",\"url\":\"\\/remote.php\\/caldav\\/calendars\\/test\\/defaultcalendar_shared_by_test\\/\"}\r\n#### Browser log\r\nNone"},"comment":{"url":"https://api.github.com/repos/owncloud/calendar/issues/comments/120008850","html_url":"https://github.com/owncloud/calendar/issues/844#issuecomment-120008850","issue_url":"https://api.github.com/repos/owncloud/calendar/issues/844","id":120008850,"user":{"login":"runoiz","id":6229998,"avatar_url":"https://avatars.githubusercontent.com/u/6229998?v=3","gravatar_id":"","url":"https://api.github.com/users/runoiz","html_url":"https://github.com/runoiz","followers_url":"https://api.github.com/users/runoiz/followers","following_url":"https://api.github.com/users/runoiz/following{/other_user}","gists_url":"https://api.github.com/users/runoiz/gists{/gist_id}","starred_url":"https://api.github.com/users/runoiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runoiz/subscriptions","organizations_url":"https://api.github.com/users/runoiz/orgs","repos_url":"https://api.github.com/users/runoiz/repos","events_url":"https://api.github.com/users/runoiz/events{/privacy}","received_events_url":"https://api.github.com/users/runoiz/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T14:46:02Z","updated_at":"2015-07-09T14:46:02Z","body":"@georgehrke \r\n\r\nI saw this one #841, but the issue is the same on all clients, whatever client I use it doesn't work. And yes it says 401 No basic authentication headers were found, but why? I tried 5 different clients. by the way, I see calendars available so the everything seems fine bar far.\r\n\r\nImportant: In CalDAV Sync for Android, there is a option called \"Use preemptive authentication\", if enabled it works. But there is no such option for other clients. \r\nhttp://dmfs.org/wiki/index.php?title=CalDAV-Sync_account_settings#Advanced_options"}}