question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syncthing is spinning "Loading..." and nothing else happens

See original GitHub issue

Nothing interesting in logcat… Something like this:

$ adb logcat -v time |& grep -i syncthing
06-25 04:25:36.350 I/log     (15228): Launching app://com.nutomic.syncthingandroid/com.nutomic.syncthingandroid.activities.MainActivity
06-25 04:25:36.370 I/ActivityManager(  496): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nutomic.syncthingandroid/.activities.MainActivity} from pid 15228
06-25 04:25:36.600 D/SyncthingService(18212): All SSIDs allowed for syncing

Syncthing is supposed to be running in this configuration. No reaction to back button. No error message. Can’t enter settings. Etc.

For a good app I don’t expect such things to happen.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:45 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
MartinX3commented, Jan 6, 2017

System-Specs: Device = Nexus 6 OS = Android 6.0.1 Cyanogenmod = 13.0-20161221-SNAPSHOT-ZNH5YAO3Y6-shamu Cyanogenmod API-Level = Fig(6) Android-Securitypatch-Level = 1. December 2016 Kernel-Version = 3.10.40-gede94e8


Same problem here. Syncthing wants to restart, because i changed the settings or it get stopped by android in the background. I open the APP and recieve the “Loading…” screen. My Syncthing-Network is telling me, that my smartphone is offline. And the APP is in this “Loading…”-Screen forever, until i force kill the APP and start it manually.

Edit: I gave this app NO low priority and put it in FOREGROUND priority. Still same problem. (The Status Notification doesn’t disappear.)

Edit 2: I used the android energy settings to put this app into the “not optimized”-mode. Now the operating system doesn’t hibernate the app in the background and the endless “Loading…”-Cycle won’t appear.

Edit3: Even if this is the foreground app before disabling the display, this bug occur. I think, all the things i tried preventing the app from closing, but the libsyncthing.so library still getting closed in android. And it would be better, if the android app would detect it and restart it on its own, instead of beeing forever in the “Loading…”-Screen…

Could you use the root-mode to prevent the library from closing as a workaround? And i would prefer to ask the developers of greenify, xposed, xprivacy and amplify so solve this problem.

0reactions
Catfriend1commented, Apr 22, 2018

… and since then, no more reports of the loading issue were posted here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web ui not loading and not updating - Syncthing Forums
Hi, I was setting up syncthing on a new computer, when I noticed all the other's gui were at first not loading at...
Read more >
Some problems with syncthing - Support
The Windows machine doesn't show the folder as “not synchronized” but as “local additions”, but the effect is the same (means it does...
Read more >
Syncthing upgraded, sitting at "Loading" box with spinner
It just sits there with the spinner. I cannot stop it either unless I go into settings -> apps -> running and kill...
Read more >
Syncthing does not sync and is stuck - Support
Try this (this is violent but that can't hurt) : on each 3 devices, Remove one common folder share. Once done, in each...
Read more >
Performance issues under 1.4.0 rc4 - Support
Sorry, so we are talking about spinning drives or usb drives now? Is the database also on a usb drive? terry ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found