{"action":"created","issue":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/124","labels_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/124/comments","events_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/124/events","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/124","id":52972327,"number":124,"title":"CalDAV Authentication exception","user":{"login":"roggrat","id":5696251,"avatar_url":"https://avatars.githubusercontent.com/u/5696251?v=3","gravatar_id":"","url":"https://api.github.com/users/roggrat","html_url":"https://github.com/roggrat","followers_url":"https://api.github.com/users/roggrat/followers","following_url":"https://api.github.com/users/roggrat/following{/other_user}","gists_url":"https://api.github.com/users/roggrat/gists{/gist_id}","starred_url":"https://api.github.com/users/roggrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roggrat/subscriptions","organizations_url":"https://api.github.com/users/roggrat/orgs","repos_url":"https://api.github.com/users/roggrat/repos","events_url":"https://api.github.com/users/roggrat/events{/privacy}","received_events_url":"https://api.github.com/users/roggrat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-28T04:12:21Z","updated_at":"2015-01-29T04:54:39Z","closed_at":null,"body":"HI, \r\n\r\ncan we add support for Cyrus-Imapd. The calendaring works from other sources, Ive used thunderbird to add calendar events however cant get z-push to work correctly. Carddav and Imap work however caldav authenticates but I get the  error:\r\n\r\nZ-push log:\r\nBackendCalDAV->Logon(): User 'testuser@domain.com' is not authenticated on CalDAV\r\nAuthenticationRequiredException: Access denied. Username or password incorrect - code: 0\r\n\r\nCyrus-imapd log:\r\n\r\nDec 27 20:38:26 domain http[52770]: login: localhost [::1] testuser Basic User logged in SESSIONID=<domain.com-52770-1419734306-1>\r\nDec 27 20:38:26 domain http[52770]: localhost [::1] as \"testuser\" with \"DAViCalClient\"; \"OPTIONS /dav/calendars/user/testuser@domain.com/Default HTTP/1.1\" => \"200 OK\"\r\n\r\nUsing curl I get:\r\n> About to connect() to localhost port 8080 (#0) Trying ::1...\r\n> Connected to localhost (::1) port 8080 (#0)\r\n> Server auth using Basic with user 'testuser@domain.com'\r\n> GET /dav/calendars/user/testuser/Default HTTP/1.1\r\n> Authorization: Basic ZHdheW5lQHJhZGlvcm1pLmNvbToqWWltYm8xMjJ+\r\n> User-Agent: curl/7.29.0\r\n> Host: localhost:8080\r\n> Accept: */*\r\n> \r\n< HTTP/1.1 200 OK\r\n< Date: Sun, 28 Dec 2014 03:26:09 GMT\r\n< Cache-Control: must-revalidate, no-transform, max-age=3600\r\n< Expires: Sun, 28 Dec 2014 04:26:09 GMT\r\n< Vary: Accept, Accept-Encoding\r\n< Accept-Ranges: none\r\n< ETag: \"1419617871-3-1\"\r\n< Last-Modified: Sat, 27 Dec 2014 13:26:53 GMT\r\n< Content-Type: text/calendar; charset=utf-8\r\n< Content-Disposition: inline; filename=\"Default.ics\"\r\n< Transfer-Encoding: chunked\r\n< \r\nBEGIN:VCALENDAR\r\nPRODID:-//CyrusIMAP.org/Cyrus v2.4.17-caldav-beta10//EN\r\nVERSION:2.0\r\nBEGIN:VTIMEZONE\r\nTZID:America/Chicago\r\nX-LIC-LOCATION:America/Chicago\r\nBEGIN:DAYLIGHT\r\nTZOFFSETFROM:-0600\r\nTZOFFSETTO:-0500\r\nTZNAME:CDT\r\nDTSTART:19700308T020000\r\nRRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0600\r\nTZNAME:CST\r\nDTSTART:19701101T020000\r\nRRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11\r\nEND:STANDARD\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nCREATED:20141227T132343Z\r\nLAST-MODIFIED:20141227T132538Z\r\nDTSTAMP:20141227T132538Z\r\nUID:34fc789e-8710-674d-bba0-1ddfa0b0c1de\r\nSUMMARY:Help Sandy Move\r\nCATEGORIES:Personal\r\nDTSTART;TZID=America/Chicago:20150108T083000\r\nDTEND;TZID=America/Chicago:20150108T160000\r\nTRANSP:OPAQUE\r\nLOCATION:South West\r\nDESCRIPTION:Help Sandy move to her new appartment.\r\nBEGIN:VALARM\r\nACTION:DISPLAY\r\nTRIGGER;VALUE=DURATION:-P1D\r\nDESCRIPTION:Default Mozilla Description\r\nEND:VALARM\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n\r\nAnyone know how to get this working ? Thanks."},"comment":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/comments/71969202","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/124#issuecomment-71969202","issue_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/124","id":71969202,"user":{"login":"roggrat","id":5696251,"avatar_url":"https://avatars.githubusercontent.com/u/5696251?v=3","gravatar_id":"","url":"https://api.github.com/users/roggrat","html_url":"https://github.com/roggrat","followers_url":"https://api.github.com/users/roggrat/followers","following_url":"https://api.github.com/users/roggrat/following{/other_user}","gists_url":"https://api.github.com/users/roggrat/gists{/gist_id}","starred_url":"https://api.github.com/users/roggrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roggrat/subscriptions","organizations_url":"https://api.github.com/users/roggrat/orgs","repos_url":"https://api.github.com/users/roggrat/repos","events_url":"https://api.github.com/users/roggrat/events{/privacy}","received_events_url":"https://api.github.com/users/roggrat/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T04:54:39Z","updated_at":"2015-01-29T04:54:39Z","body":"Hi @fmbiete,\r\n\r\nI guess better late than never, I have created a demo account for you to test out. the testing scripts have also been preconfigured with the demo credentials I've just sent you. Let me know if need anything else to be able to troubleshoot."}}