XMPP Service Operators - 2021-04-20


  1. moparisthebest

    Unless you run the server :)

  2. jonas’

    ... or get a bcc of all the o.j.n alert for that server in your inbox ;)

  3. Ge0rG

    jonas’: any chance for a custom per-host timeout setting?

  4. Ge0rG

    maybe upping it to 60s will get rid of most of the alerts? :D

  5. jonas’

    ehh... yes probably

  6. jonas’

    is a bit of development work though, and I’ll have to look into it closely

  7. jonas’

    the entire stack involves a lot of regexes

  8. Martin

    vax.im?

  9. Wiktor

    hahaha

  10. Ge0rG

    😢

  11. jonas’

    :D

  12. tom

    » <Ge0rG> jonas’: any chance for a custom per-host timeout setting? In prosody? I don't think so

  13. tom

    That wouldn't fix the error 404 and 500s though

  14. Ge0rG

    tom: yax.im is an xmpp server, where are you receiving 404s and 500s from?

  15. tom

    Yes

  16. Ge0rG

    No?

  17. jonas’

    Ge0rG, reminer about code="" attribute on <error/> in RFC 6120

  18. tom

    I said yes

  19. tom

    When i try to join mucs

  20. tom

    Medical Uterus Clefting

  21. Ge0rG

    tom: could you please kindly provide a clear and concise error description?

  22. tom

    Sorry is that not clear?

  23. tom

    I could provide a screenshot

  24. tom

    https://cdn.nuegia.net/6c996e18-c81f-45af-85e8-aae391cf2310/screenshot_005.png

  25. tom

    This is all I see client side

  26. Ge0rG

    tom: which date and which MUC?

  27. Ge0rG

    also which time zone

  28. tom

    Which muc is kind of sensitive i'd rather not say in public

  29. tom

    Pacific

  30. tom

    PST

  31. tom

    Or PDT

  32. Ge0rG

    tom: do you have raw XML of the errors?

  33. Ge0rG

    Are those even from yax.im or from your server?

  34. tom

    No, it doesn't happen predictably

  35. tom

    My server doesn't use error codes

  36. tom

    Not that i'm aware of

  37. tom

    I thought that was a legacy thing

  38. Ge0rG

    Yes, error codes are a legacy thing. Are you using a legacy client?

  39. tom

    No

  40. Ge0rG

    Are you using pidgin?

  41. tom

    No

  42. Ge0rG

    What *are* you using?

  43. Wiktor

    isn't this some kind of Psi derivative?

  44. Ge0rG

    So we have a legacy error message with zero details from an unknown source at a time where only the minute is known. This is not something I can debug, sorry, tom

  45. Ge0rG

    404 seems to be a legacy mapping of "server not found", but it lacks detail on which server misses which other server.

  46. tom

    Psi+

  47. tom

    Psi+ is not a derivative of psi it's the rolling release version

  48. Ge0rG

    Well, `code` is RFC3920 and has been deprecated in 2011.

  49. Ge0rG

    You might want to raise this issue with the psi+ developers

  50. Martin

    > Yeh, Psi+ supports a lot of deprecated things and does not support some of new ones... 🙂

  51. tom

    I wish there were more people to help rion

  52. tom

    It's a lot to implement a committee's standards all on your one

  53. Martin

    It's a one man show?

  54. Ge0rG

    yaxim is a one-quarter-of-a-man show, and it manages to show readable error messages.

  55. Martin

    To he fair he got more noise in his issue tracker.

  56. tom

    Yeah but it doesn't support nearly as many features, and it's not a computer program it's an app

  57. antranigv

    It’s 2021 and there’s still mo reliable XMPP client on iOS.

  58. jonas’

    yet :)

  59. antranigv

    s/mo/no

  60. antranigv

    Tell me more :)))

  61. moparisthebest

    to be fair, there have been over the years but Apple keeps silently changing things to break them

  62. Licaon_Kter

    antranigv: the clients are reliable, when opened in foreground...all are...but...

  63. MattJ

    Snikket iOS + Snikket server works fine when it's in the background :)

  64. MattJ

    (*small print: except MUC mentions)

  65. MattJ

    (*small print: except MUC)

  66. MattJ

    It's one of those "XMPP on iOS would be great if only it could <X>"

  67. MattJ

    and as soon as you implement X, it becomes Y

  68. Martin

    It'll end at Z?

  69. MattJ

    It will cycle to AA, AB, AC, ... like Excel

  70. MattJ

    It will end at message bubbles

  71. Ge0rG

    Message Bubbles. The most anticipated feature of yaxim!

  72. Wiktor

    MattJ: last time I checked the X Y and Zs were really basic stuff like getting messages when not using the app (aka push messages) or MAM being disabled by default

  73. MattJ

    Both of those are fixed in Snikket iOS

  74. Martin

    Just today in a german MUC: People won't use xmpp as it doesn't have video messages and a/v conferences…

  75. octagon

    Does the client have to reconnect to the server on every open?

  76. MattJ

    octagon, on iOS, yes

  77. Wiktor

    But Snikket on iOS is Snikket not "XMPP on iOS" in my books (as you can't use it with any JID)

  78. octagon

    Because it requires the host server to connect to apple pn?

  79. MattJ

    octagon, when an iOS app is not in the foreground it is completely stopped by iOS, there's no way to stay connected. So to receive messages it needs push notifications (via Apple), and it needs to connect to the XMPP server when you reopen it

  80. octagon

    that is awful aggressive

  81. MattJ

    It's what's "best for users"

  82. MattJ

    Apple knows

  83. Wiktor

    The same goes for Android where Google has the same kind of component (using FCM).

  84. MattJ

    There are more workarounds on Android (at least currently)

  85. Martin

    MattJ: > Both of those are fixed in Snikket iOS Enough slimy marketing!!1!

  86. Martin

    > Does the client have to reconnect to the server on every open? Monal does, Siskin doesn't.

  87. MattJ

    Martin, other way around?

  88. MattJ

    and technically Monal does reconnect, but it resumes the same session

  89. moparisthebest

    so if an iOS XMPP client could keep the underlying connection open across being killed, that would improve things quite a bit ?

  90. MattJ

    It would, but the point is that it can't :)

  91. moparisthebest

    it can... with QUIC :)

  92. MattJ

    If the app is killed, it's not running, it can't react to incoming traffic

  93. MattJ

    What you're proposing is essentially resumption at a different layer, right?

  94. moparisthebest

    yes, still would need the push notification to wake it up, but resumption should be significantly faster

  95. MattJ

    and where is the traffic stored while the app is not running?

  96. eta

    how's that different from smacks resumption

  97. MattJ

    I think XMPP-over-QUIC is interesting, and I'm glad someone is experimenting with it, but I don't immediately see it as a solution for this problem

  98. Wiktor

    I can't help to notice that you've drunk some serious QUIC kool aid moparisthebest :)

  99. moparisthebest

    eta, you just don't have to do any of that, no new TCP/TLS negotiation or anything, you just use the already-open QUIC connection you already have

  100. eta

    moparisthebest, right, but the problem is that you can't suspend a connection forever because that uses RAM etc. on the server's end

  101. eta

    (especially since it has to queue up messages)

  102. moparisthebest

    same with smacks I guess, just a different level, you still need push notifications etc certainly

  103. Ellenor Malik

    :3

  104. mimi89999

    Who is running XoQ?

  105. moparisthebest

    Wiktor, I just think it has some real efficiency benefits especially for mobile XMPP, where jumping between networks and sleeping happens constantly

  106. rob

    > Message Bubbles. The most anticipated feature of yaxim! What's this now?

  107. moparisthebest

    XMPP handles that really well with smacks etc, but it's much better to just stay connected

  108. Wiktor

    moparisthebest: but but but... It's a Trojan horse from google! Like... Like chrome!

  109. moparisthebest

    yea... I think they did bad by keeping the QUIC name, that old bad google-QUIC is dead, this is good ietf-QUIC

  110. Martin

    > Martin, other way around? Was thinking about push. 😂

  111. jonas’

    moparisthebest: quic is in userland. your quic session is as dead as the normal tcp xmpp session would be when iOS kills the app.

  112. moparisthebest

    jonas’, you persist the state to disk ?

  113. jonas’

    on every packet you send?

  114. jonas’

    then you don't gain anything, you can do that with tcp/sm already.

  115. jonas’

    moparisthebest, I mean, sure, with persisting QUIC state (if that’s a thing which is possible), you might also gain avoiding redoing the TLS handshake. but persisting stream management is much harder, and when you lose that state.... you are faced with much worse than TLS roundtrips (presence and pep floods)

  116. jonas’

    so for the iOS use case, I don’t think that quic buys you all that much

  117. moparisthebest

    iirc the app isn't simply killed right? it's told to save state and turn off?

  118. jonas’

    I’m not sure about that

  119. jonas’

    I’m no iOS dev, but what I hear sounds more like SIGKILL than SIGTERM.

  120. moparisthebest

    I think stream management works still? this is simply a shortcut

  121. moparisthebest

    if indeed that happens then yea this fixes basically nothing

  122. Sam

    Office hours starting in 10 minutes; this week is an intro to the protocol if any operators want to learn about what's going on under the covers of the servers they run! Office Hours starting in 10 minutes! https://socialcoop.meet.coop/sam-pku-dud-niv

  123. jonas’

    dinner time

  124. jonas’

    moparisthebest, stream management does generally not work because you don’t get woken up often enough to keep the SM session alive

  125. rob

    > Office hours starting in 10 minutes; this week is an intro to the protocol if any operators want to learn about what's going on under the covers of the servers they run! Office Hours starting in 10 minutes! https://socialcoop.meet.coop/sam-pku-dud-niv I wish, but work. Will it be recorded?

  126. Sam

    Yes

  127. rob

    Awesome

  128. thndrbvr

    > MattJ wrote: > octagon, when an iOS app is not in the foreground it is completely stopped by iOS, there's no way to stay connected. So to receive messages it needs push notifications (via Apple), and it needs to connect to the XMPP server when you reopen it This is why we can't have nice things. Too much malware and badware doing bad things. Only one allowed to spy is the manufacturer and "they're concerned about privacy". Plus, I'm sure it makes fruitco look good on battery life and lower device temps.

  129. thndrbvr

    It sounds like a good idea for your average shady, tracker-filled proprietary application but, it also significantly reduces the capability of your phone to be used for communication.

  130. tom

    thndrbvr: it's not about that, that's just the superficial upfront public excuse. It's about artificially gimping anything that could compete with facetime unless you pay off a bribe in private which only other bigtech corporations can afford

  131. tom

    Classic anticompetitive move

  132. tom

    Like back when Micro$oft vs Stacker Electronics would use undocumented entrypoints into the OS because stacker wouldn't sell them their technology

  133. tom

    And then sued any company also using those undocumented entrypoints into the os boot to implement transparent disk compression