Replies: 8 comments 9 replies
-
Says it's supported here: ejabberd/src/mod_stream_mgmt.erl Line 26 in f20e9e9 https://docs.ejabberd.im/admin/configuration/modules/#mod-stream-mgmt 92% of servers do: https://compliance.conversations.im/test/xep0198/ Your only reason to ask for this is a FAQ from 2015? Well... |
Beta Was this translation helpful? Give feedback.
-
Which XEP is that exactly? Link to the 0198 section?
Great, so the client logs say what? Their server logs? More info pls |
Beta Was this translation helpful? Give feedback.
-
Link to the server TO server stream management section, please.
Wait, what? So it's not a server TO server issue but a CLIENT to server one? Which client software get the message and which not? Does their user account have MAM enabled? Were both clients ONLINE at that moment? |
Beta Was this translation helpful? Give feedback.
-
Carbons are a proof that the message has reached THEIR server, if A CLIENT did nor receive the message then it's a CLIENT issue. Messages are not sent from YOUR server separately for EACH client your contact has. It's one message ONLY, and THEIR server should distribute it. To me this sounds like a misconfigured server for your contact. Like it has no MAM support, or that user did not enable MAM or some client error. Again. not a server to server issue. Please answer my questions:
Right, experimental. Interesting. @mwild1 does this sound like a SM issue to you? |
Beta Was this translation helpful? Give feedback.
-
There's a PR, but we unfortunately never got round to bringing it into a mergeable state. It would probably be nice to have. However, I'm not sure it's the proper solution to achieve reliability. If the sender receives no acknowledgement, the sender won't know whether the message or just the acknowledgement got lost. So if the sender now returns an error message, that might be misleading; if the sender resends the message, it might be a duplicate. In my book, the real stream management feature is to allow for efficient resumption of c2s sessions (as opposed to reliabilty: for c2s, this is achieved with MAM support). Efficient session resumption is a non-issue with s2s. Long story short: Right now, XMPP basically relies on stable s2s links. As properly hosted servers usually have stable links, this issue doesn't pop up much in practice. |
Beta Was this translation helpful? Give feedback.
-
@haansn08 step by step, now the other questions :) |
Beta Was this translation helpful? Give feedback.
-
Ok, server side no, that's fine. Now client side, ask them to check, accounts - account - upper right menu - Archiving. Is it Always? |
Beta Was this translation helpful? Give feedback.
-
@haansn08 The default is: |
Beta Was this translation helpful? Give feedback.
-
I am hosting an XMPP server (Prosody) from my home since February 2022.
I have noticed that every now and then some of my friends' messages get lost without any error indication, which makes using XMPP infeasible for our everyday communications, since the sender cannot be sure that messages will actually be delivered. Looking at my server logs and also having talked to the other server's admins, no suspicious log entries can be found. However seemingly it only happens for contacts on ejabberd servers (like conversations.im) that do not support S2S Stream Management (XEP-0198).
I'm don't really understand why SM is needed if XMPP is based on TCP (if there's no TCP ACK then the server should know that a message wasn't delivered, right?), but looking at the ejabberd FAQ message loss still can happen "in wifi or 3G networks" and this problem has been solved by XEP-0198. My router connects to the internet over LTE, and I suspect if this is a problem for c2s connections, this can happen for s2s connections too.
Are there any plans to implement SM for s2s connections? Prosody already implements SM, but just a few contacts being on ejabberd servers, makes hosting XMPP from your home (a very important use case for privacy) infeasible, if you agree that lost messages are terrible for communication.
Beta Was this translation helpful? Give feedback.
All reactions