Client Nextcloud ne veut plus se connecter

Bonjour,

Mes clients Nextcloud (sur plusieurs machines Linux et Windows), ainsi que le client d’un autre utilisateur de mon serveur, se sont subitement mis à ne plus vouloir se connecter, la synchronisation étant donc désormais coupée.

L’accès Web s’effectue sans problème, ainsi que l’accès webdav via Nautilus sous Gnome.

J’ai supprimé mon compte sur le client de ma machine Linux. Lorsque je tente de le reconfigurer, j’ai bien mon navigateur Web qui s’ouvre pour autoriser la connexion. Je valide donc, mais le client me dit alors sobrement “Accès impossible”.

Voici un extrait des logs du client

2023-01-11 21:15:54:138 [ info nextcloud.sync.accessmanager /builddir/build/BUILD/desktop-3.6.4/src/libsync/accessmanager.cpp:78 ]:	4 "" "https://nc.10qt.net/login/v2/poll" has X-Request-ID "b76cb6c9-d0e4-40e6-87db-afacd906606b"
2023-01-11 21:15:54:138 [ debug nextcloud.sync.cookiejar /builddir/build/BUILD/desktop-3.6.4/src/libsync/cookiejar.cpp:90 ]	[ OCC::CookieJar::cookiesForUrl ]:	QUrl("https://nc.10qt.net/login/v2/poll") requests: (QNetworkCookie("oc_sessionPassphrase=HofRIhOyP%2BKVDYc9WgbihPp%2BrrDZRrgisxyfBqrkabvia83n8paoZzUp%2FHSmtl4U2%2Bd0f93Vq40elYRmrw4i38Q%2BdKurHIBUhmqw76c8%2F6v9j4BT8mXKspAa0BV8rw%2BF; secure; HttpOnly; SameSite=Lax; domain=nc.10qt.net; path=/"), QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=nc.10qt.net; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=nc.10qt.net; path=/"), QNetworkCookie("oc0cjdigdqju=g1medeielo1gsr2p46mk1qrjoq; secure; HttpOnly; SameSite=Lax; domain=nc.10qt.net; path=/"))
2023-01-11 21:15:54:139 [ info nextcloud.sync.networkjob /builddir/build/BUILD/desktop-3.6.4/src/libsync/abstractnetworkjob.cpp:361 ]:	OCC::SimpleNetworkJob created for "https://nc.10qt.net" + "" ""
2023-01-11 21:15:54:259 [ warning nextcloud.sync.networkjob /builddir/build/BUILD/desktop-3.6.4/src/libsync/abstractnetworkjob.cpp:224 ]:	QNetworkReply::ContentNotFoundError "Le serveur a répondu \"404 Not Found\"  à \"POST https://nc.10qt.net/login/v2/poll\"" QVariant(int, 404)
2023-01-11 21:15:54:259 [ debug nextcloud.sync.credentials.flow2auth /builddir/build/BUILD/desktop-3.6.4/src/gui/creds/flow2auth.cpp:244 ]	[ OCC::Flow2Auth::slotPollTimerTimeout()::<lambda ]:	Error when polling for the appPassword QJsonObject({"error":null}) "Une erreur est survenue en accédant au \"jeton\"  : <br><em>Error transferring https://nc.10qt.net/login/v2/poll - server replied: Not Found</em>"
2023-01-11 21:15:54:259 [ debug nextcloud.sync.networkjob /builddir/build/BUILD/desktop-3.6.4/src/libsync/abstractnetworkjob.cpp:298 ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job OCC::SimpleNetworkJob finished for ""
2023-01-11 21:15:55:990 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:896 ]:	Etag poll timer timeout
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:900 ]:	Folders to sync: 2
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:910 ]:	Number of folders that don't use push notifications: 2
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:927 ]:	Run etag job on folder OCC::Folder(0x555c3afaa590)
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:941 ]:	Can not run etag job: Folder is disabled
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:927 ]:	Run etag job on folder OCC::Folder(0x555c3b26be20)
2023-01-11 21:15:55:991 [ info nextcloud.gui.folder.manager /builddir/build/BUILD/desktop-3.6.4/src/gui/folderman.cpp:941 ]:	Can not run etag job: Folder is disabled
2023-01-11 21:15:58:825 [ info nextcloud.sync.accessmanager /builddir/build/BUILD/desktop-3.6.4/src/libsync/accessmanager.cpp:78 ]:	4 "" "https://nc.10qt.net/index.php/login/v2" has X-Request-ID "c358b1be-e368-4e93-a730-f3fd6de27b44"

Tout est à jour côté serveur. Côté client, je suis en version 3.6.4 (qui semble être la dernière).

Merci :slight_smile:

1 Like

Hello,

Il y a des investigations en cours ici : Nextcloud no longer able to login since ssowat update - #10 by deljones

Et, là : Authentication error for Nextcloud client - 401 Authorization Required · Issue #545 · YunoHost-Apps/nextcloud_ynh · GitHub

Affaire à suivre :slight_smile:

1 Like

@Guillermo merci por votre aide.

That’s as good as my French gets. Sorry. But I am learning, honestly!

Dj

2 Likes

Merci beaucoup @Guillermo, je vais suivre cela de près !

Hello,

Une solution as été trouvé ici : Nextcloud clients no longer able to login since last ssowat update - #47 by Guillermo

N’hésitez pas à en prendre connaissance :blush:

1 Like

Merci beaucoup d’avoir pris le temps de m’en informer ici :slight_smile: