Problems with delivery of messages, receipts
Hey,
I've some screenshots for invalid message or receipt handling:
(1) Message is delivered before sent (Message was delivered successfully)


(2) Messages are sent, but never delivered (12:35 messages are still not delivered...)

(3) Messages are delivered, but receipt is missing
My Phone (Message 11:08 pm has no receipt...)

Receivers Phone (... but the message is delivered)

We both have the same phone (Android 5.0 vs 4.4), both latest Text Secure Version. The internet connection here is sometimes a bit bad, maybe the internal routine for network problems is a bit buggy?
Let me know if I can help with futher information.
Best regards
See also #2098 and #970.
I can confirm this and it is an annoying issue as I don't know if important messages are delivered or if I keep waiting for an answer and the other person didn't even receive my message...
Nexus 4, Android 5.0.1 (LRX22C), TS 2.3.3
Please fix this, same issue here Do the developers have any idea why this is happening? It makes the application useless... it makes no sense to use a secure app to send messages if the messages are not even being sent :/
I experienced with a particular TextSecure user that not a single message sent by me was delivered to her. However, her messages were delivered at my phone. After disabling push messages on her phone in TextSecure, and next registering again, my messages reached her again. Let me know if I can help with any testing.
UPDATE: Disabling my VPN, fixed the issue. Will leave it disabled for now.
experiencing the same issues.
i know that when i change the phone number, messages can get lost or it will get difficult to start a new conversation, even after "ending the secure session".
also i had changed a google account, which resulted in messages not getting delivered to me, but was able to send.
all this also happens when i don't change the setup, out of the blue. it's really difficult to trust textsecure as main and only messenger. and it's proving to be equally difficult to trouble shoot for contacts. if it worked reliably, textsecure would be really amazing.
Copying my issue description from #2293:
Currently message delivery is unreliable. It often happens that I send a message to someone, but do not get a message receipt (check-mark icon). Messages sent later get a receipt. When I talk to the person a few hours later, they tell me they did not receive the message.
This issue is not limited to me sending, but also happens the other way around. It also happens for other people, as I have been told. It also happens for the message receipts themselves – sometimes a message arrives on my phone, but the sender never receives the receipt. The CyanogenMod integrated WhisperPush service is not involved. The issue happens between stock Android users, as well as with CyanogenMod users.
From reading other issues I understand that GCM does not offer reliable delivery. I wonder if the equivalent of XEP-0198 section 4 "Acks" could be implemented on top of it in TextSecure.
Possible duplicates: #679, #970, #1971, #2098, #2238
We can confirm selective non-functionality of GCM-based "push" receipt notification for folks who are connected through our secure network (https://cryptostorm.is) on Android-based devices. Our dev team is just beginning to look into this - our initial hypothesis is that the transport-level characteristics of GCM are not happy with our SNATted network session topology, basically.
On the flipside, it may be useful to use this behaviour as an inverse test-case for the more general drops of GCM-based message deliver confirmation: we can tune our network to selectively adjust just about every transit metric, and indeed we can set up dedicated test instances to do iterative test mode work on this problem.
All that said, we're most specifically focussed on enabling GCM transit for our network members on Android-based devices. On the surface, this doesn't seem a particularly challenging task given the fairly simple nature of the CGM framework itself.
The problem still exists and for the last 2 days I was unable to communicate using TextSecure as approximately only 1/4 messages was delivered, so TS was unusable...
I searched for more information about GCM reliability. I found the following information: Some developer information for keeping push messages work reliable: https://blog.pushbullet.com/2014/02/12/keeping-google-cloud-messaging-for-android-working-reliably-techincal-post/ Delayed push notifications causes (from a Google developer): https://productforums.google.com/forum/#!search/gcm/nexus/fslYqYrULto/lU2D3Qe1mugJ A app that should remedy the problem (I did not test it yet): https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer.noroot
Actually, I was also wondering what the time_to_live (see: http://developer.android.com/google/gcm/ccs.html#receipts&sref=https://delicious.com/janvlug/search/gcm) is for TextSecure push messages. Can someone direct me where in the code I can find this?
the message has been trasmitted to the server, but when my parnter is offline (no wifi/mobile internet,...) he (often) doesnt get the messages at all, when he's connected again. same with receipt marks, sometimes: they dont show up, despite the message was send & received.
I'm adding my information, gathered over months of usage with multiple users on multiple carriers and Android versions, following conversation in #1583.
I'm running the latest TS update on an old version of Android. Although the messages do eventually arrive (which wasn't the case a few months ago, thanks for that), they're often acknowledged by TextSecure as having been sent, but receivers receive them with delays ranging from none to hours.
This may or may not depend on the receiver's phone state:
- I've been in active conversations with TS users and suddenly the delay appears: confirmations stop coming in. I've been switching to SMS in this case which does seem to work, just as it's announced that SMS transport will be removed.
- Other times, I may know out of band that the user's phone is charging or otherwise hasn't been used recently and may thus be in some kind of sleep state, and the delay will appear (more often than when I'm sure their phone is active) or not appear (less often).
- Messages are queued by TextSecure in some fashion and generally when the receiver receives them, they receive them all within a span of seconds. Rarely, receivers may get a bunch of messages but not the last one or two, then shortly after, get the last one or two - as told by confirmation checkboxes.
- I have experienced receipt of many delayed TextSecure messages instantaneously for no apparent reason when my phone was inactive or active but not using TextSecure.
- I have experienced receipt of many or single delayed TextSecure messages upon opening the app.
This behavior is, to the best of my knowledge (own use and quizzing friends), fairly consistent across carriers - verified on Sprint, Verizon and T-Mobile.
This behavior appears consistent regardless of data source - carrier or wifi.
This behavior is consistent on at least devices running Gingerbread and KitKat.
This behavior is consistent on devices with 512MB to 2GB of RAM.
It appears that this may require some waiting for the issue and debug logging, but I don't know how to accomplish that. Additional complication: receiver may also need to debug log?
@gordon-morehouse At this point experience from anything older than a week is not really relevant any longer.
...except that it's still happening, as of yesterday - and yes, I received an automatic update several days back.
Whatever is "still happening" is relevant, but information you've gathered "over months of usage" is not. You'll need to clarify exactly what it is you're still experiencing.
Okay, see you in a few days.
What happened to me yesterday: Someone sent me a few TS messages over the course of several minutes. They notify me about this 10-15 minutes later via XMPP. I open TS and suddenly receive all those messages at once.
That happened to me lately as well, should I file a new issue for that as soon as I can gather a debug log on it?
TBH: For me it is quite ok to receive messages a few minutes later, as long as they are delivered at all and it does not become more than "a few minutes" (say 15). And I am even glad that I receive them in a "digest", which I can answer in one go.
@devurandom Check out #2703. Following the instructions there would be helfpul.