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

Incoming massages are delayed by hours #5323

Closed
2 tasks done
belle05 opened this issue Mar 7, 2016 · 12 comments
Closed
2 tasks done

Incoming massages are delayed by hours #5323

belle05 opened this issue Mar 7, 2016 · 12 comments

Comments

@belle05
Copy link

belle05 commented Mar 7, 2016

I have:

Bug description

Massages are often being received on an extreme delay (minutes to hours, sometimes).
When the receiving user is viewing the conversations, it's usually fixed few minutes later.
Can't specify a certain scenario - seems pretty random.
It is more likely to happen after the app hasn't been used for a few hours (nighttime etc.).

Device

Model : LG Nexus 5
Android: Marshmallow (6.0.1)
Signal version: 3.12.0

Link to debug log

(at a time when the issue happend:)
Sender - https://gist.github.com/b5ab7a07e6f226f35dc1
Receiver - https://gist.github.com/34805db912f511544b43

@agrajaghh
Copy link
Contributor

Is the first checkmark displayed at the senders side? This would mean the message has been sent and its a problem on the receiving side.

Is the receiving phone running a custom rom? root? xposed?
You could also check these steps: http://support.whispersystems.org/hc/en-us/articles/213190487-Why-is-there-a-delay-in-receiving-messages-

@belle05
Copy link
Author

belle05 commented Mar 7, 2016

The first tick is checked, the second is not.
We'll recheck the steps, but the massages are not only delayed when the user is not using the app (that makes sense), but also when he's viewing the conversation for 2-3 mins.

@agrajaghh
Copy link
Contributor

I guess we need a new log from the receiving side right after the messages came finally through (with a delay while the app was open and there was a network connection). The current one looks good as far as I can see...

@shiftre
Copy link

shiftre commented Mar 7, 2016

Hi

Let me clarify a bit more about this problem as I'm the receiving side,
I don't have any passphrase for this account, so the application shouldn't have any notification problem.

Whenever I close the application for a period of time ,(say, 30m or so), I have to re-open it
in order to get all the notifications, (messages), Belle05 sent.
Once I open the application I get her messages and everything is cool, however if I keep
the application closed I do not receive any message from her up until I open.

We've tried reproducing it after she opened the bug however Signal was left open in the background and I got her messages.
We'll try to get a log later.

Do note that the log I'd upload would be with the notifications, as I've opened the application.
If you have a way to extract, (or query), the log without opening Signal, I could do that and
in the scenario where she sends a message and I don't receive it while the application is closed.

@agrajaghh
Copy link
Contributor

clearly looks like a GCM problem, did you check steps 6. - 11. from the link I posted?

@shiftre
Copy link

shiftre commented Mar 7, 2016

@agrajaghh I have a stock build, rooted. I've done some of the steps there ,(like relinking my account
and reset'ing).

I do have low space on this device (about less than 1g), Push notification seem to work
I've installed PNF and hope to get it fixed, as I've lowered the threshold.

Sidenote: this behavior also occurs in Telegram, but not in Whatsapp, so I'm not sure who's fault is it.

@agrajaghh
Copy link
Contributor

okay, closing this since it really looks like a root/gapps problem.

If you're still having trouble feel free to ask for help at the unofficial community forum: https://whispersystems.discoursehosting.net

@shiftre
Copy link

shiftre commented Mar 7, 2016

@agrajaghh 👎

This is a bug in Signal, not a problem with GCM...

@2-4601
Copy link
Contributor

2-4601 commented Mar 7, 2016

You are not receiving the GCM tick that tells your phone that a new Signal message has arrived. You said that this also happens with Telegram which AFAIK uses GCM to some extent.

Whenever I close the application...

What do you mean by close? Could be duplicate of #4965.

@shiftre
Copy link

shiftre commented Mar 8, 2016

I hit the stock task manager and "kill"/close the application, it's still running if I look it up from Settings

@Dyras
Copy link

Dyras commented Mar 9, 2016

@shiftre Does this also happen on WiFi? Do you have battery savings enabled?

@shiftre
Copy link

shiftre commented Mar 12, 2016

WiFi and 3g, it happens both on power saving and non-power saving..

On Wed, Mar 9, 2016 at 11:58 PM, Dyras [email protected] wrote:

@shiftre https://github.com/shiftre Does this also happen on WiFi? Do
you have battery savings enabled?


Reply to this email directly or view it on GitHub
#5323 (comment)
.

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

5 participants