Skip to content

Client does not sync after resume from hibernation (Windows 11) #957

Description

@ktdd

Steps to reproduce

  1. Have the client running and syncing normally
  2. Hibernate the machine (I do this every night)
  3. Resume from hibernation (every morning)
  4. Client no longer syncs; new local changes are not uploaded and log doesn't update
  5. Restart the client → it reconnects and syncs the backlog immediately

Expected behavior

After resume, the client should detect the dropped connection and re-establish it automatically

Actual behavior

The client stays in a stuck, non-syncing state and makes no successful reconnection attempt. Only a full restart recovers it.

Setup

Desktop client: 3.0.3
OS: Windows 11
Server version: 7.0.0
Sleep mode: hibernation

Log entries before restart:

#=#=#=# Syncrun started 2026-06-21T06:27:21Z
#=#=#=# Syncrun finished 2026-06-21T06:27:21Z (last step: duration(0h, 0min, 0s, 381ms) , total: duration(0h, 0min, 0s, 381ms) ) 
#=#=#=# Syncrun started 2026-06-21T07:29:21Z
#=#=#=# Syncrun finished 2026-06-21T07:29:21Z (last step: duration(0h, 0min, 0s, 424ms) , total: duration(0h, 0min, 0s, 424ms) ) 
#=#=#=# Syncrun started 2026-06-21T07:44:38Z
2026-06-21T07:44:38+00:00 | [REDACTED] | CSyncEnums::CSYNC_INSTRUCTION_NEW | OCC::SyncFileItem::Up | | 1782027868 | e4cf855fa7d908b6ef2231ea0c80c388 | 94626 | cedb92c4-2e2b-4612-bb3f-7efb13cf1aa8$b0c6d86d-5e8b-41f3-98c5-036c93c1dead!8f9bc850-72f5-4e24-b376-284773e50554 | OCC::SyncFileItem::Success |  | 201 | 0 | 0 | 4e2267ec-2438-4129-ad94-951f62ab250c | 
#=#=#=# Syncrun finished 2026-06-21T07:44:38Z (last step: duration(0h, 0min, 0s, 244ms) , total: duration(0h, 0min, 0s, 244ms) ) 
#=#=#=# Syncrun started 2026-06-21T07:44:42Z
#=#=#=# Syncrun finished 2026-06-21T07:44:43Z (last step: duration(0h, 0min, 0s, 400ms) , total: duration(0h, 0min, 0s, 400ms) ) 
#=#=#=# Syncrun started 2026-06-21T07:51:18Z
2026-06-21T07:51:18+00:00 | [REDACTED] | CSyncEnums::CSYNC_INSTRUCTION_SYNC | OCC::SyncFileItem::Up | | 1782028268 | 34881d76afd38c27800d834054e5e739 | 94050 | cedb92c4-2e2b-4612-bb3f-7efb13cf1aa8$b0c6d86d-5e8b-41f3-98c5-036c93c1dead!8f9bc850-72f5-4e24-b376-284773e50554 | OCC::SyncFileItem::Success |  | 201 | 94626 | 1782027868 | 8c02964d-b322-4ee0-bc03-d97849d4e074 | 
#=#=#=# Syncrun finished 2026-06-21T07:51:18Z (last step: duration(0h, 0min, 0s, 210ms) , total: duration(0h, 0min, 0s, 210ms) ) 
#=#=#=# Syncrun started 2026-06-21T07:51:43Z
#=#=#=# Syncrun finished 2026-06-21T07:51:44Z (last step: duration(0h, 0min, 0s, 393ms) , total: duration(0h, 0min, 0s, 393ms) ) 

Log entries after restarting the client:

#=#=#=# Syncrun started 2026-06-24T08:08:41Z
2026-06-24T08:08:41+00:00 | [REDACTED] | CSyncEnums::CSYNC_INSTRUCTION_NEW | OCC::SyncFileItem::Up | | 1781629296 | 585c01f9285236e929a30214dca49d9b | 36024 | cedb92c4-2e2b-4612-bb3f-7efb13cf1aa8$b0c6d86d-5e8b-41f3-98c5-036c93c1dead!4e332934-dd27-4196-bea3-3c4e0fa76b81 | OCC::SyncFileItem::Success |  | 201 | 0 | 0 | 255ef511-62d3-4504-84c2-52c829b98e9c | 
2026-06-24T08:08:41+00:00 | [REDACTED] | CSyncEnums::CSYNC_INSTRUCTION_SYNC | OCC::SyncFileItem::Up | | 1782287506 | 2404c3d9d447ccb472ea72fbcbc7e6af | 234670 | cedb92c4-2e2b-4612-bb3f-7efb13cf1aa8$b0c6d86d-5e8b-41f3-98c5-036c93c1dead!1b6da198-b867-4b1c-8893-45ae934aa9c7 | OCC::SyncFileItem::Success |  | 201 | 234333 | 1781868319 | 55fd2ee9-05ce-4594-88ba-6aacc4d1f7c8 | 
2026-06-24T08:08:41+00:00 | [REDACTED] | CSyncEnums::CSYNC_INSTRUCTION_SYNC | OCC::SyncFileItem::Up | | 1782045764 | 6b28ac654b043533d084bbbd38da1af0 | 95091 | cedb92c4-2e2b-4612-bb3f-7efb13cf1aa8$b0c6d86d-5e8b-41f3-98c5-036c93c1dead!8f9bc850-72f5-4e24-b376-284773e50554 | OCC::SyncFileItem::Success |  | 201 | 94050 | 1782028268 | 3bafc03e-b2a6-4aa1-9867-2c012203a180 | 
#=#=#=# Syncrun finished 2026-06-24T08:08:41Z (last step: duration(0h, 0min, 0s, 435ms) , total: duration(0h, 0min, 0s, 435ms) ) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions