[Bug]: Client synchronization timed out and failed
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
My Windows client is version 3.16.0, and the server is version 31.0.0. Recently, I've noticed that some clients are unable to synchronize files. Occasionally, one or two files can be synchronized successfully, but most of the time, the synchronization fails.
I have multiple clients, but only one of them is experiencing this issue. Additionally, I am also using Obsidian, which synchronizes Markdown files through its sync plugin. The synchronization in Obsidian works perfectly fine.
The logs are as follows:
```
2025-03-12 13:45:09:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:14:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 311622
2025-03-12 13:45:14:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:14:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1006 ]: Etag poll timer timeout
2025-03-12 13:45:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1010 ]: Folders to sync: 1
2025-03-12 13:45:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1020 ]: Number of folders that don't use push notifications: 1
2025-03-12 13:45:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1037 ]: Run etag job on folder OCC::Folder(0x210b3288a00)
2025-03-12 13:45:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1043 ]: Can not run etag job: Sync is running
2025-03-12 13:45:19:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 316623
2025-03-12 13:45:19:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:19:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:24:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 321622
2025-03-12 13:45:24:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:24:385 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:29:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 326621
2025-03-12 13:45:29:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:29:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:34:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 331624
2025-03-12 13:45:34:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:34:386 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:39:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 336622
2025-03-12 13:45:39:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:39:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:44:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 341622
2025-03-12 13:45:44:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:44:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1006 ]: Etag poll timer timeout
2025-03-12 13:45:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1010 ]: Folders to sync: 1
2025-03-12 13:45:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1020 ]: Number of folders that don't use push notifications: 1
2025-03-12 13:45:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1037 ]: Run etag job on folder OCC::Folder(0x210b3288a00)
2025-03-12 13:45:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1043 ]: Can not run etag job: Sync is running
2025-03-12 13:45:49:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 346622
2025-03-12 13:45:49:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:49:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:54:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 351622
2025-03-12 13:45:54:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:54:384 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:45:56:504 [ info nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:596 ]: Skipping server availability check for account "yangyunzhao" with state 2
2025-03-12 13:45:56:504 [ info nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:290 ]: check connectivity
2025-03-12 13:45:56:504 [ warning nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:297 ]: ConnectionValidator already running, ignoring "yangyunzhao@nas.znmlr.cn:15443"
2025-03-12 13:45:59:402 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 356639
2025-03-12 13:45:59:402 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:45:59:402 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:04:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 361637
2025-03-12 13:46:04:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:04:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:09:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 366637
2025-03-12 13:46:09:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:09:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:14:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 371637
2025-03-12 13:46:14:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:14:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1006 ]: Etag poll timer timeout
2025-03-12 13:46:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1010 ]: Folders to sync: 1
2025-03-12 13:46:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1020 ]: Number of folders that don't use push notifications: 1
2025-03-12 13:46:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1037 ]: Run etag job on folder OCC::Folder(0x210b3288a00)
2025-03-12 13:46:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1043 ]: Can not run etag job: Sync is running
2025-03-12 13:46:19:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 376637
2025-03-12 13:46:19:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:19:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:24:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 381637
2025-03-12 13:46:24:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:24:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:29:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 386637
2025-03-12 13:46:29:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:29:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:34:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 391637
2025-03-12 13:46:34:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:34:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:39:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 396638
2025-03-12 13:46:39:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:39:400 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:44:416 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 401654
2025-03-12 13:46:44:416 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:44:416 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1006 ]: Etag poll timer timeout
2025-03-12 13:46:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1010 ]: Folders to sync: 1
2025-03-12 13:46:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1020 ]: Number of folders that don't use push notifications: 1
2025-03-12 13:46:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1037 ]: Run etag job on folder OCC::Folder(0x210b3288a00)
2025-03-12 13:46:47:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1043 ]: Can not run etag job: Sync is running
2025-03-12 13:46:49:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 406653
2025-03-12 13:46:49:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:49:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:54:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 411653
2025-03-12 13:46:54:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:54:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:46:58:509 [ info nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:596 ]: Skipping server availability check for account "yangyunzhao" with state 2
2025-03-12 13:46:58:510 [ info nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:290 ]: check connectivity
2025-03-12 13:46:58:510 [ warning nextcloud.gui.account.state C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\accountstate.cpp:297 ]: ConnectionValidator already running, ignoring "yangyunzhao@nas.znmlr.cn:15443"
2025-03-12 13:46:59:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 416653
2025-03-12 13:46:59:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:46:59:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:04:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 421653
2025-03-12 13:47:04:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:04:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:09:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 426653
2025-03-12 13:47:09:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:09:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:14:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 431653
2025-03-12 13:47:14:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:14:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1006 ]: Etag poll timer timeout
2025-03-12 13:47:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1010 ]: Folders to sync: 1
2025-03-12 13:47:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1020 ]: Number of folders that don't use push notifications: 1
2025-03-12 13:47:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1037 ]: Run etag job on folder OCC::Folder(0x210b3288a00)
2025-03-12 13:47:17:072 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1043 ]: Can not run etag job: Sync is running
2025-03-12 13:47:18:428 [ info nextcloud.gui.socketapi C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\socketapi\socketapi.cpp:354 ]: Lost connection QLocalSocket(0x210b34bfd90)
2025-03-12 13:47:19:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 436653
2025-03-12 13:47:19:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:19:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:23:134 [ info nextcloud.gui.socketapi C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\socketapi\socketapi.cpp:354 ]: Lost connection QLocalSocket(0x210b34c0070)
2025-03-12 13:47:24:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 441653
2025-03-12 13:47:24:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:24:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:29:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 446653
2025-03-12 13:47:29:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
2025-03-12 13:47:29:415 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:755 ]: Sync for folder "1" already scheduled, do not enqueue!
2025-03-12 13:47:34:416 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:1160 ]: Scheduling folder "1" , the last 2 syncs failed , anotherSyncNeeded 0 , last status: "Sync running" , time since last sync: 451653
2025-03-12 13:47:34:416 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp:720 ]: Schedule folder "1" to sync!
```
### Steps to reproduce
No additional operations were performed; it's like this right after startup. Occasionally, one or two files can be synchronized successfully.
### Expected behavior
I have tried the following:
1.Deleted all cache files, including the .sync_***.db files in both the system directory and the target directory.
2.Uninstalled the Nextcloud client, restarted the computer, and reinstalled the client.
However, neither of these methods worked.
### Which files are affected by this bug
C:\Users\User\AppData\Local\Temp\windows-29045\client-building\desktop\src\gui\folderman.cpp
### Operating system
Windows
### Which version of the operating system you are running.
Windows 10
### Package
Official Windows MSI
### Nextcloud Server version
31.0.0
### Nextcloud Desktop Client version
3.16.0
### Is this bug present after an update or on a fresh install?
Fresh desktop client install
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
{"reqId":"Z9Dcv0GafkYgrsyNcf9nWAAAAAg","level":2,"time":"2025-03-12T01:00:47+00:00","remoteAddr":"192.168.31.1","user":"yangyunzhao","app":"no app in context","method":"GET","url":"/nextcloud/ocs/v1.php/cloud/capabilities?format=json","message":"Capabilities of OCA\\Files\\DirectEditingCapabilities took 0.440000000000000002220446049250313080847263336181640625 seconds to generate.","userAgent":"Mozilla/5.0 (Windows) mirall/3.16.0 (build 20250306) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.18","data":[]}
{"reqId":"Z9Dv9Ujqkewk0idDWyDaBQAAAAQ","level":3,"time":"2025-03-12T02:22:46+00:00","remoteAddr":"192.168.31.1","user":false,"app":"no app in context","method":"POST","url":"/nextcloud/index.php/login/v2","message":"Could not decrypt or decode encrypted session data","userAgent":"DESKTOP-989I3L8 (Desktop Client - Windows)","version":"31.0.0.18","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/private/Security/Crypto.php","line":98,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/private/Session/CryptoSessionData.php","line":70,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/private/Session/CryptoSessionData.php","line":47,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->","args":[]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/private/Session/CryptoWrapper.php","line":94,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->","args":[{"__class__":"OC\\Session\\Internal"},{"__class__":"OC\\Security\\Crypto"},"*** sensitive parameters replaced ***"]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/base.php","line":410,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->","args":[{"__class__":"OC\\Session\\Internal"}]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/base.php","line":679,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/base.php","line":1149,"function":"init","class":"OC","type":"::","args":[]},{"file":"/mnt/10T/opt/lampp/htdocs/nextcloud/index.php","line":22,"args":["/mnt/10T/opt/lampp/htdocs/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/mnt/10T/opt/lampp/htdocs/nextcloud/lib/private/Security/Crypto.php","Line":162,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
```
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.