Android stops syncing, requires phone restart to fix.


Andyjbm

Recommended Posts

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Update as promised,

aaaand....

Back to square one. Didn't last a week. So new SD Card made no difference.

Symptoms:

1. Notice that some files on another client haven't synced when they've had a day or so to do so.

2. Go to phone and see that sync has no peers for any sync folders when clearly there should be.

3. Go to settings> exit. Sync displays shutdown spinning wheel (forever. Tested 24hrs at least) until the app is force closed or the phone is restarted.

As you were,

Andy.

Link to comment
Share on other sites

If its not actually syncing outside of the UI (as in not a UI update problem)... it could even be the device killing the app and the way RS handles it doesn't cope or maybe an internal app problem.

Suppose, you or RS devs really need to look through Android debug log and really see why its not working. You might be able to do it without doing that but you might not after spending a lot of time trying.

I don't really recommend relying on RS Android. I used it for backups to Android and RS was a total fail for that. Its disappointing to me as it would be a nice way to have encrypted backups at all times. I so really want auto backups to mobile device.

Link to comment
Share on other sites

So I realized I can reproduce this on demand, as I was trying to get something to sync this morning. My work's wifi blocks resilio sync's data. If I connect to it, syncing obviously stops working; but when I disconnect it never starts working again. I have to force stop the app and restart it to get it to find peers and sync data again.

Link to comment
Share on other sites

  • 1 month later...

How is it that this common problem has been going on for years with no line of sight on a resolution from Resilio?

Adopted Resilio as a reliable file sync solution, however the Android experience is a complete fail!!

I've got a late model phone (S10), client has all the privileges it requires, no external cards and freezes every day. No way to recover without restarting the phone.

RESILIO... WHERE ARE YOU ON THIS ISSUE?!?!

Link to comment
Share on other sites

Alright, well there hasn't been any help from developers on fixing this issue, but I've found a temporary remedy. The app no longer freezes on Android so I don't have to force stop the app or restart anymore, but it will still lose connection after a certain amount of time and have to Exit the app and restart to get it to sync again.

What I did was Force Stop the app (Phone Settings -> Apps -> Sync), then Clear Cache and Clear Data (Phone Settings -> Apps -> Sync -> Storage). This clears all your settings so it's like starting from a fresh install of the app.

Before you link the device, use your file explorer on android to rename your shared folders (e.g. "Folder" to "Folder.BAK").

Then link the device and connect the folders, but keep Selective Sync turned on. Wait for the folders to stop Indexing. Then Exit Sync (either from the notification bar or in the app press "Exit"), and using your file explorer, cut & paste your files from the old Folder.BAK to the new shared Folder (if you have a lot of files, you need to cut & paste a few files at a time or Sync will crash when trying to index).

Then start Sync again and wait for it to finish Indexing with the files added. When it's finished Indexing, you can turn off Selective Sync.

One last thing (this is for Android 9), go to Phone Settings -> Apps, click the three dots in the upper right and choose Special Access -> Optimize Battery Usage, then select All Apps. Scroll to Sync and switch it off.

The app doesn't crash anymore, but I still have to Exit and Startup again to get it to connect to my other devices after some time.

If Resilio doesn't fix this, Syncthing as recommended earlier is a good alternative, though it's really confusing to use at first and there's no Selective Sync. You can use the ignore file, but that's not very practical nor convenient for most people's selective sync needs.

Link to comment
Share on other sites

36 minutes ago, jabv said:

The app doesn't crash anymore, but I still have to Exit and Startup again to get it to connect to my other devices after some time.

Same on my Smartphones. Mainly Sync runs, but cant shutdown for restarting, this freeze the App. I must restart the whole Smartphone. This is no good condition, so Syncthing runs for all instead.

Link to comment
Share on other sites

  • 2 weeks later...

Since I couldn't really understand the circumstances around the Resilio APP for Android, I deleted it from all Android devices and reinstalled it.

Effect 1: With none of the Android devices I could establish a device connection to other clients or servers via the identity. So no advance folders are available. Good thing there is a QR code to connect.

Effect 2: The Android APP runs without this identity connection as it should. I can only explain that the exchange of certificates no longer works and therefore the APP freezes or the entire device has to be restarted etc.

Without this convenience of the payment version, it can now be use again. However, the goal should be that the APP works completely. The autostart also works again after the reboot, which previously did not work either. For me this means that the exchange of the identity no longer worked.

Link to comment
Share on other sites

I have now given all devices new identities and linked them again with the "master". Since then, the whole system of Synology servers, Windows clients and Smartphones has been running smoothly again. The Resilio APP on the smartphones can now be ended, started again, the autostart works again after the reboot. And so far, the APP has not frozen.

Let's see. All this now only through new identities - interesting.

Link to comment
Share on other sites

Hello once more folks,

So being stuck in lockdown my phone has been stuck with me also on the same wifi network for pretty much a week. And resilio has been behaving. No freezes or force closing required.

Having read the threads about dropped connections I have a theory (no evidence to present I'm afraid) that resilio gets broken when the phone connects to wifi that requires a signin on a landing page.

On my route to work and around that area there are a lot of chains (eg McDonalds, Premier Inn etc etc) with wpa encrypted public wifi access points that then require a login on a landing page. I have a hunch that herin lies the problem.

1) Because these wifi connections are encrypted and password protected the phone will connect to them when they are in range without asking. Once you've signed up to the Wifi in one of these outlets you've pretty much signed up to the wifi in every store in the UK at least.

2) The landing page. This works by intercepting DNS on a http connection and redirecting the request. On https this does not work for a host of security reasons (URL cert not matching server, Landing page DNS intercepting the resolution request and returning the wrong IP so DNSSEC invalid at best. etc etc etc)

So the flakey theory is that if the wifi connects then resilio sync believes it to have access to the internet but gets part of its connectivity blocked by a wifi AP landing page it then breaks in a way it can't recover from and basically baulks until it is force closed.

 

I'm still waiting to be advised on how to go about collecting logs that may help to troubleshoot this issue.

C'mon resilio, I've got nothing else to do for another three weeks.

 

Andy.

 

Link to comment
Share on other sites

And as a PS to those suggesting syncthing,

 

 Yes syncthing is great. I love it. I'd have gone there and this thread would not have been started BUT...

 

Google in their wisdom created the GO platform on which syncthing is written. The GO platform prevents syncthing from being able to create folders on SDCards set up as external storage under Android.

syncthing blames Google, google says GO is reeeeally secure... etc.etc. This will probably never be fixed without rooting your phone.

If the SD Card is set up as internal then yes I believe it works (not tried) but that means your SDCard is encrypted and unable to be read from another device in the event of a phone disaster. Your data on the SDCard dies with your phone.

Shame.

Andy.

Link to comment
Share on other sites

@Andyjbm yes, any network which blocks resilio's data will cause this problem. I can reproduce this at will by simply connecting to my office's network (which I am away from for the past 4 weeks too). I presume also, losses in network connectivity at the "wrong time".

 

See my post from 2/11:
 

On 2/11/2020 at 7:27 AM, Maniac said:

So I realized I can reproduce this on demand, as I was trying to get something to sync this morning. My work's wifi blocks resilio sync's data. If I connect to it, syncing obviously stops working; but when I disconnect it never starts working again. I have to force stop the app and restart it to get it to find peers and sync data again.

Link to comment
Share on other sites

Its a problem of Resilio that is not so flexible with restrictive networks. For such cases I use Syncthing in parallel, because the relay servers of Syncthing also work with purely http and https ports, it means port 80 and 443. If you doesnt know Syncthing, its basically the same as Resilio, more flexibel in Features, also in this case, but not so fast.

Since some month for me is Syncthing as good as Resilio, if you search for a serious alternative software

Link to comment
Share on other sites

  • 3 weeks later...

I've consistently suffered similar problems over the past 3-4 years using the Sync app on Android, would love a reliable solution. A possibly connected or separate issue is that it seems every 6 months or so the camera backup connection breaks completely and the only way to fix it is to unlink and setup the backup again from scratch. Anyone else with same problem or solutions?

Link to comment
Share on other sites

I'm having many similar issues with the app.  I was using SyncTrayzor for a while but I liked the idea of selective sync and went ahead and paid for the license for Resilio Sync.

I even tried using the in app Support link to send feedback.  It offered to send my device logs as well and it got stuck on 0% trying to upload the logs. 😂🙄

Has anyone gotten a refund since "Link all your devices" is part of the advertised package for buying a license?

Link to comment
Share on other sites

  • 2 months later...
On 4/16/2020 at 6:11 AM, Andyjbm said:

...

On my route to work and around that area there are a lot of chains (eg McDonalds, Premier Inn etc etc) with wpa encrypted public wifi access points that then require a login on a landing page. I have a hunch that herin lies the problem.

...

 

 

On 4/16/2020 at 6:55 AM, Maniac said:

@Andyjbm yes, any network which blocks resilio's data will cause this problem. I can reproduce this at will by simply connecting to my office's network (which I am away from for the past 4 weeks too). I presume also, losses in network connectivity at the "wrong time".

.

Upvote. Agree.  This describes my experience, too.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.