so how can i use iCalendar in mac os if i enable 2FA or it impossible?
You can set up 2FA. For specific applications (calendar application, NC clients on desktop/mobile, β¦) you create app passwords. These are specific credentials for this specific application, they have a auto-generated complex password and you can invalidate specifically these accounts in case of device loss etc.
i try do it, but fail i have error login or password wrong
Check out that the link you use is correct: https://docs.nextcloud.com/server/stable/user_manual/pim/sync_ios.html
and for mac you probably should set up the service discovery with the .well-known
redirections:
https://docs.nextcloud.com/server/stable/admin_manual/issues/general_troubleshooting.html#service-discovery
It might be worth checking you access.log from the webserver in parallel, there you see which URL was requested and if it was successful or some permission issues (code 4xx).
[04/Feb/2019:22:52:56 +0500] βREPORT /remote.php/dav/calendars/orlov/c7129bed-1d58-40a2-a0db-65bc3d8bd993/ HTTP/2.0β 207 22585 β-β "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14)
i have sync only one way, from NC to mac
oops sorry some time and all sinc
βPROPFIND /remote.php/dav/principals/users/orlov/ HTTP/1.1β 401 195 β-β βMac+OS+X/10.14.1 (18B75) CalendarAgent/416β
If often have first an un-authenticated request with 401 error followed by an authenticated, like this:
ip - - [06/Feb/2019:11:58:07 +0000] "PROPFIND /owncloud/remote.php/dav/principals/users/username/ HTTP/1.1" 401 1891 "-" "iOS/12.1.2 (16C101) dataaccessd/1.0"
ip - username [06/Feb/2019:11:58:07 +0000] "PROPFIND /owncloud/remote.php/dav/principals/users/username/ HTTP/1.1" 207 3563 "-" "iOS/12.1.2 (16C101) dataaccessd/1.0"