Nextcloud version (eg, 12.0.2): 15.0.7
Operating system and version (eg, Ubuntu 17.04): FreeBSD
Apache or nginx version (eg, Apache 2.4.25): nginx/1.16.0
PHP version (eg, 7.1): PHP 7.1.29
I have a working NextCloud desktop client across 5 different machines, and all of them are completely problem-free. One machine however suffers an issue which started more than a month ago, and I still have no resolution. It simply will not connect at all.
The only error message is “No connection to Nextcloud at nextcloud.mydomain.TLD”.
It seems to maybe have something to do with encryption, though again, it works 100% fine over several other different clients. I’ve tried using my actual username/password, and/or several different (freshly generated, even) app passwords (even the ones that work on other machines).
Using the --log option, the only log messages that seem to be relevant are these (note that there is an absurd rule that “new users can only post 4 links in a given post”, and worse, the actual limit seems to be zero, so, this is highly incomplete but should be enough to see what’s going on):
[OCC::ConnectionValidator::slotCapabilitiesRecieved | Server capabilities QJsonObject({“activity”:{“apiv2”:[“filters”,“filters-api”,“previews”,“rich-strings”]},“bruteforce”:{“delay”:1600},“core”:{“pollinterval”:60,“webdav-root”:“remote.php/webdav”},“dav”:{“chunking”:“1.0”},“end-to-end-encryption”:{“api-version”:“1.0”,“enabled”:true},“files”:{“bigfilechunking”:true,“blacklisted_files”:[".htaccess"],“undelete”:true,“versioning”:true},“files_sharing”:{“api_enabled”:true,“default_permissions”:31,“federation”:{“expire_date”:{“enabled”:true},“incoming”:true,“outgoing”:true},“group”:{“enabled”:true,“expire_date”:{“enabled”:true}},“group_sharing”:true,“public”:{“enabled”:true,“expire_date”:{“enabled”:false},“multiple_links”:true,“password”:{“enforced”:false},“send_mail”:false,“upload”:true,“upload_files_drop”:true},“resharing”:true,“sharebymail”:{“enabled”:true,“expire_date”:{“enabled”:true},“password”:{“enabled”:true},“upload_files_drop”:{“enabled”:true}},“user”:{“expire_date”:{“enabled”:true},“send_mail”:false}},“notifications”:{“admin-notifications”:[“ocs”,“cli”],“ocs-endpoints”:[“list”,“get”,“delete”,“delete-all”,“icons”,“rich-strings”],“push”:[“devices”,“object-data”]},“ocm”:{“apiVersion”:“1.0-proposal1”,“enabled”:true,“endPoint”:"/ocm",“resourceTypes”:[{“name”:“file”,“protocols”:{“webdav”:"/public.php/webdav/"},“shareTypes”:[“user”,“group”]}]},“password_policy”:{“enforceNonCommonPassword”:true,“enforceNumericCharacters”:false,“enforceSpecialCharacters”:false,“enforceUpperLowerCase”:false,“minLength”:8},“theming”:{“background”:"/core/img/background.png?v=3",“background-default”:true,“background-plain”:false,“color”:"#0082c9",“color-element”:"#0082c9",“color-text”:"#ffffff",“logo”:"/core/img/logo/logo.svg?v=3",“name”:“mydomain Nextcloud”,“slogan”:“all uploads and files are encrypted”,“url”:""}}) |
---|---|
[OCC::AccessManager::createRequest | 2 “” “/ocs/v1.php/cloud/user?format=json” has X-Request-ID “ffb355fa-ab52-46de-aa7a-92567d93fddc” |
[OCC::AbstractNetworkJob::start | OCC::JsonApiJob created for “” + “ocs/v1.php/cloud/user” “OCC::ConnectionValidator” |
[OCC::WebFlowCredentials::slotFinished | request finished |
[OCC::JsonApiJob::finished | JsonApiJob of QUrl("/ocs/v1.php/config?format=json") FINISHED WITH STATUS “OK” |
[OCC::ConnectionValidator::ocsConfigReceived | Determined user-visible host to be “nextcloud.mydomain.TLD” |
[OCC::WebFlowCredentials::slotFinished | request finished |
[OCC::JsonApiJob::finished | JsonApiJob of QUrl("/ocs/v1.php/cloud/user?format=json") FINISHED WITH STATUS “OK” |
[OCC::AccessManager::createRequest | 2 “” “/remote.php/dav/avatars/me/128.png” has X-Request-ID “08ca0894-0e6d-4e50-b725-40045d2722e8” |
[OCC::AbstractNetworkJob::start | OCC::AvatarJob created for “” + “” “OCC::ConnectionValidator” |
[OCC::WebFlowCredentials::slotFinished | request finished |
[OCC::ClientSideEncryption::initialize | Initializing |
[OCC::ClientSideEncryption::getPublicKeyFromServer | Retrieving public key from server |
[OCC::AccessManager::createRequest | 2 “” “/ocs/v2.php/apps/end_to_end_encryption/api/v1/public-key?format=json” has X-Request-ID “8d97c0d9-5cbf-4d5c-8f44-f2185d3f6366” |
[OCC::AbstractNetworkJob::start | OCC::JsonApiJob created for “” + “ocs/v2.php/apps/end_to_end_encryption/api/v1/public-key” “OCC::ClientSideEncryption” |
[OCC::WebFlowCredentials::slotFinished | request finished |
[OCC::JsonApiJob::finished | JsonApiJob of QUrl("/ocs/v2.php/apps/end_to_end_encryption/api/v1/public-key?format=json") FINISHED WITH STATUS “OK” |
[OCC::ClientSideEncryption::getPublicKeyFromServer::::operator() | “-----BEGIN CERTIFICATE-----\nMIIDQTCCAimgAwIBAgIBADANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQGEwJERTEb\nMBkGA1UECAwSQmFkZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQx\nEjAQBgNVBAoMCU5leHRjbG91ZDEQMA4GA1UEAwwHYmdtb3NlcjAeFw0xOTA0MTky\nMzMzMTlaFw0zOTA0MTQyMzMzMTlaMGQxCzAJBgNVBAYTAkRFMRswGQYDVQQIDBJC\nYWRlbi1XdWVydHRlbWJlcmcxEjAQBgNVBAcMCVN0dXR0Z2FydDESMBAGA1UECgwJ\nTmV4dGNsb3VkMRAwDgYDVQQDDAdiZ21vc2VyMIIBIjANBgkqhkiG9w0BAQEFAAOC\nAQ8AMIIBCgKCAQEArU8UlsPNudhlE6H4v+Wc4mWlWUhdPGoOhrVKA/F1WK7wAgmS\nI/bUVCcFJ8I1R53Da6o4lYoLuC9Kw8xiSpkLkMdSdKiZJWKG2Ezk9B6H6jeH3/wg\nxfj1KjnfazxJgmSmQKYijt9H2Oq/UmQJHrTUMrqcXXG6xt8Xkboqac21WOJguISo\nuT4dSpshqVG/tW2AVj5BO8v/440gfltlT9hL9hB1Hcr0DrfJQMDDhOA0U9Yzuk8E\nX45qFJgFd/ZeaTHWiwW5eWLsNBPhwuGWg15PEncZdABAnFoEjUJY0stYyKSIscuh\np2DMbfEJTAIfytbHQX7evjfuKCHGereG5nX0UQIDAQABMA0GCSqGSIb3DQEBBQUA\nA4IBAQCNGK+lOF5weSV6KPXwTGQiFwSO3nibjx3VQS+KyVCfj8J/b6l1SsuufLWb\n4ijsclamBym+kDHojFn1lfK+KSRyBMfx9bQJ8IN1oGaOAOALvxolL49KtskLt6xR\n5wj6VVZCttxhMhptNvRXgxIjDIEIA4itq/VSZoMNVY0ugkULnObJ7Y0s30KG3p6M\nliQtcjrSGoBpgHmJmRHxsSCP/cZZ+gWiOx2rWenyhViIxQqX7hVrld7Y68HSBNYr\nZAlUVr0c1/6uMbZhFLCMQ8DLFZCoLPg4qO1zfeJ8ioNgk3crqdRRkhQa7/ChFCV1\nc2TxrVofbHX1/c8WIdn4oJwaQXPs\n-----END CERTIFICATE-----\n” |
[OCC::ClientSideEncryption::getPublicKeyFromServer::::operator() | Found Public key, requesting Private Key. |
[OCC::ClientSideEncryption::getPrivateKeyFromServer | Retrieving private key from server |
[OCC::AccessManager::createRequest | 2 “” “/ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json” has X-Request-ID “77d65553-deaa-4921-8ab4-3627e3ce1c54” |
[OCC::AbstractNetworkJob::start | OCC::JsonApiJob created for “” + “ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key” “OCC::ClientSideEncryption” |
[OCC::WebFlowCredentials::slotFinished | request finished |
[OCC::AbstractNetworkJob::slotFinished | QNetworkReply::NetworkError(ContentNotFoundError) “Server replied “404 Not Found” to “GET /ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json”” QVariant(int, 404) |
[OCC::WebFlowCredentials::stillValid | QNetworkReply::NetworkError(ContentNotFoundError) |
[OCC::WebFlowCredentials::stillValid | “Error transferring /ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json - server replied: Not Found” |
[OCC::JsonApiJob::finished | JsonApiJob of QUrl("/ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json") FINISHED WITH STATUS “ContentNotFoundError Server replied “404 Not Found” to “GET /ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json”” |
[OCC::JsonApiJob::finished | Network error: “ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key” “Server replied “404 Not Found” to “GET /ocs/v2.php/apps/end_to_end_encryption/api/v1/private-key?format=json”” QVariant(int, 404) |
[OCC::ClientSideEncryption::getPrivateKeyFromServer::::operator() | No private key on the server: setup is incomplete. |
[OCC::OCUpdater::backgroundCheckForUpdate | Checking for available update |
[OCC::AccessManager::createRequest | 2 “” “[NEXTCLOUD UPDATE SERVER]client/?version=2.5.2.20190319&platform=win32&oem=Nextcloud&versionsuffix=git” has X-Request-ID “7752f2ad-0382-4d70-86bf-5fb4bddcc1cc” |
[OCC::NSISUpdater::versionInfoArrived | Client is on latest version! |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
[OCC::AccountState::checkConnectivity | ConnectionValidator already running, ignoring “me@nextcloud.mydomain.TLD” |
I have not been able to sync this client for more than a month, and it’s becoming more and more of a serious problem for me.
Anybody have any ideas? Thanks!