owncloud / android

:phone: The ownCloud Android App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync stops after Network switch

the-hotmann opened this issue · comments

Describe the bug

When the network switches from WiFi to mobile while syncing, the syncing process will stop and needs to be manually started again to continue. This is not appreciated; it should resume automatically.

Steps to reproduce

  1. Start syncing.
  2. Switch networks.
  3. Realize it has stopped.

Expected behavior

If the network I switched to is set/allowed to sync, it should resume automatically.

Actual behavior

It stops and needs to be resumed manually.

$ /usr/bin/ocis version
Version: 5.1.0-prealpha+52b00b116
Compiled: 2024-04-10 00:00:00 +0000 UTC

@TheOneRing @dragotin

can you help to gather the needed info? What could trigger that?

@the-hotmann which client are you using?

@micbar @TheOneRing thanks for the swift response!

I use the android client from the PlayStore in the latest version 4.2.1 (a41d1f917)

Thanks for reporting, will take a look inside. Connection is detected as lost in the middle of network switching and not resumed. In fact, connections are only resumed in case of connection recovery after outage.

@jesmrec you're welcome!
Can you please leep this thread up-to-date and inform us about your findings and eventual changes?

Thanks in advance!

Sure. At this point, we'll need to check how deep the changes would be... but it deserves a look.