Can't connect new account after authenticating Nextcloud account

  • Debug Info:

    Have attempted to add my Nextcloud account.

    The process goes:
    Nextcloud > Settings > Sync calendar & contacts > DAVx5 opens > login through hosting page > authenticate > attempts to connect to DAVx5 servers > “Configuration detection / Couldn’t find CalDAV or CardDAV service.”

    Here’s the error info:

    The authentication is backed on the Nextcloud side as the access is logged each time I authenticate, and it works according to them.

    Any help would be greatly appreciated.

  • developer

    It’s an authentication problem for sure:

    2020-02-12 01:02:48 5175 [HttpClient] --> PROPFIND
    2020-02-12 01:03:14 5175 [HttpClient] <-- 401 (25404ms)
    2020-02-12 01:03:14 5175 [HttpClient] <?xml version="1.0" encoding="utf-8"?>
    <d:error xmlns:d="DAV:" xmlns:s="">
      <s:message>No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect</s:message>

    Well of course there is no password in the logs. Which authentication method do you use in Nextcloud? Local auth, LDAP? 2FA?

    Can you provide a test account where I can reproduce this?

  • @rfc2822 Sure thing, here’s the info for a test account:

    It was already happening with just the password on its own. I went through and disabled all extra security to test it, and the same result each time.

  • @ianwal oh, and the website is the following:

  • developer

    Thanks. Works without problems here… which Android version do you have? May non-compatible TLS ciphers?

Similar topics