Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message not delivered until the phone is unlocked #5548

Closed
2 tasks done
ghost opened this issue Jun 22, 2016 · 6 comments
Closed
2 tasks done

Message not delivered until the phone is unlocked #5548

ghost opened this issue Jun 22, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2016

I have:


Bug description

I'm using Signal on a Sony Xperia M2 and it works perfectly. My sister just installed Signal on her Sony Xperia M4 a few days ago but when we're sending messages to each other, the message doesn't deliver until we unlock our Android phones… Is there something we can do to avoid that? It's very annoying and I have to unlock my phone every 30 minutes or so to be sure that my sister hasn't sent me a message… And she has the exact same problem.

Steps to reproduce

  • I send her a message or she sends me a message with the Android Signal app.

Actual result: I don't receive the messages that my sister sends me with the Android Signal application when my phone is locked. I have to unlock my phone to receive her messages. And she has the same problem when I send her a message.
Expected result: I should receive her messages without having to unlock my phone, like you normally receive messages on a phone.

Device info

Device: Sony Xperia M2 (for me) and Sony Xperia M4 (for my sister)
Android version: 4.4.4
Signal version: 3.16.0

Link to debug log

There's no debug log.

@El-Cerdo
Copy link

El-Cerdo commented Jun 22, 2016

Do you have background data submission enabled for the app? Is there any energy saving/stamina mode turned on?

https://support.google.com/googleplay/answer/1663315?hl=en

@ghost
Copy link
Author

ghost commented Jun 22, 2016

The background data is enabled. Yes, I have the stamina mode turned on and I think that my sister too.
Is that the stamina mode on the Sony Xperia that prevents the encrypted messages from being delivered while the phone is locked? (But the unencrypted messages are delivered even if the phone is locked.)

@2-4601
Copy link
Contributor

2-4601 commented Jun 22, 2016

Something in your phone is preventing Signal from receiving the GCM notifications. Most likely your stamina mode. There's a support article that will tell the possible reasons and solutions here: http://support.whispersystems.org/hc/en-us/articles/213190487-Why-is-there-a-delay-in-receiving-messages-
If that article does not help, please contact [email protected] and they'll help you further.

Duplicate of #4600, #5052, #5085, #5195, #5447.

@2-4601 2-4601 closed this as completed Jun 22, 2016
@sesse
Copy link

sesse commented Jul 13, 2016

Hi,

I'm seeing exactly the same problem with two Nexus devices (so entirely stock Android, no phone-specific funny business); Nexus 5 and Nexus 5x. It only happened on the N5 after it was upgraded to Android 6.0. It's not just about powering off; I can use the phone fully as usual, but still there's no notifications until I manually open the app.

I've gone through the entire list on the support page, to no avail. (Well, I haven't reset my Google account; it seemed a bit drastic, and I didn't really understand much about the PNF tool.) Note that the support page doesn't really tell how to exempt Signal from battery optimization; you need Settings → Battery → (dot menu) → Battery Optimization → All Apps → Signal → Don't Optimize. But that didn't make much difference either.

So, there's some sort of GCM problem indeed, but it seems to be more sweeping than vendor Android modifications.

@2-4601
Copy link
Contributor

2-4601 commented Jul 14, 2016

@sesse Is the problem temporary? Does it solve itself after rebooting your device?

@sesse
Copy link

sesse commented Jul 14, 2016

No, the problem is permanent, on both phones.

It might be that when I restart the device, I get outstanding notifications (I can't recall if I tested), but the ones after that are definitely delayed until I open the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants