CALDAV IOS no connection

Hi,
before I had owncloud installed and my daughter with her iphone could connect to our family calendar.
Since I changed to nextcloud it’s not possible anymore. With android no problem.
I use ONLY port 443 and I want to stay like this because on owncloud it worked fine.
Did anyone already found out if it’s a ios problem or some routine in the scripts of caldav when connecting some iphone?

Greets

Chucrute

I am seeing the same thing. It seems to have broken recently, as my iPhone used to update.

I have my phone set to update only when I enter the calendar app. I enter the app and see the little wheel spinning that indicates using the wifi connection. But nothing changes on the phone. Testing the connection in Settings indicates that the connection is good.

Here is a typical transaction from the server’ s access.log:

192.168.100.27 - - [20/Jun/2017:19:54:39 -0600] “PROPFIND /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 401 3105 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - - [20/Jun/2017:19:54:39 -0600] “OPTIONS /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 401 3099 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:39 -0600] “PROPFIND /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 207 3717 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:41 -0600] “OPTIONS /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 200 1716 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:41 -0600] “OPTIONS /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 200 1880 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - - [20/Jun/2017:19:54:43 -0600] “REPORT /nextcloud/remote.php/dav/principals/groups/ HTTP/1.1” 401 1329 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:44 -0600] “PROPFIND /nextcloud/remote.php/dav/principals/users/charles/ HTTP/1.1” 207 3550 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:44 -0600] “REPORT /nextcloud/remote.php/dav/principals/groups/ HTTP/1.1” 200 989 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - - [20/Jun/2017:19:54:46 -0600] “PROPFIND /nextcloud/remote.php/dav/addressbooks/users/charles/ HTTP/1.1” 401 1869 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - - [20/Jun/2017:19:54:47 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/ HTTP/1.1” 401 1329 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:47 -0600] “PROPFIND /nextcloud/remote.php/dav/addressbooks/users/charles/ HTTP/1.1” 207 6228 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:47 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/ HTTP/1.1” 207 19187 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:49 -0600] “REPORT /nextcloud/remote.php/dav/addressbooks/users/charles/contacts/ HTTP/1.1” 207 1715 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:51 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/inbox/ HTTP/1.1” 207 1431 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:54:51 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/inbox/ HTTP/1.1” 207 1431 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - - [20/Jun/2017:19:55:20 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/ HTTP/1.1” 401 1467 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:55:20 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/ HTTP/1.1” 207 19187 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:55:21 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/inbox/ HTTP/1.1” 207 1431 “-” "iOS/9.3.5 (13G36) dataaccessd/1.0"
192.168.100.27 - charles [20/Jun/2017:19:55:21 -0600] “PROPFIND /nextcloud/remote.php/dav/calendars/charles/inbox/ HTTP/1.1” 207 1431 “-” “iOS/9.3.5 (13G36) dataaccessd/1.0”

Nextcloud 11.0.3 (stable), by the way.

For NC 12, there was a reported bug with authentication (not sure if it existed before as well) and it will be fixed in 12.0.1 which is expected soon (end of this month): https://github.com/nextcloud/server/issues/5088

If you are using NC 11, for me the well-known-redirections worked with apple products:
https://docs.nextcloud.com/server/11/admin_manual/issues/general_troubleshooting.html#troubleshooting-contacts-calendar

For NC 12, there was a reported bug with authentication (not sure if
it existed before as well) and it will be fixed in 12.0.1 which is
expected soon (end of this month):
https://github.com/nextcloud/server/issues/5088

Thanks.

If you are using NC 11, for me the well-known-redirections worked
with apple products:
https://docs.nextcloud.com/server/11/admin_manual/issues/general_troubleshooting.html#troubleshooting-contacts-calendar

Well, that didn’t work.

With an .htaccess as follows:

Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav  /nextcloud/remote.php/dav/principals/users/charles/

I get, in my error.log:

/var/www/.htaccess: Redirect not allowed here

Please include an actual working .htaccess.

Then your apache-configuration does not allow to change this setting via htaccess (search term: AllowOverride). Either change your apache that you allow this or put this redirection directly in the apache config.

Then your apache-configuration does not allow to change this setting
via htaccess (search term: AllowOverride). Either change your
apache that you allow this or put this redirection directly in the
apache config.


Visit
Topic

or reply to this email to respond.

To unsubscribe from these emails, click
here
.

Well, that’s better. I have the following in
/var/www/nextcloud/.htaccess: