CalDAV not working properly with iOS #753

Open
opened 7 months ago by profi248 · 7 comments

[caldav]
I'm trying to add Vikunja to iOS via CalDAV, and it mostly doesn't work. Adding an account works, and listing of lists worked fine once, after that it only showed one list (the last one). Listing of tasks on a list didn't work at all. Adding a task worked, except when it had a specified timestamp. In that case it failed with a timestamp parsing error (bottom of the log).

Everything was tested in native iOS 14.3 Reminders app.

Log from the server is below, there are a lot of failures with PROPPATCH, and some timestamp parsing errors.

Vikunja version v0.15.0+71-be7b53b9bc

2020-12-28T15:29:28.31365422Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /.well-known/caldav 62.53µs - iOS/14.3 (18C66) accountsd/1.0
2020-12-28T15:29:28.542591698Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /.well-known/caldav 158.215032ms - iOS/14.3 (18C66) accountsd/1.0
2020-12-28T15:29:28.559414545Z: WEB 	▶ 192.168.0.1  OPTIONS 401 /dav/principals/david/ 41.5µs - iOS/14.3 (18C66) accountsd/1.0
2020-12-28T15:29:28.754367347Z: WEB 	▶ 192.168.0.1  OPTIONS 200 /dav/principals/david/ 134.089527ms - iOS/14.3 (18C66) accountsd/1.0
2020-12-28T15:29:32.269281277Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /dav/principals/david/ 40.42µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:32.515754544Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/principals/david/ 130.918851ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:32.668509313Z: WEB 	▶ 192.168.0.1  OPTIONS 200 /dav/principals/david/ 138.368707ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:32.719812486Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /dav/lists/ 40.94µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:32.947795942Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/ 135.49345ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.744700709Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/3 40.83µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.764406803Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/3 38.08µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.773124652Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/2 26.42µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.782137942Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/2 34.74µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.790773342Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/1 21.761µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.801263745Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/1 39.74µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.814713325Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/4 38.16µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.823396404Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/4 36.95µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.832776645Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.05µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.879233508Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 36.98µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.890972574Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/3 25.93µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.896382156Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/2 24.18µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.903897402Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/1 37.9µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.938519449Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/4 35.7µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:34.971852013Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 40.42µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.000151916Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /dav/principals/david/ 47.01µs - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.143451314Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/2/ 139.066969ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.187295961Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/principals/david/ 138.036576ms - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.291715933Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/3/ 137.316555ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.329638687Z: WEB 	▶ 192.168.0.1  OPTIONS 200 /dav/principals/david/ 135.022079ms - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.342388795Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /dav/lists/ 37.15µs - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.44365791Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/1/ 138.906198ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.547559441Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/ 136.112112ms - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.601847631Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/4/ 145.255202ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.672064247Z: WEB 	▶ 192.168.0.1  MKCALENDAR 405 /dav/lists/C7D1E705-0E0B-4C5D-A399-A3763EA77E45/ 37.27µs - iOS/14.3 (18C66) dataaccessd/1.0
2020-12-28T15:29:35.751077172Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 134.256757ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:35.903766861Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/2/ 139.84773ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:36.14674282Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/3/ 134.167747ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:36.410727266Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/1/ 136.835484ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:36.627727527Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/4/ 151.631966ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:36.872771451Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 136.309212ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:58.372201348Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/ 381.005146ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:58.560941557Z: WEB 	▶ 192.168.0.1  OPTIONS 200 /dav/lists/ 141.973635ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:58.808358156Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 137.217515ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:58.97246101Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 45.64µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.00407055Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 35.51µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.013690401Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 41.99µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.162639632Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 135.08459ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.305522939Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 134.481129ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.525675947Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 144.21771ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.584305697Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 42.91µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.590438311Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 41.35µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.596834185Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 42.19µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:29:59.880439104Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 148.058158ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:00.061933607Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 148.387809ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:38.428303729Z: WEB 	▶ 192.168.0.1  PROPFIND 401 /dav/lists/5/ 38.961µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:38.7624641Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 292.719269ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:38.781379602Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 36.63µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:38.787438375Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 39.33µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:38.794704812Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 39.821µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:39.119253472Z: WEB 	▶ 192.168.0.1  PUT 201 /dav/lists/5/89D6F999-35CF-41D6-A176-045A17CB7185.ics 157.943311ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:39.383490578Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 137.024974ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:39.557862785Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 140.014981ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:55.7890752Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 295.664216ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:55.809162855Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 40.35µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:55.821734223Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.14µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:55.831947535Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 39.49µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:55.984827525Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 138.638928ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:56.136564341Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 138.954378ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:57.704558151Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 148.385139ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:57.937537307Z: WEB 	▶ 192.168.0.1  OPTIONS 200 /dav/lists/5/ 132.818244ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.190028488Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 147.757228ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.221468447Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 44.77µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.230142457Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 67.94µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.238164194Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 48.14µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.393160998Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 138.563117ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:30:58.550549568Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 139.77506ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:13.531146858Z: WEB 	▶ 192.168.0.1  GET 200 /api/v1/lists/5 24.082163ms - Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
2020-12-28T15:31:13.534696276Z: WEB 	▶ 192.168.0.1  GET 200 /api/v1/lists/5/tasks?sort_by[]=done&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&page=1 27.631671ms - Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
2020-12-28T15:31:22.828472919Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 149.810003ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:22.846037787Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.06µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:22.855714689Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.4µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:22.863256806Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 33.2µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:23.154633992Z: WEB 	▶ 192.168.0.1  PUT 500 /dav/lists/5/8278E61E-AE34-470E-96C4-3BB44BC653C7.ics 141.868515ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:32.366614113Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 302.735672ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:32.527965671Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.35µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:32.537481102Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 51.86µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:32.574354824Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 44.821µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:32.916779684Z: WEB 	▶ 192.168.0.1  PUT 500 /dav/lists/5/8278E61E-AE34-470E-96C4-3BB44BC653C7.ics 144.221891ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:37.736051387Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 142.408496ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:37.756095042Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 36.18µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:37.765119522Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 46.031µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:37.771990687Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 38.13µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:38.046670606Z: WEB 	▶ 192.168.0.1  PUT 500 /dav/lists/5/6DA7F151-75BD-425F-830E-6196668A8E56.ics 134.623258ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:41.282210876Z: WEB 	▶ 192.168.0.1  PROPFIND 207 /dav/lists/5/ 147.056957ms - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:41.331785246Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 44.47µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:41.341087386Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 39.03µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:41.348511283Z: WEB 	▶ 192.168.0.1  PROPPATCH 405 /dav/lists/5 42.42µs - iOS/14.3 (18C66) remindd/1.0
2020-12-28T15:31:41.559932832Z: WARNING	▶ caldav/caldavTimeToTimestamp 54a2 Error while parsing caldav time 20201229 to TimeStamp: parsing time "20201229" as "20060102T150405": cannot parse "" as "T"
2020-12-28T15:31:41.560084462Z: WARNING	▶ caldav/caldavTimeToTimestamp 54a3 Error while parsing caldav time 20201229 to TimeStamp: parsing time "20201229" as "20060102T150405": cannot parse "" as "T"
2020-12-28T15:31:41.562313977Z: WEB 	▶ 192.168.0.1  PUT 500 /dav/lists/5/6DA7F151-75BD-425F-830E-6196668A8E56.ics 144.37682ms - iOS/14.3 (18C66) remindd/1.0
[caldav] I'm trying to add Vikunja to iOS via CalDAV, and it mostly doesn't work. Adding an account works, and listing of lists worked fine once, after that it only showed one list (the last one). Listing of tasks on a list didn't work at all. Adding a task worked, except when it had a specified timestamp. In that case it failed with a timestamp parsing error (bottom of the log). Everything was tested in native iOS 14.3 Reminders app. Log from the server is below, there are a lot of failures with PROPPATCH, and some timestamp parsing errors. Vikunja version v0.15.0+71-be7b53b9bc ``` 2020-12-28T15:29:28.31365422Z: WEB ▶ 192.168.0.1 PROPFIND 401 /.well-known/caldav 62.53µs - iOS/14.3 (18C66) accountsd/1.0 2020-12-28T15:29:28.542591698Z: WEB ▶ 192.168.0.1 PROPFIND 207 /.well-known/caldav 158.215032ms - iOS/14.3 (18C66) accountsd/1.0 2020-12-28T15:29:28.559414545Z: WEB ▶ 192.168.0.1 OPTIONS 401 /dav/principals/david/ 41.5µs - iOS/14.3 (18C66) accountsd/1.0 2020-12-28T15:29:28.754367347Z: WEB ▶ 192.168.0.1 OPTIONS 200 /dav/principals/david/ 134.089527ms - iOS/14.3 (18C66) accountsd/1.0 2020-12-28T15:29:32.269281277Z: WEB ▶ 192.168.0.1 PROPFIND 401 /dav/principals/david/ 40.42µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:32.515754544Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/principals/david/ 130.918851ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:32.668509313Z: WEB ▶ 192.168.0.1 OPTIONS 200 /dav/principals/david/ 138.368707ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:32.719812486Z: WEB ▶ 192.168.0.1 PROPFIND 401 /dav/lists/ 40.94µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:32.947795942Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/ 135.49345ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.744700709Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/3 40.83µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.764406803Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/3 38.08µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.773124652Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/2 26.42µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.782137942Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/2 34.74µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.790773342Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/1 21.761µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.801263745Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/1 39.74µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.814713325Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/4 38.16µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.823396404Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/4 36.95µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.832776645Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.05µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.879233508Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 36.98µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.890972574Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/3 25.93µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.896382156Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/2 24.18µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.903897402Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/1 37.9µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.938519449Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/4 35.7µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:34.971852013Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 40.42µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.000151916Z: WEB ▶ 192.168.0.1 PROPFIND 401 /dav/principals/david/ 47.01µs - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.143451314Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/2/ 139.066969ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.187295961Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/principals/david/ 138.036576ms - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.291715933Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/3/ 137.316555ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.329638687Z: WEB ▶ 192.168.0.1 OPTIONS 200 /dav/principals/david/ 135.022079ms - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.342388795Z: WEB ▶ 192.168.0.1 PROPFIND 401 /dav/lists/ 37.15µs - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.44365791Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/1/ 138.906198ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.547559441Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/ 136.112112ms - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.601847631Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/4/ 145.255202ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.672064247Z: WEB ▶ 192.168.0.1 MKCALENDAR 405 /dav/lists/C7D1E705-0E0B-4C5D-A399-A3763EA77E45/ 37.27µs - iOS/14.3 (18C66) dataaccessd/1.0 2020-12-28T15:29:35.751077172Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 134.256757ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:35.903766861Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/2/ 139.84773ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:36.14674282Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/3/ 134.167747ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:36.410727266Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/1/ 136.835484ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:36.627727527Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/4/ 151.631966ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:36.872771451Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 136.309212ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:58.372201348Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/ 381.005146ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:58.560941557Z: WEB ▶ 192.168.0.1 OPTIONS 200 /dav/lists/ 141.973635ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:58.808358156Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 137.217515ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:58.97246101Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 45.64µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.00407055Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 35.51µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.013690401Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 41.99µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.162639632Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 135.08459ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.305522939Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 134.481129ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.525675947Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 144.21771ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.584305697Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 42.91µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.590438311Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 41.35µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.596834185Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 42.19µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:29:59.880439104Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 148.058158ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:00.061933607Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 148.387809ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:38.428303729Z: WEB ▶ 192.168.0.1 PROPFIND 401 /dav/lists/5/ 38.961µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:38.7624641Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 292.719269ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:38.781379602Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 36.63µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:38.787438375Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 39.33µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:38.794704812Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 39.821µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:39.119253472Z: WEB ▶ 192.168.0.1 PUT 201 /dav/lists/5/89D6F999-35CF-41D6-A176-045A17CB7185.ics 157.943311ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:39.383490578Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 137.024974ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:39.557862785Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 140.014981ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:55.7890752Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 295.664216ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:55.809162855Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 40.35µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:55.821734223Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.14µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:55.831947535Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 39.49µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:55.984827525Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 138.638928ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:56.136564341Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 138.954378ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:57.704558151Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 148.385139ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:57.937537307Z: WEB ▶ 192.168.0.1 OPTIONS 200 /dav/lists/5/ 132.818244ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.190028488Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 147.757228ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.221468447Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 44.77µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.230142457Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 67.94µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.238164194Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 48.14µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.393160998Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 138.563117ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:30:58.550549568Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 139.77506ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:13.531146858Z: WEB ▶ 192.168.0.1 GET 200 /api/v1/lists/5 24.082163ms - Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0 2020-12-28T15:31:13.534696276Z: WEB ▶ 192.168.0.1 GET 200 /api/v1/lists/5/tasks?sort_by[]=done&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&page=1 27.631671ms - Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0 2020-12-28T15:31:22.828472919Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 149.810003ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:22.846037787Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.06µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:22.855714689Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.4µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:22.863256806Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 33.2µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:23.154633992Z: WEB ▶ 192.168.0.1 PUT 500 /dav/lists/5/8278E61E-AE34-470E-96C4-3BB44BC653C7.ics 141.868515ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:32.366614113Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 302.735672ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:32.527965671Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.35µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:32.537481102Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 51.86µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:32.574354824Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 44.821µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:32.916779684Z: WEB ▶ 192.168.0.1 PUT 500 /dav/lists/5/8278E61E-AE34-470E-96C4-3BB44BC653C7.ics 144.221891ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:37.736051387Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 142.408496ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:37.756095042Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 36.18µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:37.765119522Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 46.031µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:37.771990687Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 38.13µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:38.046670606Z: WEB ▶ 192.168.0.1 PUT 500 /dav/lists/5/6DA7F151-75BD-425F-830E-6196668A8E56.ics 134.623258ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:41.282210876Z: WEB ▶ 192.168.0.1 PROPFIND 207 /dav/lists/5/ 147.056957ms - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:41.331785246Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 44.47µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:41.341087386Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 39.03µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:41.348511283Z: WEB ▶ 192.168.0.1 PROPPATCH 405 /dav/lists/5 42.42µs - iOS/14.3 (18C66) remindd/1.0 2020-12-28T15:31:41.559932832Z: WARNING ▶ caldav/caldavTimeToTimestamp 54a2 Error while parsing caldav time 20201229 to TimeStamp: parsing time "20201229" as "20060102T150405": cannot parse "" as "T" 2020-12-28T15:31:41.560084462Z: WARNING ▶ caldav/caldavTimeToTimestamp 54a3 Error while parsing caldav time 20201229 to TimeStamp: parsing time "20201229" as "20060102T150405": cannot parse "" as "T" 2020-12-28T15:31:41.562313977Z: WEB ▶ 192.168.0.1 PUT 500 /dav/lists/5/6DA7F151-75BD-425F-830E-6196668A8E56.ics 144.37682ms - iOS/14.3 (18C66) remindd/1.0 ```
Owner

The PROPPATCH methods don't have a handler, hence the errors in the log. This could be related to the issues you described.

I can see some more 500 errors which do not seem to be related to date parsing errors.

There should be more logging available - could you set the log level to debug, restart vikunja, do again what you did and then send the logs? (obfuscate any private data before sending)

The `PROPPATCH` methods don't have a handler, hence the errors in the log. This could be related to the issues you described. I can see some more 500 errors which do not seem to be related to date parsing errors. There should be more logging available - could you set the [log level](https://vikunja.io/docs/config-options/#log) to `debug`, restart vikunja, do again what you did and then send the logs? (obfuscate any private data before sending)
konrad added the
kind/bug
label 7 months ago
Poster

Here you go, I hope it's useful. Some ParseInt errors showed up now.

Here you go, I hope it's useful. Some `ParseInt` errors showed up now.
Owner

Is this still an issue? Can you reproduce it with the latest version on the demo?

Is this still an issue? Can you reproduce it with the latest version [on the demo](https://try.vikunja.io)?
Poster

Just tried it out, displaying of lists still doesn't work properly, after the initial load, only the last on shows up. Tasks in lists are still not shown. Adding a task with a timestamp does sort of work, but the timestamp is discarded.

Just tried it out, displaying of lists still doesn't work properly, after the initial load, only the last on shows up. Tasks in lists are still not shown. Adding a task with a timestamp does sort of work, but the timestamp is discarded.

I'm having issues with the iOS Reminders as well. The first time I add the CalDAV account, the list shows up but shows blank. If I add a task on the phone, it shows online. Nothing added online shows on the phone, however. And after a bit of time, all tasks disappear on the phone. Happy to submit any information needed, I just need some guidance on how/where to set the log level to debug. I am using Portainer and running Vikunja in Docker.

I'm having issues with the iOS Reminders as well. The first time I add the CalDAV account, the list shows up but shows blank. If I add a task on the phone, it shows online. Nothing added online shows on the phone, however. And after a bit of time, all tasks disappear on the phone. Happy to submit any information needed, I just need some guidance on how/where to set the log level to debug. I am using Portainer and running Vikunja in Docker.
Owner

@fivetwoseven I guess it would be worth a try if you would set the log level to debug. For portainer I think the best way to set this would be through an env variable VIKUNJA_LOG_LEVEL=debug (been a while since I've used portainer but iirc you can set env variables there?).

@fivetwoseven I guess it would be worth a try if you would set the [log level](https://vikunja.io/docs/config-options/#level) to `debug`. For portainer I think the best way to set this would be through an env variable `VIKUNJA_LOG_LEVEL=debug` (been a while since I've used portainer but iirc you can set env variables there?).
Owner

So I finally got around testing this with an ios device. Here's what I found.

I first tried to connect it through the local wifi to my dev instance running locally. That did not work. I only got an error "this did not work" and this in the Vikunja api logs:

PROPFIND 401 /.well-known/caldav 40.551µs - iOS/14.6 (18F72) remindd/1.0

Status 401 means "unauthorized". That's the status a client gets when they don't send their basic auth credentials. In combination with the very fast response (40µs) it looks like the iOS implementation simply did not send any client credentials.
However, also sends this header in case the authentication credentials were missing: Www-Authenticate: basic realm=Restricted. That essentially means "hey please come back with proper basic auth credentials". And yet, iOS did not come back, instead it tried a few other urls:

PROPFIND 404 / 47.511µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 401 /.well-known/caldav 40.551µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 404 / 31.08µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 404 /principals/ 31.17µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 404 /calendar/dav/test/user/ 23.77µs - iOS/14.6 (18F72) remindd/1.0

As you can see from the status codes, with no success. It just gave up when the first try did not succeed.

Next, I tried connecting to try. And that seemed to have worked, creating the account in the ios settings worked. In the logs I was able to see it also tried to connect without any credentials first but then provided them when that did not work:

PROPFIND 401 /.well-known/caldav 438.784µs - iOS/14.6 (18F72) accountsd/1.0
PROPFIND 207 /.well-known/caldav 265.904444ms - iOS/14.6 (18F72) accountsd/1.0
PROPFIND 401 /dav/principals/demo/ 266.082µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/principals/demo/ 180.359999ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 401 /dav/lists/ 129.763µs - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/ 210.25997ms - iOS/14.6 (18F72) remindd/1.0

I suspect that's due to try being available over https while my local dev instance isn't. That should not be an issue but it looks like it is.

After that it did a bunch of requests to get all lists:

PROPFIND 207 /dav/lists/1255/ 325.641107ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1217/ 187.552424ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1254/ 184.592967ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1262/ 194.360873ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1244/ 194.533747ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1247/ 237.377818ms - iOS/14.6 (18F72) remindd/1.0
PROPFIND 207 /dav/lists/1242/ 200.254749ms - iOS/14.6 (18F72) remindd/1.0

And they all showed up:

image

But without any tasks. When I tried to create a task that did not work either.

Another interesting thing to note is there's a bunch of failing PROPPATCH requests:

PROPPATCH 405 /dav/lists/1197 191.747µs - iOS/14.6 (18F72) remindd/1.0
PROPPATCH 405 /dav/lists/1197 89.961µs - iOS/14.6 (18F72) remindd/1.0
PROPPATCH 405 /dav/lists/1253 60.106µs - iOS/14.6 (18F72) remindd/1.0
PROPPATCH 405 /dav/lists/1253 59.449µs - iOS/14.6 (18F72) remindd/1.0
PROPPATCH 405 /dav/lists/1261 120.255µs - iOS/14.6 (18F72) remindd/1.0

I suspect these are the actual cause of lists going missing (maybe iOS removes a list when it tried to do something with it and that failed?)

So in conclusion, I'm not sure how to proceed with this problem. I can see there's issues with it but I can't reproduce it all the time (the lists were all there) and I can't look into it bc iOS won't connect to my local dev instance.

Open for ideas.

So I finally got around testing this with an ios device. Here's what I found. I first tried to connect it through the local wifi to my dev instance running locally. That did not work. I only got an error "this did not work" and this in the Vikunja api logs: ``` PROPFIND 401 /.well-known/caldav 40.551µs - iOS/14.6 (18F72) remindd/1.0 ``` Status 401 means "unauthorized". That's the status a client gets when they don't send their basic auth credentials. In combination with the very fast response (40µs) it looks like the iOS implementation simply did not send any client credentials. However, also sends this header in case the authentication credentials were missing: `Www-Authenticate: basic realm=Restricted`. That essentially means "hey please come back with proper basic auth credentials". And yet, iOS did not come back, instead it tried a few other urls: ``` PROPFIND 404 / 47.511µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 401 /.well-known/caldav 40.551µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 404 / 31.08µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 404 /principals/ 31.17µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 404 /calendar/dav/test/user/ 23.77µs - iOS/14.6 (18F72) remindd/1.0 ``` As you can see from the status codes, with no success. It just gave up when the first try did not succeed. Next, I tried connecting to try. And that seemed to have worked, creating the account in the ios settings worked. In the logs I was able to see it also tried to connect without any credentials first but then provided them when that did not work: ``` PROPFIND 401 /.well-known/caldav 438.784µs - iOS/14.6 (18F72) accountsd/1.0 PROPFIND 207 /.well-known/caldav 265.904444ms - iOS/14.6 (18F72) accountsd/1.0 PROPFIND 401 /dav/principals/demo/ 266.082µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/principals/demo/ 180.359999ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 401 /dav/lists/ 129.763µs - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/ 210.25997ms - iOS/14.6 (18F72) remindd/1.0 ``` I suspect that's due to try being available over https while my local dev instance isn't. That should not be an issue but it looks like it is. After that it did a bunch of requests to get all lists: ``` PROPFIND 207 /dav/lists/1255/ 325.641107ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1217/ 187.552424ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1254/ 184.592967ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1262/ 194.360873ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1244/ 194.533747ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1247/ 237.377818ms - iOS/14.6 (18F72) remindd/1.0 PROPFIND 207 /dav/lists/1242/ 200.254749ms - iOS/14.6 (18F72) remindd/1.0 ``` And they all showed up: ![image](/attachments/eb4d4294-9840-4999-9653-a6cf87e61d40) But without any tasks. When I tried to create a task that did not work either. Another interesting thing to note is there's a bunch of failing `PROPPATCH` requests: ``` PROPPATCH 405 /dav/lists/1197 191.747µs - iOS/14.6 (18F72) remindd/1.0 PROPPATCH 405 /dav/lists/1197 89.961µs - iOS/14.6 (18F72) remindd/1.0 PROPPATCH 405 /dav/lists/1253 60.106µs - iOS/14.6 (18F72) remindd/1.0 PROPPATCH 405 /dav/lists/1253 59.449µs - iOS/14.6 (18F72) remindd/1.0 PROPPATCH 405 /dav/lists/1261 120.255µs - iOS/14.6 (18F72) remindd/1.0 ``` I suspect these are the actual cause of lists going missing (maybe iOS removes a list when it tried to do something with it and that failed?) So in conclusion, I'm not sure how to proceed with this problem. I can see there's issues with it but I can't reproduce it all the time (the lists were all there) and I can't look into it bc iOS won't connect to my local dev instance. Open for ideas.
294 KiB
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.