You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Delayed notifications due to connection interrupts #344
I'm running Android 7.1.1 with microG core 0.2.4.79 built from source and baked directly into my ROM. The self check does not yield any error and I tested the GCM cloud with Push Notification Tester. It all seems to run fine as long as the phone stays active, however whenever doze kicks in notifications (specifically from WhatsApp) get delayed. BTW I also disabled battery optimization for microG. Whenever I would go into microG settings and check the connection timer it would always be less than an hour.
I did not know how to record a helpful logcat, so I may only submit a log from almost the whole day. Hope it helps: http://pastebin.com/DBd2XzWT
Interestingly from 1pm to 8 pm there's no message from microG in the log at all.
I can confirm this issue. Running Lineage 14.1 (Android 7.1.1) everything works fine for some time, but then WhatsApp messages get delayed and also the WhatsApp web service disconnects.
This may be related (maybe we need to do the same thing):
Apps targeting N must use Context.registerReceiver() to receive CONNECTIVITY_ACTION, declaring the intent in the AndroidManifest.xml is no longer enough. Add a service to listen for network state changes.
The reason for notifications being no longer delivered since around 12:48 is a system service crash. This means that some component of the operating system crashed ( != microG) causing the system to try to recover from this crash. This recovery apparently does not include the recurring wake-ups of microG, so microG is no longer able to keep the link to Google servers.
The crash is probably caused by substratum, because substratum crashes at 12:46 and other apps follow step-by-step (search the log for "died") until the whole system is down.
substratum seems to use Google Firebase API, which is not fully implemented yet in microG and seems to fail initializing. This might cause the issue here, but also might be totally unrelated.
Can you please try if the problem persists with substratum removed from the system?
@mar-v-in I have this problem too and I don't run substratum, once doze kicks I get no notifications despite the app being not battery optimized until I reopen the screen again.
About this: Unable to start service Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms } U=0: not found
if I understand correctly NovaLauncher try to run com.google.android.gms.measurement.START that is missing.
The fact that is missing is probably because it isn't yet implemented in microG but apparently NovaLauncher try to run it again and again indefinitely and never ever give up probably using a lot of battery.
It may be a good idea to ask to developers of NovaLauncher to give up if it is missing.
Instead these are probably some problems related to your ROM that you probably should report to the ROM author:
Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@fac846f that was originally bound here
Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3040
E/KernelUidCpuTimeReader(2173): Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
Activity
fabian-marquardt commentedon Mar 16, 2017
I can confirm this issue. Running Lineage 14.1 (Android 7.1.1) everything works fine for some time, but then WhatsApp messages get delayed and also the WhatsApp web service disconnects.
ale5000-git commentedon Mar 25, 2017
@mar-v-in
This may be related (maybe we need to do the same thing):
Ref: https://review.lineageos.org/#/c/166005/
mar-v-in commentedon Mar 25, 2017
@ale5000-git is already done since 97f4c82 here
mar-v-in commentedon Mar 25, 2017
@iRave
Your log is very interesting:
Can you please try if the problem persists with substratum removed from the system?
forohfor commentedon Jun 14, 2017
@mar-v-in I have this problem too and I don't run substratum, once doze kicks I get no notifications despite the app being not battery optimized until I reopen the screen again.
I'm on LOS 14.1 and v0.2.4-103
ale5000-git commentedon Jun 14, 2017
@forohfor: Hi, it would be nice if you post a full logcat as attachment.
forohfor commentedon Jun 14, 2017
@ale5000-git here
last time was around 3:30
forohfor commentedon Jun 17, 2017
@ale5000-git is there a certain app causing this?
ale5000-git commentedon Jun 17, 2017
About this:
Unable to start service Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms } U=0: not foundif I understand correctly NovaLauncher try to run com.google.android.gms.measurement.START that is missing.
The fact that is missing is probably because it isn't yet implemented in microG but apparently NovaLauncher try to run it again and again indefinitely and never ever give up probably using a lot of battery.
It may be a good idea to ask to developers of NovaLauncher to give up if it is missing.
Instead these are probably some problems related to your ROM that you probably should report to the ROM author:
ale5000-git commentedon Nov 23, 2017
The issue of @iRave is the one explained by @mar-v-in but the issue of most people is probably the one explained here: #338
ale5000-git commentedon Jun 2, 2019
This should be fixed with #732.
Please try the new version released yesterday.
In case there are still problems with the new version, please post a new logcat.