Windows Client delayed sync errors after mobile upload

Nextcloud version (eg, 29.0.5): [Nextcloud Hub 8] (29.0.4)
Operating system and version (eg, Ubuntu 24.04): Windows 11 22631
Apache or nginx version (eg, Apache 2.4.25): AIO backend
PHP version (eg, 8.3): AIO backend

The issue you are facing:
After I take photos with my phone they auto-upload to the NC instance but then when my PC goes to sync them I get errors for up to an hour later. The error will finally clear and sync the photos.
File name with name NAME_HERE.jpg could not be located.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Upload photos via mobile app
  2. Sync on PC immediately
  3. Fail

The output of your Nextcloud log in Admin > Logging:

Error	no app in context	
Exception HMAC does not match.
Could not decrypt or decode encrypted session data 

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

IN AIO docker, Ask if needed....

The output of your Apache/nginx/system log in /var/log/____:

IN AIO docker, Ask if needed....

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

IN AIO docker, Ask if needed....

Are you using end-to-end encryption? If so, is it enabled and configured on both devices with the same mnemonic?

The error will finally clear and sync the photos.

To clarify: Are the uploaded photos ultimately accessible from the Windows desktop even after the errors? You can open them just fine?

Hey Josh,

Not doing anything special with encryption on my AIO install.
Basically the sync ultimately works (given time), but in the moment I take a photo and it syncs from the mobile app to the server it tries to sync on the PC but generates the “could not be located” error for at least 30 min EVEN though it’s on the server (and I can get it on the web interface).
This issue has been happening for a while (version after version).