{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/apps/issues/1897","labels_url":"https://api.github.com/repos/owncloud/apps/issues/1897/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/apps/issues/1897/comments","events_url":"https://api.github.com/repos/owncloud/apps/issues/1897/events","html_url":"https://github.com/owncloud/apps/issues/1897","id":40834335,"number":1897,"title":"Multiple caldav issue w/ Thunderbird ","user":{"login":"drsbaitso","id":3653167,"avatar_url":"https://avatars.githubusercontent.com/u/3653167?v=3","gravatar_id":"","url":"https://api.github.com/users/drsbaitso","html_url":"https://github.com/drsbaitso","followers_url":"https://api.github.com/users/drsbaitso/followers","following_url":"https://api.github.com/users/drsbaitso/following{/other_user}","gists_url":"https://api.github.com/users/drsbaitso/gists{/gist_id}","starred_url":"https://api.github.com/users/drsbaitso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsbaitso/subscriptions","organizations_url":"https://api.github.com/users/drsbaitso/orgs","repos_url":"https://api.github.com/users/drsbaitso/repos","events_url":"https://api.github.com/users/drsbaitso/events{/privacy}","received_events_url":"https://api.github.com/users/drsbaitso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/apps/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-21T18:34:36Z","updated_at":"2015-04-14T15:31:50Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Add two calendars to Thunderbird (different user and domain)\r\n2. Try to sync\r\n3.\r\n\r\n### Expected behaviour\r\nSync both calendars\r\n\r\n### Actual behaviour\r\nOne calendar syncs... the other gets a 404 error\r\n\r\n### Server configuration\r\n**Operating system**:\r\nDebian\r\n**Web server:**\r\nApache\r\n**Database:**\r\nMysql\r\n**PHP version:**\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n7.0.1\r\n**Updated from an older ownCloud or fresh install:**\r\nupdated from 6.x\r\n**List of activated apps:**\r\ncalendar\r\n**The content of config/config.php:**\r\n\r\n```\r\nInsert your config.php content here\r\n(Without the database password and passwordsalt)\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### Client configuration\r\n**Browser:**\r\nThunderbird 31.x / lightning 3.3\r\n**Operating system:**\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\n    10.1.1.1 - - [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@example.com/defaultcalendar/ HTTP/1.1\" 401 1125 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - - [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@otherexample.com/defaultcalendar/ HTTP/1.1\" 401 1124 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - user1@otherexample.com [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@otherexample.com/defaultcalendar/ HTTP/1.1\" 207 2362 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - user1@example.com [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@example.com/defaultcalendar/ HTTP/1.1\" 207 2333 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - - [19/Aug/2014:14:43:23 -0500] \"OPTIONS /remote.php/caldav/calendars/user1@otherexample.com/ HTTP/1.1\" 200 1034 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - - [19/Aug/2014:14:43:23 -0500] \"OPTIONS /remote.php/caldav/calendars/user1@example.com/ HTTP/1.1\" 200 1034 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - user1@otherexample.com [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@otherexample.com/defaultcalendar/ HTTP/1.1\" 404 1012 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n    10.1.1.1 - user1@example.com [19/Aug/2014:14:43:23 -0500] \"PROPFIND /remote.php/caldav/calendars/user1@example.com/defaultcalendar/ HTTP/1.1\" 207 101574 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Lightning/3.3\"\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\nInsert your ownCloud log here\r\n```\r\n\r\n#### Browser log\r\n```\r\nCalDAV: Status 404 on initial PROPFIND for calendar ownCloud\r\n```\r\n\r\n\r\nI use IMAP as my auth backend.\r\n\r\nIf I use two calendars from the same domain, they work fine.  As soon as i do one calendar from domain1 and one from domain2, that's when this borks out.  Is it causing a conflict when it checks the login?\r\n\r\nI've been trying to figure out if this is a Thunderbird issue, or an ownCloud / sabredav issue. I'm on the latest 7.0.1. I have two calendars that I sync up. If I disable calendar B, calendar A works but when I try to enable calendar B I get a 404 not found error. Do the reverse, restart Thunderbird, calendar B works, and A gets the 404 error. This worked with the last ownCloud v6.\r\n\r\nI have the multi-realm config set in Thunderbird so that's not the issue.  And as you can see, it's requesting the correct calendar, ownCloud says not here.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/apps/issues/comments/92911485","html_url":"https://github.com/owncloud/apps/issues/1897#issuecomment-92911485","issue_url":"https://api.github.com/repos/owncloud/apps/issues/1897","id":92911485,"user":{"login":"RealRancor","id":2248459,"avatar_url":"https://avatars.githubusercontent.com/u/2248459?v=3","gravatar_id":"","url":"https://api.github.com/users/RealRancor","html_url":"https://github.com/RealRancor","followers_url":"https://api.github.com/users/RealRancor/followers","following_url":"https://api.github.com/users/RealRancor/following{/other_user}","gists_url":"https://api.github.com/users/RealRancor/gists{/gist_id}","starred_url":"https://api.github.com/users/RealRancor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealRancor/subscriptions","organizations_url":"https://api.github.com/users/RealRancor/orgs","repos_url":"https://api.github.com/users/RealRancor/repos","events_url":"https://api.github.com/users/RealRancor/events{/privacy}","received_events_url":"https://api.github.com/users/RealRancor/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T15:31:49Z","updated_at":"2015-04-14T15:31:49Z","body":"Hi,\r\n\r\nas OC itself can't cause a 404 (file not found) there are probably only two possibilities:\r\n\r\n1. Lightning can't handle two different calendars with two different accounts and is accessing a complete wrong URL causing the 404\r\n\r\n2. You're using a wrong URL for one of the calendars\r\n\r\nNr. 1 probably should be reported to their bugtracker. I think mozilla has the better knowledge of their product and how to debug it.\r\n\r\nNr. 2 can be tested via your browser by opening the calendar URL. See https://github.com/owncloud/documentation/pull/1025 for some pointers how to get the correct URL."}}