-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CalDav and CardDav Sync not possible with iOS (firt report form iOS version 10.3.3) #6192
Comments
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? |
I experienced the exactly the same issue on a Nextcloud 12 server given by a provider (ncloud.zaclys.com) and iOS 11.0. |
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) ? |
As far as I understood Apple is using a different approach than all others to address CardDAV/CalDAV ressources. I don't know why they're not using the usual address format, maybe the specialists could answer this question. |
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. |
@GamerBene19 To understand the problem better, can you please explain where the space has exactly been entered, on your iPhone, as you set-up the Nextcloud account etc.? Has it been entered erroneously or was it part of the original account name? |
@j-ed The 'old' account name was sth like "XY Z". Created under this name via the admin login of Nexcloud. |
@GamerBene19 Thank you for the clarification. Just out of curiosity, have you tried to use |
@j-ed In the account url it is replaced automaticly (e.g. in the webserver log given) yes, but for the account name not. |
A thing to note here is that I updated form iOS 10.3.3 to 11.0.3. |
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 |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
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. |
Steps to reproduce
Notes:
Expected behaviour
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
is this a known problem and is there a fix for it (after searching multiple days I didn´t find a solution)?
And is there a way to get it working without manual editing?
Actual behaviour
iOS displays message that sync via SSL is not possible (SSL enabled and working correctly)
After manual setting up the settings for SSL and the Account URL at least CardDav seems to work somehow, but CalDav doesn´t
Server configuration
Operating system: Rasbian (Debian) Jessie/8
Web server: Apache2
Database: MySQL
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 status
No errors have been found.List of activated apps:
App list
Enabled:
Disabled:
Nextcloud configuration:
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": "12.0.2.0", "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
Client configuration
Browser: None, as it is iOS itself acessing the Server.
Operating system: iOS 10.3.3
Logs
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]/.
Nextcloud log
Nextcloud log
Containing nothing regarding the Problems with iOS
Thanks for any help
The text was updated successfully, but these errors were encountered: