-
-
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
Unable to verify account name or password #51189
Comments
The URL you should use is in Contacts It's under Contact settings -> Copy iOS/macOS CalDav address It'll look something like:
For additional troubleshooting, please ask for assistance on the help forum: https://help.nextcloud.com |
@joshtrichards : Thanks for your attempt to help.
|
Oops. I was thinking of Calendar. ;)
Does the URL really include two slashes like that? In between those double slashes should be your username. Anyhow, please try
Or even:
Refs: https://docs.nextcloud.com/server/latest/user_manual/en/groupware/sync_ios.html |
@joshtrichards : Again thanks for your answer. the double / is a copying typo. Only one / used. I've tried your docs recommendation first, varying the paths from principals/users, addressbook(s)/user(s). Nothing worked. Somewhere is a mention about reverse proxies and a suggestion how to resolve this. I tried this as well. Maybe there is an issue here. If I try to get these URLs I only get WebDAV as a response. There is no CalDAV or CardDAV protocol served. Doing some research, it seems that this issue is either unresolved since 2017 or recurring since then. One last thing: All users have different passwords (nextcloud admin, DB admin, NC users). On the file level, I chown -R http:http (default Apache2 user), chmod unchanged from repo. |
did some searching. in nextcloud/apps/dav/appinfo
in v1/carddav.php I can see "principals" instead of addressbooks. However that is the case in caldav.php as well but calendar access is also denied. |
Hi @wrogner The proper url for the Contacts and Calendar should be, https://{server.domain}/remote.php/dav/ If your installation is in a sub folder it would be something like this... https://{server.domain}/{sub folder}/remote.php/dav/ |
@SebastianKrupinski : Thanks for the hint. Should be, but isn't. "Unable to verify account name or password" Username and password are correct (I can logon to nextcloud). Here are two issues that remain:
|
If TOTP is a problem you can create an App Password.
If you use this, that is a direct link to the specific address book it self, /nextcloud/remote.php/dav/addressbooks/users/user1/test/ You need to use, /nextcloud/remote.php/dav/ This will then see all the address books. |
I don't think that turning of TOTP is an option. It seems that the more I play around the more I move away from Regarding account verification: TOTP prevents account verification because Nextcloud DAV does not correctly negotiate username and password (with 2FA enabled). Thanks for your effort, I appreciate your help. |
By conincidence I found there is an update to 7.0.2 (which I cannot install due to certificate issues). |
Describe the bug
When setting up a CardDAV account on MacOS, one gets:
"Unable to verify account name or password."
Username and password are correct, no typo.
Steps to reproduce
Nextcloud runs in a subdirectory https://<server.domain>/nextcloud
Server Address: <server.domain>
Server Path: /nextcloud/remote.php/dav/addressbooks/users//contacts-1
Port: 443, [x] Use SSL
-> This leads to above mentioned error message, account gets created but no access is possible.
Expected behavior
Setup connection
Use Contacts
(as easy as that)
Actual behavior
Cannot connect CardDAV connector for MacOS (or IOS for that).
Contact version
7.0.1
Operating system
Synology
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MariaDB
Additional info
updated .htaccess to rewrite caldav and carddav paths
The text was updated successfully, but these errors were encountered: