ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.03k forks source link

message notification but no message #1208

Open onefreeworld opened 4 years ago

onefreeworld commented 4 years ago

Hi everybody, not sure if there is already a theme, please link if I missed it, thanks :)

Almost every day I get an iphone notification on the screen and some times even on the apple watch there is new message and one vibration notification. I am just on vibrations notifications. Usually the phone vibrates 3 times when there is a new chat secure message and shows 3 notification signs for every single message..... unfortunately I already know when this happens I actually receive a new message but it just does not come through properly. Even when I open every contact separately there is no new message. The only thing I can do is asking every contact who's I missed. It always just happens when my computer with gajim is not turned on. So chat secure is the only receiver of the message to this time. What can I do to avoid this issue? Reinstalling the app just fixes the problem for about half a week, than same issue again. Thanks everybody!

chrisballinger commented 4 years ago

Do you know what server software and version you're using?

Can you confirm that someone actually sent you a real message that could not be decrypted, and that it wasn't some kind of non-message content like a status update?

onefreeworld commented 4 years ago

Hi, uh, now you have to help me out: where could I find those information? I have here the website of my account: www.jabber.de and status: https://stats.uptimerobot.com/VAZRGuz7k

Positive, I can confirm it is actual a real messages I am missing. The sender usually asks me why I didn't response and sends me a screenshot with what they wrote and I missed. Pretty sure it is not just status update, would be much more often then. Maybe I should add I am the only one on chat secure, my friends are all on androids conversions and some on windows gajim too.

OjoSirisak commented 4 years ago

Hi @chrisballinger, I have an issue like @onefreeworld, that the issue I have more problem is when I kill the application or ignore to open it a long time, I didn't receive any notification and message. I'll receive it when I opened the application. (I checked in the setting device, this app enable 'background app refresh' and 'notification')

My device iPhone8, iOS 13.5.1, and ChatSecure version 5.0.2

Chat server Prosody (Lightweight Jabber/XMPP server) Version 0.10

onefreeworld commented 4 years ago

Good to know @OjoSirisak I already thought it is just me with my vintage mobile phone :D Unfortunately I do not receive them at all, not even when I open the app again. Just yesterday I wrote with a friend, she responded straight away and even this one I did not receive. I did not close the app. Just turned the screen off. I still have no idea where to find (more) information about my server to provide here? Sry. I am a bit of a noob ;)

OjoSirisak commented 4 years ago

@onefreeworld Don’t worry about it. This comment to be supporting your post, and list the problems send to developers to fix it. Because this problem its impact many my organization employees.

(In my organization employees, this problem, it’s taken action above iPhone5s. So you shouldn’t blame your mobile phone. Many people have a problem like you.)

OjoSirisak commented 4 years ago

@chrisballinger Additionally, I checked with other peoples in group chat or personal chat. They receive a message normally only on the Android devices. But the Apple device (iPhone and iPad) can receive it when opened the application. After that, if I didn’t open it, this message will be permanently lost.

onefreeworld commented 4 years ago

@chrisballinger and @OjoSirisak In my case this depends on the sender. I have one friend in my list, where I sometimes (not always!!) receive the message later when I open up the application again. But just this one friend and he is a geek :D For all other contacts the message is lost. And as I mentioned before, it happens only when chatsecure is the only app turned on. I have the feeling chat secures goes to a sleeping mode or something. And does not wake up properly when there is a new message coming in. I get the notification but not the message itself.

I already got used to it that chatsecure does not sync messages written on computers gajim, just sometimes, which is sad, but alright, maybe because of this like sleeping mode too. A friend mentioned the other day she sees at her gajim a sun when I am online on chatsecure, sometimes clouds and sometimes even a moon, and this all happens when just chatsecure is turned on.

Sorry for my funny English :D let me know if I can help out with more information :) Thank you!

onefreeworld commented 4 years ago

