-
pep.
Ge0rG, re MUC self-ping/removal of gc1, that won't fix clients that don't show presence? like Conversations. But there's not much we can do for that I suppose.
-
jonasw
what does showing presence have to do with removal of GC1?
-
pep.
One of the goals was to let the user know they've lost the connection to the room and their are not silently being reconnected to it, with possibly history loss in between
-
pep.
*they are not
-
jonasw
yes
-
jonasw
conversations *does* show when you get removed from a room
-
jonasw
(it shows a "You are no longer in this room [Join]" blob at the bottom of the message view)
-
pep.
well but if it self-pings, and then reconnects to it, you'll be reconnected in the end
-
jonasw
yes
-
jonasw
so?
-
jonasw
ahh
-
pep.
So it needs a way to clearly show the break
-
jonasw
no, the point is that the reconnect is well-defined
-
jonasw
it can easily do that
-
jonasw
it would request history since the last message it got and/or MAM
-
pep.
yes but that might not cover all messages
-
jonasw
adding a marker in there that messages might’ve been lost due to server issues would be trivial, I presume
-
pep.
ok
-
jonasw
but again this has nothing to do with showing presence
-
pep.
well kind of, I mean poezio doesn't have much to do about this self-ping thing, I see part/joins already, and I already get errors displayed
-
jonasw
it has to do a lot about it
-
jonasw
or it already odes
-
pep.
There is self-ping already
-
jonasw
what happens with poezio without self-ping is that the next message you send to the MUC is just not sent
-
pep.
Maybe not exactly the same that Ge0rG wants?
-
jonasw
and you have to realize that yourself and /cycle
-
jonasw
yeah, the self-ping of poezio has the issue (which poezio can’t do anything about) that it might end up at another resource of yours which cannot reply, thus timing out, thus cycling you unnecessarily
-
pep.
or latency, and unnecessary cycling :(
-
Kev
Ping timeout doesn't matter, does it? It's not until you start getting errors that you need to cycle.
-
jonasw
Kev, if the s2s link is broken badly you’ll also want to let the user know.
-
jonasw
which is generally a timeout condition. also, you’ll probably have to re-join, so you need to cycle
-
Kev
If the s2s link is broken badly, you get a ping response.
-
Kev
And there's no point rejoining while it's down.
-
Kev
So I think the right thing is to only cycle on an error.
-
Kev
You can warn the user on a slow response, but leave them 'in' the room.
-
jonasw
hm
-
jonasw
I’m confused
-
jonasw
if the s2slink is broken badly, you don’t get a response, at all
-
Kev
If it's 'broken', you get remote not found.
-
jonasw
with badly, I mean it’s blackholed and waiting for a two days TCP timeout or The Prosody Bug or something like that
-
Kev
If it's up but blackholing, you get no response.
-
Kev
In that state, cycling achieves nothing.
-
jonasw
what else would you do though?
-
jonasw
start cycling until you’re back in
-
Kev
Nothing.
-
Kev
Wait until you get an error to cycle.
-
jonasw
so you continue to ping
-
Kev
Yes.
-
jonasw
hm
-
Kev
Avoids the 'sent to a disconnected resource that isn't you' issue too.
-
jonasw
the advantage being that (a) you don’t get dropped out by other clients getting your IQ and not being able to reply and (b) if the s2slink actually has stream management or something fancy you don’t lose anything
-
Kev
The disadvantage of all this is that if you're in a MUC that doesn't allow IQ, you're going to be perpetually cycling.
-
Maranda
MUC that doesn't allow IQ?
- Maranda attempts to picture the case in his mind.
-
Kev
Some MUCs disallow all PM traffic.
-
Kev
Because it'd be a nuisance, e.g. getting arbitrary file transfer requests or whathaveyou.
-
jonasw
is it specified what type of error such a MUC returns?
-
Maranda
service-unavailable me thinks?
-
jonasw
service-unavailable would be treated as success by MUC-self-ping implementations ala Ge0rG
-
Maranda
but I vaguely recalls forbidden too
-
Maranda
also that ping implementations should treat all errors as *success*
-
jonasw
Maranda, no
-
jonasw
not-allowed is supposedly returned if you’re not joined
-
Maranda
are we talking about the keepalive pings or something else?
-
Maranda
oh
-
Maranda
nm
-
Maranda
because for mod_s2s_keepalive or whatever it was called as long as a IQ reply is returned it shouldn't matter.
-
jonasw
yeah, that’s not the topic though
-
Maranda
but if it's about being into the room
-
Maranda
on a slightly different topic is poezio the only *still in development* thing using GC1.0?
-
jonasw
I’m pretty sure that poezio doesn’t use GC1.0
-
Zash
Nothing uses GC 1.0
-
jonasw
yeah, it doesn’t, Maranda
-
Zash
Only thing we found that did was the prosody web chat, and it's been fixed.
-
Maranda
I'm not sure why I remember a talk about sending presences without x✎ -
Maranda
I'm not sure why I remember a talk about it sending presences without x ✏
-
Maranda
for joins
-
Maranda
ah well
-
Maranda
all the GC1.0 junk is covered anyways
-
Maranda
(now at least)
-
Maranda
Zash, hmm so the data Link Mauve and Ge0rG got about GC1.0 were about the web chat only?
-
Zash
Huh?
-
Maranda
they collected statistics about GC1.0 joins
-
Maranda
You said "that the only thing we found was the prosody web chat"
-
Zash
I collected some stats from conference.prosody.im
-
Maranda
Oh ok.
-
Ge0rG
Kev: will rooms that forbid PMs also forbid IQs?
-
Steve Kille
IQ seems a lower level thing, which should not have control coupled to PMs
-
Ge0rG
I'm pretty sure one of the XSF MUCs disallowed PMs in the past, but self-ping did work
-
Maranda
Ge0rG, you mean jdev@conference.jabber.org that's the only one that comes to mind.
- Maranda is tempted to tinker with 363
-
Ge0rG
Maranda: well possible.
-
Kev
Ge0rG: Depends. But if PMs are disabled for not getting spammed reasons, blocking IQs makes sense too, because file transfer, Jingle call, etc.
-
Ge0rG
Kev: I'm looking for answers from real implementations