enboig
December 27, 2016, 12:20pm
1
I am using NC 11 (recently upgraded) and at some point my ubuntu client stopped connecting. The client logs says
12-27 13:06:39:149 2016 OCC::Account::resetNetworkAccessManager: Resetting QNAM
12-27 13:06:39:161 2016 OCC::ConnectionValidator::checkServerAndAuth: Checking server and authentication
12-27 13:06:39:163 2016 OCC::AbstractNetworkJob::start: !!! OCC::CheckServerJob created for "https://owncloud.example.com" + "status.php" "OCC::ConnectionValidator"
12-27 13:06:39:524 2016 OCC::CheckServerJob::finished: status.php returns: QMap(("edition", QVariant(QString, ""))("installed", QVariant(bool, true))("maintenance", QVariant(bool, false))("needsDbUpgrade", QVariant(bool, false))("productname", QVariant(QString, "MEG"))("version", QVariant(QString, "11.0.0.10"))("versionstring", QVariant(QString, "11.0.0"))) QNetworkReply::NetworkError(NoError) Reply: QNetworkReplyHttpImpl(0x1d7c970)
12-27 13:06:39:525 2016 OCC::ConnectionValidator::slotStatusFound: ** Application: ownCloud found: QUrl("https://owncloud.example.com/status.php") with version "11.0.0" ( "11.0.0.10" )
12-27 13:06:39:526 2016 OCC::ConnectionValidator::checkAuthentication: # Check whether authenticated propfind works.
12-27 13:06:39:527 2016 OCC::AbstractNetworkJob::start: !!! OCC::PropfindJob created for "https://owncloud.example.com" + "/" "OCC::ConnectionValidator"
12-27 13:07:06:147 2016 OCC::AbstractNetworkJob::slotTimeout: virtual void OCC::AbstractNetworkJob::slotTimeout() OCC::PropfindJob(0x1e481c0) Timeout QUrl("https://owncloud.example.com/remote.php/webdav/")
12-27 13:07:06:147 2016 OCC::AbstractNetworkJob::slotFinished: void OCC::AbstractNetworkJob::slotFinished() QNetworkReply::NetworkError(OperationCanceledError) "Operació cancel·lada" QVariant(Invalid)
12-27 13:07:06:148 2016 OCC::PropfindJob::finished: PROPFIND request *not* successful, http result code is 0 ""
12-27 13:07:06:148 2016 unknown: QIODevice::read (QNetworkReplyHttpImpl): device not open
12-27 13:07:06:148 2016 OCC::AccountSettings::showConnectionLabel: "No hi ha connexió amb ownCloud a <a href=\"https://owncloud.example.com\">https://owncloud.example.com</a>.\nOperació cancel·lada"
12-27 13:07:06:151 2016 OCC::FolderMan::slotAccountStateChanged: Account "webmaster@example.com@owncloud.example.com" disconnected or paused, terminating or descheduling sync folders
When accessing throught web it works ok. Recently we have changed our server certificate, I don’t know if this could be related.
Thanks
1 Like
enboig
December 27, 2016, 12:39pm
2
Removing the account and adding it again solved the problem. I compared the /home/user/.local/data/ownCloud/owncloud.cfg and the differences are:
NOT WORKING
[Accounts]
0\Folders\ownCloud\ignoreHiddenFiles=true
0\Folders\ownCloud\localPath=/home/user/ownCloud/
0\Folders\ownCloud\paused=false
0\Folders\ownCloud\targetPath=
0\authType=http
0\http_certificatePasswd=
0\http_certificatePath=
0\http_user=webmaster@example.com
0\serverVersion=11.0.0.10
0\url=https://owncloud.example.com
0\user=webmaster@example.com
WORKING
[Accounts]
0\Folders\1\ignoreHiddenFiles=true
0\Folders\1\localPath=/home/user/ownCloud/
0\Folders\1\paused=false
0\Folders\1\targetPath=/
0\authType=http
0\http_certificatePasswd=
0\http_certificatePath=
0\http_user=webmaster@example.com
0\serverVersion=
0\url=https://owncloud.example.com
0\user=webmaster@example.com
version=2
Bonjour !
I have the same problem.
Recently I have changed my password, I don’t know if this could be related.
Removing the account and adding it again solved the problem.
Do you solve your problem ?
Regards
Michel
enboig
February 16, 2018, 11:58am
4
I reinstalled the client, never learned why this happened.
same here:
updated to nextcloud 13 and latest client 2.3.3.1
Ubuntu 16.04.3 LTS
apache2
working on android - autosync/webdav
deleted account but not getting back to sync - operation canceled:
2-19 14:10:14:995 10832 OCC::AbstractNetworkJob::start: !!! OCC::PropfindJob created for "https://host.nextcloud/nextcloud" + "/" "OCC::ConnectionValidator"
02-19 14:10:41:990 10832 OCC::AbstractNetworkJob::slotTimeout: virtual void OCC::AbstractNetworkJob::slotTimeout() OCC::PropfindJob(0x8788328) Timeout QUrl("https://host.nextcloud/nextcloud/remote.php/webdav/")
02-19 14:10:41:990 10832 OCC::AbstractNetworkJob::slotFinished: void OCC::AbstractNetworkJob::slotFinished() QNetworkReply::NetworkError(OperationCanceledError) "Operation canceled" QVariant(Invalid)
02-19 14:10:41:990 10832 OCC::PropfindJob::finished: PROPFIND request *not* successful, http result code is 0 ""
02-19 14:10:41:990 10832 unknown: QIODevice::read (QNetworkReplyHttpImpl): device not open
02-19 14:10:41:990 10832 OCC::AccountSettings::showConnectionLabel: "No connection to Nextcloud at <a href=\"https://host.nextcloud/nextcloud\">https://host.nextcloud/nextcloud</a>.\nOperation canceled"
02-19 14:10:41:990 10832 OCC::FolderMan::slotAccountStateChanged: Account "mibro@host.nextcloud" disconnected or paused, terminating or descheduling sync folders
02-19 14:10:46:873 10832 OCC::Account::resetNetworkAccessManager: Resetting QNAM
02-19 14:10:46:873 10832 OCC::ConnectionValidator::checkServerAndAuth: Checking server and authentication
02-19 14:10:46:873 10832 OCC::AbstractNetworkJob::start: !!! OCC::CheckServerJob created for "https://host.nextcloud/nextcloud" + "status.php" "OCC::ConnectionValidator"
02-19 14:10:46:973 10832 OCC::CheckServerJob::finished: status.php returns: QMap(("edition", QVariant(QString, ""))("installed", QVariant(bool, true))("maintenance", QVariant(bool, false))("needsDbUpgrade", QVariant(bool, false))("productname", QVariant(QString, "Nextcloud"))("version", QVariant(QString, "13.0.0.14"))("versionstring", QVariant(QString, "13.0.0"))) QNetworkReply::NetworkError(NoError) Reply: QNetworkReplyHttpImpl(0x868eea0)
02-19 14:10:46:973 10832 OCC::ConnectionValidator::slotStatusFound: ** Application: ownCloud found: QUrl("https://host.nextcloud/nextcloud/status.php") with version "13.0.0" ( "13.0.0.14" )
02-19 14:10:46:973 10832 OCC::ConnectionValidator::setAndCheckServerVersion: QUrl("https://host.nextcloud/nextcloud") has server version "13.0.0.14"
02-19 14:10:46:973 10832 OCC::ConnectionValidator::checkAuthentication: # Check whether authenticated propfind works.
02-19 14:10:46:973 10832 OCC::AbstractNetworkJob::start: !!! OCC::PropfindJob created for "https://host.nextcloud/nextcloud" + "/" "OCC::ConnectionValidator"
any suggestions?
UPDATE:
ok, so the issue for me appears to be the bruteforce protection feature on the NC server. I don’t know all of the options, but if you can use phpmyadmin to access your database tables and clear out the entries inside the “oc_bruteforce_attempts” table, it should solve the issue.
===========================
I’m seeing this issue suddenly also. I cannot explain what is happening. I made NO CHANGES to the client.
My other clients are JUST FINE.
I have been doing work on my server, but the server application is isolated from the OS packages (unless it is fundamental). And I did not change the NC server.
Here is the kicker. If you add a new account in the NC client - it will sync without issue. If you close and re-open the client, it will fail to sync. Repeat the add of that same user and it will sync again.
yova
May 12, 2018, 10:07pm
7
The same here with NC 13.0.2 and client 2.3.3
In client logs we find:
QIODevice::read (QNetworkReplyHttpImpl): device not open
Workaround:
Clear Bruteforce attempts database with:
delete from oc_bruteforce_attempts;
1 Like