Hi again, I took screenshots today. Chatsecure was the only turned on device to this time. I received notifications on the iphone screen, with a new messages. Could not read the message on notification screen straight away, but got 4 screen notifications with: "new message". I asked my friend, if she wrote me. And she took a screenshot of her writing. You can clearly see I missed exactly 4 messages from 4 on screen notifications. Loosely translated I wrote her: if you answered me, I didn't receive it. I just got notification, but no idea from who. I hope this helps!

InkedIMG_4950_LI InkedInkedIMG_4951_LI

chrisballinger commented 4 years ago

Does your server support MAM / XEP-0313?

OjoSirisak commented 4 years ago

@chrisballinger My server support MAM/XEP-0313, and this is my configuration of the XEP-0313 module

max_archive_query_results = 100; default_archive_policy = true; default_archive_policy = "roster"; archive_expires_after = "never";

onefreeworld commented 4 years ago

@chrisballinger yes, my Server does support MAM / XEP-0313 here all the status thingies: https://compliance.conversations.im/server/jabber.de/ Server software is Prosody 0.10.2

Let me know if you need more information. Already any ideas how to fix my issues? Thank you!

onefreeworld commented 3 years ago

@chrisballinger Hi, it´s me again. Same issue again. Message notification but no message coming through. Permanent message lost on chatsecure. The app was behaving weird, took ages to load contacts and old conversations, was crashing again. So I decided to install the app new. Since then no coming through on iPhone's chatsecure. While windows' gajim is turned on too, only a few messages are synchronized with chatsecure (usually most of them). When windows' gajim was turned of, no coming through of messages on chatsecure at all, only the message notification. When I turned gajim on again again and took a look if there was a reported issue in the recorded conversation while gajim was off, it says there was an encryption issue.

App is on version: 5.0.2 (167) Iphone 5s is on: 12.4.8 Server is running Prosody 0.11.5 (just updated a few days before) server still supports: XEP-0313: Message Archive Management all server information: https://compliance.conversations.im/server/jabber.de/

Thank you so much!

onefreeworld commented 3 years ago

@chrisballinger update: I did close windows gajim, deleted all fingerprints in the chatsecure app (all possible, some were light gray and not possible to remove), deleted and reinstalled the chatsecure app again. Still massive synchronization problems when chatsecure and gajim are both on and no coming through of messages while chatsecure is the only turned on program. Hope this helps to fix! Thank you! Best regards!

onefreeworld commented 3 years ago

Some pictures to show there is message notification from an incoming message, but nothing is coming. To this time I was writing with one person, but only my outgoing message written on chatsecure are shown, not even my own messages written on gajim are shown, and clearly no incoming at all.

IMG_5284 IMG_5284e

Idesmi commented 3 years ago

This issue has been among us for a while, will it get fixed?

onefreeworld commented 3 years ago

update 2: it seems it has something to do with OMEMO. if both partners turn off Omemo, it works a lot better. but what's the point of secure messaging without encryption? Hope anybody from the Dev-Team reads this ??! please fix! thank you

onefreeworld commented 3 years ago

update 3: after a few more trials I am pretty sure: it is a chatsecure to gajim problem! (in my case) some users use more than one device for xmpp-chatting (windows' gajim, androids conversation, iphones chatsecure and others...). if an user even uses more than one device with gajim on it chatsecure goes nuts. for chatsecure it seems to be necessary to disable omemo regularly on every device (all mobile phones, tablets and computers) the chatting partners are connected with, write something on every device without encryption and turn back on the encryption to make it work again (and restart every program/app), BUT chatsecure seems to "wait" for every gajim device to be turned on for this. if there is only one device with a gajim on which is not in use at the moment (bus was connected previously) it does NOT work with this kind of reset-trick so far I know, it seems chatsecure (or the server) is not able to delete old or unused encryption keys which belong to gajim devices. after "reset" partners with gajim may receive messages sent from chatsecure, but chatsecure still does not receive messages from gajim.

hope this helps to fix the problem! please let me know if I can help out with additional information! PLEASE fix ASAP it is really annoying this bug!! :/

Thank you!