-
neshtaxmpp
hi
-
neshtaxmpp
something stange is happening with ejabberd. you are not connected to this chat... latest git ejabberd. attention
-
jcbrand
There are lots of hills that Ge0rG isn't willing to die on
-
Ge0rG
Also lots of hills where I'm fighting to death... š
-
jonasā
ping
-
Zash
RST
-
jonasā
I seem to have a stuck s2s link between xmpp.org and wielicki.name
-
Zash
Any idea when it started?
-
jonasā
yes
-
jonasā
18:40Z
-
jonasā
18:33Z was last successful contact
-
jonasā
Ā±2min
-
Zash
Like say 18:31:17
-
jonasā
I see an unanswered ping being sent to xmpp.org at 18:35:12 from my prosody
-
jonasā
I luckily have debug logs \o/
-
jonasā
18:33:17 also looks unanswered (going further up)
-
Zash
I see nothing after that
-
Zash
And I see an error.
-
jonasā
oh yes, I have 18:31:17 as the last answer
-
Zash
And I know the reason for that.
-
jonasā
the reason is?
-
Zash
A chain of unshaved yaks I'm afraid
-
jonasā
oh dear
-
jonasā
is this again the thing where I start to test/monitor stuff and I find bugs in servers?
-
Zash
Bug in lua-event. It's fixed, but there's where the chain of unshaved yaks starts, waiting for iteam to fix the world š
-
jonasā
I see
-
jonasā
s/lua-event/epoll/ and see how much fire comes out of things?
-
jonasā
Ge0rG, are you okay with me registering an account on yax.im for ping-probing my own domains from yax.im every 60s or so, possibly along with xmpp.org for fun & profit?
-
jonasā
Zash, so you have all data you need?
-
lovetox
why are there features registered for MUC and no description what they mean
-
lovetox
whats muc_unsecured !?
-
Zash
lovetox, opposite of the one where it has a password
-
Zash
I think?
-
lovetox
whats muc_public vs muc_open
-
lovetox
Zash no there is muc_passwordprotected
-
lovetox
muc_persistent vs muc_temporary
-
Zash
jonasā, not entirely sure why the error causes s2s to be stuck
-
jonasā
muc_public and muc_open are not mutually exclusive
-
lovetox
how do you know that?
-
jonasā
lovetox, I run search.jabbercat.org ;)
-
Zash
One is the opposite of hidden and the other is maybe the opposite of members-only?
-
jonasā
yes
-
jonasā
thatās the case
-
lovetox
haha ok, so now we know its used in the wild
-
lovetox
but still no idea what it means
-
jonasā
I do
-
jonasā
is_joinable_muc = ( "muc_open" in info.features and "muc_passwordprotected" not in info.features and "muc_persistent" in info.features )
-
jonasā
is_indexable_muc = ( "muc_public" in info.features and "muc_persistent" in info.features )
-
Zash
https://xmpp.org/extensions/xep-0045.html#registrar-features has some short descriptions
-
jonasā
a MUC needs to be indexable && joinable to appear in the listing
-
jonasā
thus, there are quite a few which are both open and public :)
-
lovetox
Zash thats what im looking at
-
jonasā
I donāt look at muc_unsecured
-
lovetox
so they added a feature for every state
-
lovetox
instead of if muc_open is absent it means its not open
-
jonasā
Zash, would closing the s2s link from my side help fixing the stuckness?
-
Zash
probably, tho I wonder if it'll notice the closing if it doesn't notice incoming data
-
Zash
hm
-
jonasā
my question is thus: can I do that, or would that hinder investigations you want to take on this?
-
Zash
Hold on
-
jonasā
alright, I just silenced the alert for now :)
-
Zash
jonasā, eh, kill it
-
lovetox
em
-
lovetox
ejabberd returns on disco info on a muc room
-
lovetox
a form that has not only the typical roominfo stuff
-
lovetox
they also add roomconfig stuff in there even with options
-
jonasā
Zash, that fixed things
-
lovetox
https://paste.gajim.org/view/a337ac53
-
lovetox
should i report this?
-
lovetox
looks really weird and not right
-
Zash
Specifically?
-
jonasā
whatās weird about it?
-
lovetox
a form of formtype muc#roominfo
-
lovetox
having muc#roomconfig vars
-
jonasā
not unusual
-
Ge0rG
jonasā: feel free to IBR and set up monitoring
-
jonasā
lovetox, xsf@muc.xmpp.org has it too
-
jonasā
Ge0rG, thanks!
-
jonasā
(if you come across zombofant-blackbox-prober@yax.im, thatās me)
-
lovetox
i dont see how this is relevant
-
jonasā
lovetox, it is relevant insofar as this is not an ejabberd specific thing
-
lovetox
or is now everything ok if i find X things that do it like that
-
Ge0rG
jonasā: IIRC the conversations uptime monitor is also doing a bunch of things, with a 2min period.
-
Ge0rG
Also my cpu load is back to normal, so I'm relaxed now.
-
Zash
https://xmpp.org/extensions/xep-0045.html#registrar-features <name>http://jabber.org/protocol/muc#roominfo</name> <desc>Support for the muc#roominfo FORM_TYPE</desc>
- Ge0rG &
-
lovetox
why not just add a second form with the correct form type
-
lovetox
why even bother having a form type if we can infer nothing from it
-
Zash
What
-
Zash
What's the correct form type?
-
Zash
It looks like it has `http://jabber.org/protocol/muc#roominfo`, which is correct
-
lovetox
not if you put then vars in it that are registered under a different form type
-
jonasā
a form type is just a hint anyways
-
jonasā
I donāt see a reason to duplicate the names and semantics of the fields
-
Zash
There's some text under example 10 https://xmpp.org/extensions/xep-0045.html#example-10 that seems to say that this is ok
-
lovetox
Zash no
-
lovetox
that example is wrong :D
-
jonasā
> whereas other information is based on the more-stable room configuration, which is why any field defined for the muc#roomconfig FORM_TYPE can be included in the extended service discovery fields (as shown above for the "muc#roomconfig_changesubject" field).
-
jonasā
is it?
-
jonasā
the text seems to say itās right
-
lovetox
yes
-
lovetox
indeed XEP allows it
-
lovetox
the example is wrong because of this
-
lovetox
muc#roominfo_changesubject
-
lovetox
this var is not registered and does not exist
-
lovetox
but its unrelated to the topic :)
-
jonasā
oh it should be roomconfig_changesubject, I guess
-
lovetox
no also wrong
-
lovetox
i mean you could but there is a better option
-
jonasā
which is?
-
lovetox
muc#roominfo_subjectmod
-
lovetox
which is actually registered
-
lovetox
:D
-
jonasā
fun
-
lovetox
it gets even more funnier
-
lovetox
i wanted to show that value in Gajim
-
lovetox
so i looked at the example, and told ejabberd and prosody devs to add roomconfig_changesubject
-
lovetox
both did
-
lovetox
:D
-
jonasā
too tired
-
jonasā
sleepytime
-
Zash
seconded
-
lovetox
ah no even worse, i requested adding the wrong one muc#roominfo_changesubject
-
lovetox
:/