CalDav and CardDav Sync not possible with iOS (firt report form iOS version 10.3.3) #6192
Steps to reproduce
iOS beeing able to find and setup the Cal-/CardDav Server correctly
Besides the fact that it requires manual editing of Cal-/CardDav Settings to get (at least CardDav) working
iOS displays message that sync via SSL is not possible (SSL enabled and working correctly)
Operating system: Rasbian (Debian) Jessie/8
Web server: Apache2
PHP version: PHP 5.6.30 (output of php -v)
Nextcloud version: The current stable release (12.0.2)
Updated from an older Nextcloud/ownCloud or fresh install: Fresh install
Where did you install Nextcloud from: As described here from the .tar.bz2 archive
Signing status: No errors have been found.
Signing statusNo errors have been found.
List of activated apps:
Config report"instanceid": "ocvf2bnn26s2", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "Server-IP" ], "datadirectory": "\/media\/hdd1\/NextcloudData", "overwrite.cli.url": "https:\/\/Server-IP\/nextcloud", "dbtype": "mysql", "version": "184.108.40.206", "dbname": "nextcloud", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "memcache.local": "\\OC\\Memcache\\APCu"
Are you using external storage, if yes which one: None
Are you using encryption: No
Are you using an external user-backend, if yes which one: None
Browser: None, as it is iOS itself acessing the Server.
Operating system: iOS 10.3.3
Web server error log
Web server error log
I think (quite sure) it´s this request, that ends the (working) sync of calendars
After this sync the Account URL in the CalDav Server value got set to https://[Server-IP]/.
Containing nothing regarding the Problems with iOS
Thanks for any help
The text was updated successfully, but these errors were encountered:
If needed I could also provide extra log files or try some solution approaches, to help solving the issue.
Also, i can confirm that the same error also exists in ownCloud 10.0.2.1. Calendars show up and start sycing just fine before they vanish.
Any possible solution for this issue yet?
After several tries, the server adress
@jomuller A good point to start looking for a solution is always to read the manual and/or ask ant G.
@j-ed I agree with you (RTFM principle). But I can't figure out why it doesn't work with the given URL in the App. I'm closer to an end-user than a developer, and I was about to give up after several tries, reading docs, forums... but it was my fault if I didn't read the general troubleshooting documentation. Can't it be possible to have only one way to sync that instead of 3 or 4 URL to try (with the risk to loose some users during the process) ?
Thanks for the answer @j-ed.
After some troubleshooting this weekend I found, what caused the problem (at least for me).
I just found out, that the error was caused by a space (" ") in the username. (My username was like "XY Z")
I added an account named test (for testing obviously) and with no space in the username everthing works just fine (for me).
For me this was the solution for the issue. Idk if anything configured before the reset was related to the problem.
I'm still having this issue. I have the latest nextcloud installed using the Snap and letsencrypt for ssl. I tried the suggestions in the instructions, the docs on troubleshooting, and this frustration filled post, but none of that works. I of course tried a zillion variations on it, but that doesn't seem to work either (and I have no space in my username). In that post he talks about the fact that Letsencrypt isn’t support by Apple (why, Apple, why?). So could it be that because I use letsencrypt, and I have a redirect from http to https, that this doesn’t work? If so, how could I disable the redirect from http to https? I checked, but neither apache nor nginx is installed on the server. I guess the snap includes a server, but I have no experience with Snaps so far, so they're kind of a black box for me.
Could anybody help me out on getting this to work or debugging this? All tips are welcome!
ps. I also wrote a post about this on the Nextcloud Forum here
@kramer65 I don't have any problems with a Let's Encrypt certificate on an iPhone . You can easily check this by entering
This issue still exists, I have Nextcloud 14.04 with iOS 12.1.1 if, when setting up your Nextcloud account you create a username with a space, it is not possible to import the CalDav into the iphones calender. Have tried adding %20 between the first and last names enclosing with “” and single’ as well as using a backslash. If the username is a single string of letters or numbers without a space it connects just fine.
I have the same issue with NextCloud 18.0.4 and iOS 13.5.1.
Server is SSL-only with Let's Encrypt certificate, phone's time and date are in sync with the server, and there is no white space or any special character in either the username or the URL in any way.
iOS displays "Cannot Connect Using SSL" message, no matter which URL I use.
/.well-known/caldav redirects properly.
Apache logs don't even show any connection attempt from the phone. Using the web browser works fine.
I don't have the rights to re-open the issue, but just a quick update:
The SD-Card of the RapsberryPi on which the server from the original issue ran on died a few days ago.
I did a fresh install into an LXC on proxmox, and as of today (Nextcloud Version 20.0.4) this issue still exists.
An account called "John Doe" is not able to sync from iOS (tested with 13.5; I'm not using an iPhone anymore, had to pull out my old phone), meanwhile an account called "JohnDoe" is able to sync just fine. (Even the autosetup works now (which it did not on my wonky old install...))
So yeah, this is still an issue as of version 20.0.4.