[Bug 266298] deskutils/nextcloudclient

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Sep 2022 11:40:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266298

            Bug ID: 266298
           Summary: deskutils/nextcloudclient
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: peo@nethead.se

"Host not found" appears and disappears intermittently, unfortunately more off-
than online.

No DNS problem, server works ok with browser access. If one searches you will
see that the "Host not found" error is not confined to FreeBSD but I thought I
would just check if someone here had a solution.

Restart sometimes will resume sync, likewise do "No proxy" -> "Use system
Proxy" and back to "No proxy".

Problem is present over several versions of FreeBSD and Qt.

Some logging:

2022-09-07 12:29:39:372 [ debug nextcloud.sync.database.sql
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/common/ownsql.h:145
]   [ OCC::SqlQuery::bindValue ]:      SQL bind 1 3
2022-09-07 12:29:39:372 [ debug nextcloud.sync.database.sql
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/common/ownsql.cpp:295
] [ OCC::SqlQuery::exec ]:   SQL exec "SELECT path FROM selectivesync WHERE
type=?1"
2022-09-07 12:29:39:373 [ debug nextcloud.sync.database.sql
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/common/ownsql.h:145
]   [ OCC::SqlQuery::bindValue ]:      SQL bind 1 3
2022-09-07 12:29:39:373 [ debug nextcloud.sync.database.sql
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/common/ownsql.cpp:295
] [ OCC::SqlQuery::exec ]:   SQL exec "SELECT path FROM selectivesync WHERE
type=?1"
2022-09-07 12:29:39:373 [ info nextcloud.gui.account.state
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/accountstate.cpp:331
]:connection retry count 2
2022-09-07 12:29:39:373 [ debug nextcloud.sync.networkjob
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/abstractnetworkjob.cpp:298
] [ OCC::AbstractNetworkJob::slotFinished ]:      Network job
OCC::CheckServerJob finished for "status.php"
2022-09-07 12:29:42:652 [ info nextcloud.sync.clientproxy
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/clientproxy.cpp:98
]:Set proxy configuration to use NO proxy
2022-09-07 12:29:42:652 [ info nextcloud.gui.account.state
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/accountstate.cpp:270
]:check connectivity
2022-09-07 12:29:42:652 [ debug nextcloud.sync.account
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/account.cpp:339
]    [ OCC::Account::resetNetworkAccessManager ]:       Resetting QNAM
2022-09-07 12:29:42:652 [ info nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:117
]:      Get QNAM
2022-09-07 12:29:42:652 [ debug nextcloud.sync.connectionvalidator
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/connectionvalidator.cpp:54
]    [ OCC::ConnectionValidator::checkServerAndAuth ]:       Checking server
and authentication
2022-09-07 12:29:42:652 [ info nextcloud.gui.account.state
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/accountstate.cpp:270
]:check connectivity
2022-09-07 12:29:42:653 [ debug nextcloud.sync.account
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/account.cpp:339
]    [ OCC::Account::resetNetworkAccessManager ]:       Resetting QNAM
2022-09-07 12:29:42:653 [ info nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:117
]:      Get QNAM
2022-09-07 12:29:42:653 [ debug nextcloud.sync.connectionvalidator
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/connectionvalidator.cpp:54
]    [ OCC::ConnectionValidator::checkServerAndAuth ]:       Checking server
and authentication
2022-09-07 12:29:42:653 [ info nextcloud.sync.accessmanager
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/accessmanager.cpp:78
]:    2 "" "https://correct-host-name/status.php" has X-Request-ID
"471c5e23-7929-4abf-a8d3-aef8bc110113"
2022-09-07 12:29:42:653 [ debug nextcloud.sync.cookiejar
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/cookiejar.cpp:90
] [ OCC::CookieJar::cookiesForUrl ]:
QUrl("https://correct-host-name/status.php") requests:
(QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly;
expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=correct-host-name; path=/"),
QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly;
expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=correct-host-name; path=/"))
2022-09-07 12:29:42:654 [ info nextcloud.sync.networkjob
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/abstractnetworkjob.cpp:361
]: OCC::CheckServerJob created for "https://correct-host-name" + "status.php"
"OCC::ConnectionValidator"
2022-09-07 12:29:42:654 [ info nextcloud.sync.accessmanager
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/accessmanager.cpp:78
]:    2 "" "https://correct-host-name/status.php" has X-Request-ID
"3d3b3a90-8332-460b-bca9-3b2b739f85a3"
2022-09-07 12:29:42:654 [ debug nextcloud.sync.cookiejar
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/cookiejar.cpp:90
] [ OCC::CookieJar::cookiesForUrl ]:
QUrl("https://correct-host-name/status.php") requests:
(QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly;
expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=correct-host-name; path=/"),
QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly;
expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=correct-host-name; path=/"))
2022-09-07 12:29:42:655 [ info nextcloud.sync.networkjob
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/abstractnetworkjob.cpp:361
]: OCC::CheckServerJob created for "https://correct-host-name" + "status.php"
"OCC::ConnectionValidator"
2022-09-07 12:29:42:655 [ info nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:425
]:      request finished
2022-09-07 12:29:42:655 [ warning nextcloud.sync.networkjob
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/abstractnetworkjob.cpp:224
]:      QNetworkReply::HostNotFoundError "Host correct-host-name not found"
QVariant(Invalid)
2022-09-07 12:29:42:655 [ warning nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:227
]:   QNetworkReply::HostNotFoundError
2022-09-07 12:29:42:655 [ warning nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:228
]:   "Host correct-host-name not found"
2022-09-07 12:29:42:655 [ warning nextcloud.sync.networkjob.checkserver
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/libsync/networkjobs.cpp:542
]: error: status.php replied  0 ""
2022-09-07 12:29:42:655 [ warning nextcloud.sync.connectionvalidator
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/connectionvalidator.cpp:139
]:        QNetworkReply::HostNotFoundError "Host correct-host-name not found"
"Host correct-host-name not found" ""
2022-09-07 12:29:42:655 [ warning nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:227
]:   QNetworkReply::HostNotFoundError
2022-09-07 12:29:42:655 [ warning nextcloud.sync.credentials.webflow
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/creds/webflowcredentials.cpp:228
]:   "Host correct-host-name not found"
2022-09-07 12:29:42:656 [ info nextcloud.gui.folder.manager
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/folderman.cpp:721
]:  Account "peonet@correct-host-name" disconnected or paused, terminating or
descheduling sync folders
2022-09-07 12:29:42:656 [ debug nextcloud.gui.account.settings
/usr/ports/deskutils/nextcloudclient/work/desktop-3.5.3/src/gui/accountsettings.cpp:963
]   [ OCC::AccountSettings::showConnectionLabel ]:  "No connection to Nextcloud
at <a href=\"https://correct-host-name\">https://correct-host-name</a>.\nHost
correct-host-name not found"

-- 
You are receiving this mail because:
You are the assignee for the bug.