{"action":"created","issue":{"url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/9","repository_url":"https://api.github.com/repos/thegrizzlylabs/sardine-android","labels_url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/9/comments","events_url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/9/events","html_url":"https://github.com/thegrizzlylabs/sardine-android/issues/9","id":356461597,"node_id":"MDU6SXNzdWUzNTY0NjE1OTc=","number":9,"title":"Connecting to carddav radicale server","user":{"login":"piersonleo","id":38201825,"node_id":"MDQ6VXNlcjM4MjAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/38201825?v=4","gravatar_id":"","url":"https://api.github.com/users/piersonleo","html_url":"https://github.com/piersonleo","followers_url":"https://api.github.com/users/piersonleo/followers","following_url":"https://api.github.com/users/piersonleo/following{/other_user}","gists_url":"https://api.github.com/users/piersonleo/gists{/gist_id}","starred_url":"https://api.github.com/users/piersonleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piersonleo/subscriptions","organizations_url":"https://api.github.com/users/piersonleo/orgs","repos_url":"https://api.github.com/users/piersonleo/repos","events_url":"https://api.github.com/users/piersonleo/events{/privacy}","received_events_url":"https://api.github.com/users/piersonleo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-03T11:10:45Z","updated_at":"2018-09-03T13:03:18Z","closed_at":null,"author_association":"NONE","body":"Hello, I am aware that the library is for webdav but just to be sure, is it possible to use it to connect to carddav server?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/comments/418109296","html_url":"https://github.com/thegrizzlylabs/sardine-android/issues/9#issuecomment-418109296","issue_url":"https://api.github.com/repos/thegrizzlylabs/sardine-android/issues/9","id":418109296,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODEwOTI5Ng==","user":{"login":"piersonleo","id":38201825,"node_id":"MDQ6VXNlcjM4MjAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/38201825?v=4","gravatar_id":"","url":"https://api.github.com/users/piersonleo","html_url":"https://github.com/piersonleo","followers_url":"https://api.github.com/users/piersonleo/followers","following_url":"https://api.github.com/users/piersonleo/following{/other_user}","gists_url":"https://api.github.com/users/piersonleo/gists{/gist_id}","starred_url":"https://api.github.com/users/piersonleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piersonleo/subscriptions","organizations_url":"https://api.github.com/users/piersonleo/orgs","repos_url":"https://api.github.com/users/piersonleo/repos","events_url":"https://api.github.com/users/piersonleo/events{/privacy}","received_events_url":"https://api.github.com/users/piersonleo/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T13:03:18Z","updated_at":"2018-09-03T13:03:18Z","author_association":"NONE","body":"Thank you for the kind reply.\r\n\r\nAfter trying it out for a bit using this snippet code\r\n\r\n```\r\n            Sardine sardine = new OkHttpSardine();\r\n            sardine.setCredentials(username, password);\r\n\r\n            try {\r\n                List<DavResource> resources = sardine.list(url);\r\n                Log.d(\"testcarddav\", resources.toString());\r\n            } catch (IOException e) {\r\n                e.printStackTrace();\r\n            }\r\n```\r\n\r\nI've encountered this issue:\r\n\r\nChallenges [realm:  radicale - \"password required\" charset=\"java.nio.charset.charseticu[iso-8859-1]\"]\r\n\r\n```\r\n   at com.thegrizzlylabs.sardineandroid.util.SardineUtil.unmarshal(SardineUtil.java:140)\r\n        at com.thegrizzlylabs.sardineandroid.impl.handler.MultiStatusResponseHandler.getMultistatus(MultiStatusResponseHandler.java:38)\r\n        at com.thegrizzlylabs.sardineandroid.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:27)\r\n        at com.thegrizzlylabs.sardineandroid.impl.handler.ResourcesResponseHandler.handleResponse(ResourcesResponseHandler.java:25)\r\n        at com.thegrizzlylabs.sardineandroid.impl.handler.ResourcesResponseHandler.handleResponse(ResourcesResponseHandler.java:19)\r\n        at com.thegrizzlylabs.sardineandroid.impl.OkHttpSardine.execute(OkHttpSardine.java:595)\r\n        at com.thegrizzlylabs.sardineandroid.impl.OkHttpSardine.propfind(OkHttpSardine.java:180)\r\n        at com.thegrizzlylabs.sardineandroid.impl.OkHttpSardine.list(OkHttpSardine.java:149)\r\n        at com.thegrizzlylabs.sardineandroid.impl.OkHttpSardine.list(OkHttpSardine.java:125)\r\n        at com.thegrizzlylabs.sardineandroid.impl.OkHttpSardine.list(OkHttpSardine.java:120)\r\n        at com.example.pierson.testcarddav.MainActivity$TestCardDav.doInBackground(MainActivity.java:37)\r\n        at com.example.pierson.testcarddav.MainActivity$TestCardDav.doInBackground(MainActivity.java:28)\r\n        at android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n        at java.lang.Thread.run(Thread.java:818)\r\n    Caused by: org.simpleframework.xml.core.ElementException: Element 'href' does not have a match in class com.thegrizzlylabs.sardineandroid.model.PrincipalCollectionSet at line 2\r\n09-03 17:55:43.859 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.Composite.readElement(Composite.java:527)\r\n        at org.simpleframework.xml.core.Composite.readElements(Composite.java:445)\r\n        at org.simpleframework.xml.core.Composite.access$400(Composite.java:59)\r\n        at org.simpleframework.xml.core.Composite$Builder.read(Composite.java:1383)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:201)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:148)\r\n        at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)\r\n09-03 17:55:43.864 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.Persister.read(Persister.java:625)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:606)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:584)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:480)\r\n        at com.thegrizzlylabs.sardineandroid.model.Prop$PropConverter.read(Prop.java:335)\r\n        at com.thegrizzlylabs.sardineandroid.model.Prop$PropConverter.read(Prop.java:306)\r\n        at org.simpleframework.xml.convert.RegistryStrategy.read(RegistryStrategy.java:129)\r\n        at org.simpleframework.xml.convert.RegistryStrategy.read(RegistryStrategy.java:108)\r\n        at org.simpleframework.xml.core.Source.getOverride(Source.java:360)\r\n        at org.simpleframework.xml.core.Factory.getConversion(Factory.java:207)\r\n        at org.simpleframework.xml.core.Factory.getOverride(Factory.java:139)\r\n        at org.simpleframework.xml.core.ObjectFactory.getInstance(ObjectFactory.java:63)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:139)\r\n        at org.simpleframework.xml.core.Composite.readVariable(Composite.java:623)\r\n        at org.simpleframework.xml.core.Composite.readInstance(Composite.java:573)\r\n        at org.simpleframework.xml.core.Composite.readUnion(Composite.java:549)\r\n        at org.simpleframework.xml.core.Composite.readElement(Composite.java:532)\r\n09-03 17:55:43.869 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.Composite.readElements(Composite.java:445)\r\n        at org.simpleframework.xml.core.Composite.access$400(Composite.java:59)\r\n        at org.simpleframework.xml.core.Composite$Builder.read(Composite.java:1383)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:201)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:148)\r\n        at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)\r\n        at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:190)\r\n        at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:167)\r\n        at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:124)\r\n        at org.simpleframework.xml.core.Composite.readVariable(Composite.java:623)\r\n        at org.simpleframework.xml.core.Composite.readInstance(Composite.java:573)\r\n09-03 17:55:43.874 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.Composite.readUnion(Composite.java:549)\r\n        at org.simpleframework.xml.core.Composite.readElement(Composite.java:532)\r\n        at org.simpleframework.xml.core.Composite.readElements(Composite.java:445)\r\n        at org.simpleframework.xml.core.Composite.access$400(Composite.java:59)\r\n        at org.simpleframework.xml.core.Composite$Builder.read(Composite.java:1383)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:201)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:148)\r\n        at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)\r\n09-03 17:55:43.874 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:190)\r\n        at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:167)\r\n        at org.simpleframework.xml.core.CompositeInlineList.read(CompositeInlineList.java:124)\r\n        at org.simpleframework.xml.core.Composite.readVariable(Composite.java:623)\r\n        at org.simpleframework.xml.core.Composite.readInstance(Composite.java:573)\r\n09-03 17:55:43.879 20914-20937/com.example.pierson.testcarddav W/System.err:     at org.simpleframework.xml.core.Composite.readUnion(Composite.java:549)\r\n        at org.simpleframework.xml.core.Composite.readElement(Composite.java:532)\r\n        at org.simpleframework.xml.core.Composite.readElements(Composite.java:445)\r\n        at org.simpleframework.xml.core.Composite.access$400(Composite.java:59)\r\n        at org.simpleframework.xml.core.Composite$Builder.read(Composite.java:1383)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:201)\r\n        at org.simpleframework.xml.core.Composite.read(Composite.java:148)\r\n        at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:625)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:606)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:584)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:543)\r\n        at org.simpleframework.xml.core.Persister.read(Persister.java:444)\r\n        at com.thegrizzlylabs.sardineandroid.util.SardineUtil.unmarshal(SardineUtil.java:135)\r\n    \t... 17 more\r\n```\r\n\r\nI'm guessing it's something to do with the password?"}}
{"actor":{"display_login":"piersonleo"}}