Process-one
ejabberd
ejabberd@conference.process-one.net
Thursday, June 28, 2018< ^ >
zinid has set the subject to: ejabberd discussions: https://docs.ejabberd.im
Room Configuration
Room Occupants

GMT+0
[00:00:40] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:02:39] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:07:52] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:08:51] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:12:56] lorddavidiii leaves the room: Connection failed: connection closed
[00:15:39] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:23:24] lorddavidiii leaves the room: Connection failed: host is unreachable
[00:29:39] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:36:02] ta leaves the room
[00:39:43] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:43:24] Tyler leaves the room: offline
[00:53:38] Neustradamus leaves the room
[00:53:40] ChaosKid42 leaves the room
[00:54:13] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:59:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:00:41] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:11:29] Man_Life leaves the room: Logged out
[01:12:58] pprrks leaves the room
[01:26:08] Alacer leaves the room
[01:37:30] Alacer leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:40:14] jeremy leaves the room: Machine going to sleep
[01:43:55] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:44:47] ingolf leaves the room
[01:54:28] jeremy leaves the room: Machine going to sleep
[02:02:03] jere leaves the room: Disconnected: Replaced by new connection
[02:06:51] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:12:58] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:16:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:22:24] ata2001 leaves the room: Disconnected: closed
[02:22:25] ulrich leaves the room: Stream closed by us: Replaced by new connection (conflict)
[02:30:46] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[02:33:17] Marzanna leaves the room: Stream closed by us: Replaced by new connection (conflict)
[02:52:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:57:25] Alacer leaves the room
[03:04:19] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:24:52] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:53:39] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:01:49] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:02:25] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:04:39] bammes leaves the room: Stream closed by us: Client acknowledged more stanzas than sent by server (undefined-condition)
[04:05:00] bammes leaves the room: Stream closed by us: Client acknowledged more stanzas than sent by server (undefined-condition)
[04:11:26] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:12:58] bammes leaves the room
[04:20:22] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:32:55] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:35:25] ingolf leaves the room
[04:36:59] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:40:28] mimi89999 leaves the room
[04:44:34] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:51:12] ingolf leaves the room
[04:52:15] ingolf leaves the room: Disconnected: Replaced by new connection
[04:54:03] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:59:44] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:11:36] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:17:43] adrien leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:17:45] vogt leaves the room
[05:17:55] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:18:23] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:18:54] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:20:51] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:21:25] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:22:23] jere leaves the room
[05:24:54] ingolf leaves the room: Disconnected: Replaced by new connection
[05:25:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:27:39] tester leaves the room
[05:39:53] zinid leaves the room
[05:43:03] bammes leaves the room
[05:44:47] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:51:20] bammes leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:55:53] sindrake leaves the room
[06:00:31] bammes leaves the room
[06:02:54] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:03:10] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:05:02] <zinid> Holger,
09:00:56.509 [warning] got unexpected info: {#Ref<0.3549543999.1584398338.91960>,{resume,#{pres_timestamp => {1530,165449,682385},codec_options => [ignore_els],caps_resources => {0,nil},stop_reason => {socket,closed}
[06:08:12] ingolf leaves the room: Disconnected: Replaced by new connection
[06:08:44] bammes leaves the room
[06:08:46] bammes leaves the room: Stream closed by us: Client acknowledged more stanzas than sent by server (undefined-condition)
[06:11:14] <Holger> zinid: Ok, I'll look later today.
[06:11:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:12:14] <zinid> Also:
08:59:40.462 [error] Hook c2s_unbinded_packet crashed when running mod_stream_mgmt:c2s_unbinded_packet/2:
** Reason = {exit,{killed,{p1_server,call,[<0.2909.0>,{resume_session,{1530,165448,29715}},15000]}},[{p1_server,call,[{file,"src/p1_server.erl"},{line,210}],3},{mod_stream_mgmt,inherit_session_state,[{file,"src/mod_stream_mgmt.erl"},{line,658}],2},
[06:12:53] <zinid> I understand this one is not the modules fault, it's because it's killed by the OOM killer, but still would be nice to handle this correctly
[06:13:51] <Holger> Hm isn't that error fine in that case?
[06:14:04] <zinid> do we really care?
[06:14:40] <zinid> I mean when it's killed that always means either admin's action or watchdog's action
[06:14:55] <Holger> Yeah probably not.
[06:15:14] <zinid> also, above is a huge warning made by the OOM killer
[06:15:54] <zinid> so such messages in this case only overload the logger which can be also potentially be killed because of this
[06:16:53] <Holger> But can we just catch the 'killed' case on the assumption it will always be due to the OOM killer?
[06:17:08] <zinid> no, it can be done by a supervisor
[06:17:17] <zinid> or by admin
[06:17:30] <zinid> my point is that we always know what's happening
[06:17:38] <Holger> Okay.
[06:17:57] <zinid> supervisor will leave a log message, watchdog will log a message and admin knows what he does
[06:18:25] <zinid> I frankly don't remember any other cases of process killing
[06:19:03] <Holger> Yup, I'm convinced.
[06:19:10] <zinid> to re-iterate: if something is killed, it's already logged somewhere
[06:19:53] <flow> zinid, after reading your linked chatlog it appears that you closed #2483 because of jid haveresting?
[06:20:05] <zinid> flow, yes
[06:20:47] <flow> and not performing a proper response to disco#info on an open access PEP nodes helps how exactly?
[06:21:22] <zinid> by hiding the knowledge about JID?
[06:21:58] <flow> if would the haverester just query the node (with a well known node id) directly with pubsub anyways?
[06:22:22] <Holger> So the server should return disco depending on the node access model?
[06:22:36] <Holger> flow: Why do you need disco there?
[06:22:38] <zinid> https://tools.ietf.org/html/rfc6120#section-13.11
[06:22:56] <flow> Holger, proably the best compromise
[06:23:00] <zinid> > Therefore, a server that
   exercises a higher level of caution might not return any error at all
   in response to certain kinds of received stanzas, so that a non-
   existent user appears to behave like a user that has no interest in
   conversing with the sender
[06:23:22] <Holger> flow: Sounds ugly to me.
[06:23:52] <zinid> we can just swallow the IQ disco request!
[06:23:54] <zinid> yay
[06:24:01] <flow> Holger, to determine if it's a Leaf or Collection node
[06:24:29] <flow> and while we at spec lawering: pubsub/pep implementations are required to respond to disco#info as per xep60 § 3.
[06:24:46] <zinid> really?
[06:24:48] <zinid> great
[06:25:04] <zinid> so we can just stop pretending about jid harvesting?
[06:25:28] <flow> zinid, with the trend towards open access PEP nodes with well known node IDs, yes
[06:25:38] <zinid> this system is as weak as it's weakest part: if there is a leak somewhere it doesn't make sense to protect in others
[06:25:48] <flow> of course, certain deployments may have different requirements
[06:26:15] erik leaves the room: Connection failed: timeout
[06:26:19] <flow> bbl
[06:26:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:27:05] <zinid> ok, then I need carte blanche from the Council so I can remember all checks from the code
[06:27:10] <zinid> let's spammer spam you
[06:27:25] <zinid> s/remember/remove
[06:28:31] <Holger> > So the server should return disco depending on the node access model?
Though I guess this should also be subject to 0016/0191 (though those XEPs don't mention it)?
[06:28:57] <Holger> I envision wonderful code.
[06:29:27] <zinid> Holger, this change requires a lot of code change because the main hook should be changed
[06:29:39] <zinid> 3 hooks actually
[06:29:51] <zinid> 3 the most used hooks actually 😉
[06:30:10] <Holger> Yup. I guess it may be equally horrible for other servers.
[06:30:11] <zinid> also, API incompatibiliy in third-party code
[06:30:18] <zinid> so yeah, this requires discussion
[06:30:25] <Holger> I don't think this is a sane solution.
[06:33:54] <zinid> > and while we at spec lawering: pubsub/pep implementations are required to respond to disco#info as per xep60 § 3.
looks like this doesn't work in ejabberd?
[06:34:07] <zinid> for pep at least
[06:34:51] <zinid> from the code I don't see how ejabberd will pass unsubscribed disco#info to the hook
[06:35:11] <zinid> there is a check right in front of the hook call
[06:37:06] <Holger> Yes I think this doesn't work. Unsubscribed PEP wasn't a thing until recently.
[06:37:12] Alacer leaves the room
[06:37:54] <zinid> that check is inefficient by the way
[06:38:08] <zinid> let me fix that while I'm on it 😉
[06:38:43] <Holger> (I mean using PEP without presence/caps subscription.)
[06:39:02] <zinid> yeah, and how you can use PEP without caps?
[06:39:26] <Holger> They want to use it just like plain PubSub.
[06:39:30] <zinid> isn't the idea of PEP to auto-subscribe on presences?
[06:39:44] <zinid> oh, great idea
[06:39:56] <zinid> Holger, btw, I need to copy this code into mod_disco: https://github.com/processone/ejabberd/blob/master/src/mod_block_strangers.erl#L225
[06:40:06] <zinid> Holger, what to do? I has no want copi
[06:40:40] <zinid> in misc.erl this looks ugly as well
[06:40:45] <zinid> just copy it to mod_roster?
[06:42:42] <Holger> You need to address flow's issue or you need it anyway?
[06:43:26] <Holger> *You need this to address ...
[06:43:40] <zinid> I need it anyway, currently there is:
1) get the whole roster (sic!)
2) iterate through the roster (O(1) for pussies!)
[06:44:00] <Holger> Ah.
[06:44:21] <Holger> Yet another hook!
[06:44:32] <zinid> hum
[06:45:09] <zinid> nah, this will be almost a copy of roster_get_info hook
[06:45:26] Akasch leaves the room
[06:46:00] <Holger> On my phone, can't read code properly.
[06:46:17] <zinid> no problem, I decided to copy this into mod_roster
[06:46:26] <zinid> it will not introduce mod_roster dependency
[06:46:29] <Holger> k
[06:46:44] <zinid> I have something like this in mod_caps already, to calculate the hash
[06:53:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:54:06] ingolf leaves the room: Disconnected: Replaced by new connection
[06:54:23] Man_Life leaves the room: Logged out
[07:00:04] ingolf leaves the room: Disconnected: Replaced by new connection
[07:12:59] xinit leaves the room
[07:15:21] avb leaves the room: Replaced by new connection
[07:16:33] avb leaves the room: Replaced by new connection
[07:24:03] <flow> zinid, Holger: Your feedback would be appreciated on this https://github.com/Flowdalic/xeps-xsf/commit/41ec50a11c35fa66e0bd680eea1b4bb5c8d0ced8
[07:26:33] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:31:31] 404 leaves the room
[07:36:27] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:41:17] xinit leaves the room
[07:50:57] sindrake leaves the room: Disconnected: Replaced by new connection
[07:54:39] ThUnD3r|Gr33n® leaves the room
[07:55:54] ThUnD3r|Gr33n® leaves the room
[08:03:22] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:09:48] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:11:00] mimi89999 leaves the room
[08:12:13] sindrake leaves the room
[08:17:12] ingolf leaves the room
[08:18:53] beri leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:23:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:28:13] vanitasvitae leaves the room
[08:28:48] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:38:21] <vanitasvitae> Holger, zinid, flow I sent a mail to standards@ about the pubsub/disco#info issue
[08:40:18] Holger leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:41:51] <Alacer> > I'll set 18.06 to keep you toned!
zinid: 18.06 or 18.07? when is the release planned....
[08:43:22] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:43:23] mightyBroccoli leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:43:23] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:44:23] <zinid> Alacer, 18.06
[08:44:31] <zinid> cromain already started tagging
[08:45:35] <Holger> I was to sloooow!
[08:45:38] <Holger> As usual.
[08:46:50] <cromain> it's still not too late
[08:46:53] cippaciong leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:47:01] <cromain> i'll tag in ~30mn
[08:49:23] beri leaves the room
[08:50:45] xinit leaves the room
[08:54:10] <Alacer> > https://code.fb.com/production-engineering/building-mobile-first-infrastructure-for-messenger/
How then FB manages Signal Protocol public keys and MAM like function with Signal Encryption....
[08:55:52] <Holger> cromain: Hehe, I try to avoid pushing commits during work hours.
[08:56:10] <Holger> But the mod_stream_mgmt things aren't critical anyway.
[08:56:17] <zinid> yeah, also not a great idea to commit in 30 minutes before the release
[08:56:29] <Holger> Right.
[08:56:31] SouL leaves the room
[08:56:41] <zinid> I commited an hour ago!
[08:59:28] beri leaves the room
[09:00:52] <Alacer> zinid: Good..... some people have to do just 5 mins prior release in rare cases as well....
[09:02:29] beri leaves the room
[09:02:53] <zinid> the wall of fame for 18.06: http://upload.zinid.ru/wall.txt
[09:02:58] <zinid> I win as always!
[09:04:16] frainz leaves the room
[09:05:16] Alacer leaves the room
[09:06:52] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:07:55] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:13:19] vanitasvitae leaves the room
[09:13:20] <Alacer> > the wall of fame for 18.06: http://upload.zinid.ru/wall.txt
> I win as always!
zinid: Seems another big release of the year... 2018 is strong year for ejabberd...👍👌
[09:16:05] <zinid> hum, I think that's our normal development speed 😕
[09:16:25] <zinid> this one was even slower because I was busy on separate projects
[09:16:47] <zinid> MQTT for example, and benchmarking
[09:17:43] Andrew Nenakhov leaves the room
[09:20:03] vanitasvitae leaves the room
[09:22:10] alexis leaves the room
[09:27:27] beri leaves the room
[09:32:16] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:32:31] Licaon_Kter leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:36:50] frainz leaves the room
[09:40:04] Andrew Nenakhov leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:45:46] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:48:45] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:48:54] bammes leaves the room
[09:55:45] mrDoctorWho leaves the room
[09:55:45] mrDoctorWho leaves the room
[09:56:06] mrDoctorWho leaves the room
[09:59:08] Alacer leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:04:23] xinit leaves the room
[10:05:08] Akasch leaves the room
[10:05:18] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:07:37] Alacer leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:17:25] fp leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:21:04] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:27:57] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:33:36] <ThUnD3r|Gr33n®> zinid: mqtt rocks!
[10:33:46] <ThUnD3r|Gr33n®> Fast reliable nice 👍
[10:34:55] Alacer leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:39:36] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:40:48] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:46:51] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:55:19] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:01:33] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:01:34] ata2001 leaves the room: Disconnected: Replaced by new connection
[11:07:35] vanitasvitae leaves the room
[11:09:32] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:10:22] secret_agent leaves the room
[11:11:17] beri leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:13:19] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:14:27] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:15:29] Andrew Nenakhov leaves the room: Connection failed: connection closed
[11:15:53] xinit leaves the room
[11:17:46] ata2001 leaves the room: Disconnected: closed
[11:19:39] <cweiske> Hi. My ejabberd 1:18.04-1~afa90 log is full of "c2s_session_resumed crashed" and "c2s_handle_info crashed" messages.
[11:19:54] <cweiske> Is there a way to debug this kind of errors, or should I just open a bug report on github?
[11:21:17] <cweiske> this crashes would also explain why my wife didn't get some of my messages in the last weeks
[11:24:45] SouL leaves the room
[11:26:00] <cweiske> ok, I've opened a ticket: https://github.com/processone/ejabberd/issues/2493
[11:28:14] <zinid> github is great at posting crashes
[11:28:25] <zinid> Single line!
[11:28:45] <cweiske> is there some ejabberd crash formatter?
[11:29:27] <zinid> no, well, I have read that crash already
[11:29:34] <zinid> looks like something wrong in the database
[11:29:37] <zinid> what database?
[11:29:43] <cweiske> I've not configured a database
[11:29:50] <cweiske> so I guess it's the default mnesia
[11:30:48] <zinid> yeah, probably just need to clear pep table
[11:30:54] <zinid> cromain, any clue on how to do that?
[11:34:41] ata2001 leaves the room: Disconnected: closed
[11:35:08] <zinid> if you can restart server then you can just stop it, remove pubsub* from mnesia directory and then start again
[11:35:13] <cweiske> ok
[11:35:18] cweiske leaves the room: Stream closed by us: system-shutdown
[11:35:49] cweiske leaves the room
[11:36:02] <zinid> > ls pubsub_*            
pubsub_index.DCD  pubsub_item_3.DAT  pubsub_item.DAT  pubsub_node.DCD  pubsub_orphan.DCD  pubsub_state.DCD
[11:36:05] <zinid> these ones
[11:37:03] <zinid> but this is a bug in mod_pubsub I think, this should be fixed
[11:37:10] <zinid> I think this is not the first time I see it
[11:37:26] cweiske leaves the room
[11:39:06] cweiske leaves the room
[11:39:29] cweiske leaves the room
[11:41:06] <cweiske> so, I removed the pubsub* files
[11:41:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:41:27] <cweiske> let's see if the error occurs again in the next days. thanks for the help, zinid
[11:42:26] Andrew Nenakhov leaves the room: Connection failed: connection closed
[11:43:28] <zinid> Ah, lol
[11:43:33] <zinid> I know where the bug is
[11:44:52] ata2001 leaves the room: Disconnected: Replaced by new connection
[11:45:05] <zinid> > xmpp:encode(#message{sub_els = [{xmlcdata, <<>>}]}).
** exception error: undefined function undefined:do_encode/2
     in function  rfc6120:'-encode_message/2-lc$^0/1-0-'/3 (src/rfc6120.erl, line 4871)
     in call from rfc6120:encode_message/2 (src/rfc6120.erl, line 4871)
[11:47:23] <cweiske> ah. pubsub is used for OMEMO key storage.
[11:50:08] <zinid> yes
[11:50:16] Andrew Nenakhov leaves the room: Connection failed: connection closed
[11:50:24] <zinid> and avatars
[11:50:41] <zinid> I'm prepairing a fix, but alas it won't go into 18.06
[11:50:47] <zinid> only into 18.08, sorry for this
[11:50:50] <zinid> you're too late 😛
[11:50:53] <cweiske> :)
[11:51:01] <cweiske> could you say something about when this happens?
[11:51:05] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:51:22] <zinid> at any time if a client puts some empty lines in between XML tags 😀
[11:51:48] <cweiske> so it's not directly related to OMEMO usage
[11:52:22] <zinid> no, it's related to very low level: xmpp_codec
[11:52:29] <zinid> not even pubsub issue
[11:52:43] <zinid> and it will be fixed in xmpp library, not even in ejabberd
[11:53:04] <zinid> > xmpp:encode(#message{sub_els = [{xmlcdata, <<>>}]}).
#xmlel{name = <<"message">>,
       attrs = [{<<"xmlns">>,<<"jabber:client">>}],
       children = [{xmlcdata,<<>>}]}
[11:53:07] <zinid> much better now
[11:53:23] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:53:26] <cweiske> there is no workaround for me, right?
[11:53:56] <zinid> well you can apply the patch
[11:54:21] <zinid> diff --git a/src/xmpp_codec.erl b/src/xmpp_codec.erl
index 026ac91..e1d86ec 100644
--- a/src/xmpp_codec.erl
+++ b/src/xmpp_codec.erl
@@ -22,6 +22,7 @@ decode({xmlel, Name, Attrs, _} = El, TopXMLNS, Opts) ->
encode(El) -> encode(El, <<>>).

encode({xmlel, _, _, _} = El, _) -> El;
+encode({xmlcdata, _} = CData, _) -> CData;
encode(El, TopXMLNS) ->
     Mod = get_mod(El), Mod:do_encode(El, TopXMLNS).
[11:54:24] <zinid> one liner
[12:02:57] ata2001 leaves the room: Disconnected: closed
[12:08:51] <cweiske> thanks for the quick fix!
[12:09:20] <zinid> you're welcome
[12:09:24] <zinid> sorry for losing your omemo keys 😕
[12:10:10] <cweiske> at least I know now that pubsub in xmpp is actually used for something useful
[12:10:24] <zinid> avatars also 🙂
[12:13:54] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:14:08] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:16:22] <zinid-> ping
[12:16:29] <zinid-> testing 18.06 installer
[12:16:36] <zinid-> looks good
[12:17:23] lorddavidiii leaves the room
[12:18:57] <zinid-> cromain: the installer looks ok
[12:24:48] zinid- leaves the room: Stream reset by peer
[12:29:51] jeremy leaves the room
[12:33:05] <Licaon_Kter> zinid:
> the wall of fame for 18.06: http://upload.zinid.ru/wall.txt
I got last place 😞
Better luck for 18.08 I guess 🤷
🤣
[12:33:05] J. King leaves the room
[12:34:09] J. King leaves the room: Stream reset by peer
[12:35:19] cweiske leaves the room
[12:36:10] Andrew Nenakhov leaves the room: Connection failed: connection closed
[12:37:39] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:38:04] Andrew Nenakhov leaves the room: Connection failed: connection closed
[12:43:46] <zinid> Licaon_Kter, try harder!
[12:43:56] zuglufttier leaves the room
[12:45:08] <Holger> Evgeniy is working harder than Evgeny.
[12:45:32] frainz leaves the room: Stream closed by us: system-shutdown
[12:45:38] <Licaon_Kter> Da evil twin?
[12:47:29] robert_mobil leaves the room
[12:49:28] alexis leaves the room
[12:50:02] <newbie> do i need example.com to be included in the s2s ssl certificate or only xmpp.example.com since thats where its being pointed to via srv recored?
[12:51:27] <Holger> Only example.com.
[12:53:17] prefiks leaves the room
[12:54:31] <newbie> Holger, what about conferences, vjud, upload, biboumi, pubsub, proxy65 in terms of s2s
[12:54:43] <newbie> and i have the same question regarding c2s
[12:56:02] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:56:45] sindrake leaves the room
[12:57:25] <Holger> I would simply add all subdomains, but you could omit those that aren't used by remote users.
[13:00:58] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:01:33] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:02:15] alexis leaves the room
[13:06:39] <zinid> it's better to add all subdomains, yest
[13:07:01] <zinid> otherwise there will be an annoying warning message 😛
[13:07:22] alexis leaves the room
[13:10:47] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:12:52] <Holger> Exactly.
[13:13:00] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:13:05] <Holger> (Also on the remote server's side when someone does disco.)
[13:16:44] SouL leaves the room
[13:23:26] bammes leaves the room
[13:32:03] jere leaves the room
[13:37:29] ata2001 leaves the room: Disconnected: closed
[13:41:53] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:50:14] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:51:57] mrDoctorWho leaves the room
[13:59:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:02:12] cippaciong leaves the room: Machine going to sleep
[14:07:56] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:10:17] ingolf leaves the room
[14:12:27] srgcdev leaves the room: Stream closed by us: system-shutdown
[14:12:52] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:16:19] Odin leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:16:35] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:18:16] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:19:37] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:21:34] <Holger> !version conversations.im
[14:21:34] <Servant> Holger: conversations.im is running ejabberd version 18.06.1-conversations.im on unix/linux 4.9.0
[14:21:51] <Holger> 🥇
[14:22:42] debalance leaves the room
[14:23:41] <ThUnD3r|Gr33n®> !version emevth.no-ip.biz
[14:23:44] <Servant> ThUnD3r|Gr33n®: emevth.no-ip.biz is running ejabberd version 18.04.79 on unix/linux 3.4.113
[14:23:53] <ThUnD3r|Gr33n®> Arrggg miles behind
[14:24:11] <zuglufttier> Can't Servant do the updates for us?
[14:24:15] ThUnD3r|Gr33n® will fix this
[14:24:18] <zuglufttier> That would be way easier!
[14:24:35] <ThUnD3r|Gr33n®> zuglufttier: well.if servant would know your setup. ....
[14:24:37] <ThUnD3r|Gr33n®> 🤔
[14:25:07] <ThUnD3r|Gr33n®> Or via command like: ./configure prefix=blablabla
[14:25:15] <ThUnD3r|Gr33n®> I'm agree
[14:29:42] ulrich leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:34:00] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:38:35] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:42:37] ta leaves the room
[14:43:29] mimi89999 leaves the room
[14:48:38] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:49:51] cippaciong leaves the room
[14:50:17] vanitasvitae leaves the room
[14:57:16] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:57:59] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:58:13] SouL leaves the room: Disconnected: Replaced by new connection
[14:59:08] srgcdev leaves the room
[15:00:00] srgcdev leaves the room
[15:01:40] avb leaves the room
[15:05:25] <cromain> https://blog.process-one.net/ejabberd-18-06/
[15:06:23] <Holger> \o/
[15:06:55] VC leaves the room
[15:07:20] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:09:35] 404 leaves the room
[15:10:25] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:15:54] 404 leaves the room
[15:22:43] zuglufttier leaves the room
[15:24:04] <Licaon_Kter> cromain: main site, middle page news still old 🙄
[15:26:56] <zinid> Looks ok, but we didn't mention about mobile connections (push) improvement, we have it highlights and listed in changes at the bottom, but no understandable description 🤔
[15:27:26] <zinid> Because nobody know what exactly has been improved except Holger 😀
[15:27:33] <Licaon_Kter> The new OOM behaviour, not in the docs yet?
[15:27:42] <zinid> Licaon_Kter: no
[15:27:44] <Licaon_Kter> zinid: the "message" thing
[15:28:02] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:28:41] <zinid> Yeah, I have heard something about that thing in Conversations and chatsecure rooms 😂
[15:29:20] sindrake leaves the room
[15:31:06] robert_mobil leaves the room
[15:32:01] Tyler leaves the room: offline
[15:34:02] robert_mobil leaves the room
[15:35:41] jeremy leaves the room: Machine going to sleep
[15:36:50] nekit leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:39:10] <Licaon_Kter> The http requests optimisation is da $hit, I'm glad zinid had his vermouth that day and jumped and made it better when I complained. Not sure why no one else complained before...the RPi1 and clones are around for 6 years already. 🤤🤔
[15:39:43] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:42:54] <Holger> zinid: Hehe nobody asked me about the push changes, but it's not exactly trivial to describe them anyway. "Works better now."
[15:43:01] debalance leaves the room
[15:45:55] <VC> are there any specific version upgrade notes frrom 18.04 to 18.06 ?
[15:46:12] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:48:56] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:48:56] nosnilmot leaves the room
[15:49:53] nosnilmot leaves the room
[15:50:43] nekit leaves the room
[15:53:52] <zinid> VC: only check your logs you don't have configuration warnings
[15:54:59] <zinid> Holger: yeah, I thought cromain would ask, but whatever
[15:55:52] <zinid> VC: the only related schema change is removal of irc_custom table
[15:56:53] <zinid> Licaon_Kter: I new about this problem, I wanted to fix it, you just triggered 😁
[15:57:02] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:57:04] <zinid> *knew
[15:57:59] <VC> thanks for your answer zinid
[15:58:01] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:58:46] cromain leaves the room
[16:00:05] Licaon_Kter leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:00:21] <zinid> 👍
[16:00:41] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:00:55] <zuglufttier> So, will 18.06 not start if still get this error?
2018-06-28 14:45:34.764 [error] <0.352.0>@ejabberd_pkix:validate:544 Failed to list directory /etc/ssl/certs: no such file or directory
[16:01:18] <zuglufttier> But ejabberd is working with valid certificates.
[16:02:36] <zuglufttier> Also, why is ejabberd asking for certificates for upload.domain.com if I changed to config to domain.com/upload?
[16:02:48] <zuglufttier> And it's working well with domain.com/upload.
[16:03:50] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:05:53] tester leaves the room
[16:05:53] Alacer leaves the room
[16:06:11] <zinid> zuglufttier: ejabberd now is only sensitive to unknown or mistyped/malformed options
[16:06:22] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:06:38] <zinid> Other warnings are ok
[16:08:01] <zuglufttier> OK. Any ideas about the old upload URLs?
[16:08:01] ta leaves the room
[16:09:12] <zinid> Upload URL has nothing in common with upload domain of our http upload xmpp service
[16:09:23] <zinid> *your
[16:10:09] <zinid> upload.domain will always present in service discovery
[16:10:28] <Holger> You can configure it with the 'host' option.
[16:10:46] <zinid> Yeah, but the warning will remain
[16:10:49] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:11:12] <zinid> Until you change it to some domain listed in the cert
[16:11:59] <zuglufttier> I see!
[16:13:09] <zuglufttier> Can I set the to domain.com?
[16:13:14] <zuglufttier> Can I set that to domain.com?
[16:13:28] <zinid> no
[16:13:40] <zuglufttier> Or is upload.domain.com only needed for services discovery?
[16:13:45] rom1dep leaves the room: Machine going to sleep
[16:13:53] <zuglufttier> And nothing else?
[16:13:58] <zinid> yes, for clients to detect the service exists (automatically)
[16:14:23] <Holger> Well and to actually use it :-)
[16:14:28] <zinid> so you can ignore the warning or add the subdomain to certificate SANs
[16:14:36] <Holger> I.e. it's the address the client will request an upload slot from.
[16:14:44] <zinid> ah, right
[16:14:53] <zuglufttier> No client is complaining about my configuration :D
[16:14:57] <zinid> no
[16:15:12] <Holger> zuglufttier: If you'd allow remote clients to use your upload service, the remote server might complain.
[16:15:25] <Holger> Of course that's not a typical setup.
[16:15:35] <zuglufttier> And right now, no client checks for a valid certificate maybe.
[16:15:47] <Holger> But it is for other modules, i.e. mod_muc or mod_pubsub, of course.
[16:16:11] <zuglufttier> I'll add the subdomain again, thought it was not needed.
[16:16:34] <zinid> yeah, since from the configuration it's unclear how this will be used we log warnings always (it's lesser evil than no warning at all)
[16:18:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:28:31] mightyBroccoli leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:28:48] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:28:55] sindrake leaves the room
[16:30:58] tester leaves the room
[16:31:58] robert_mobil leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:32:49] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:34:00] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:41:00] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:41:22] <Licaon_Kter> zinid:
> I knew about this problem, I wanted to fix it, you just triggered 😁
Eh, admins of _proper_ servers with
> bare metal with 4 Xeon cores and 32G RAM....and two SSDs (in a RAID-1), that'll solve our problems I guess.
don't complain, hence there was no hurry 😁
Also, without that fixed I would of (at least) postponed starting my own server.
[16:43:26] ThUnD3r|Gr33n® leaves the room
[16:44:47] <zinid> I also fixed it because it's potential DoS (hush, don't say anyone)
[16:46:33] <zinid> oh, the dude from WhatsApp mailed me privately
[16:46:48] <zinid> with his unsubscribe github link!
[16:47:06] <zinid> argh, "Whoops! That unsubscribe link isn't valid for your account"
[16:47:26] Akasch leaves the room: Rechner geht in den Ruhezustand
[16:48:33] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:48:47] <Licaon_Kter> zinid: Github bug actually...,saw that a lot for users that reply to notifications 🤷
[16:49:45] <zinid> did you unsubscribe them?
[16:49:54] <zinid> I think with Microsoft this will be possible
[16:50:31] sindrake leaves the room
[16:50:48] zuglufttier leaves the room: Machine going to sleep
[16:52:59] <Licaon_Kter> zinid: did not try....
[16:54:48] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:54:58] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:01:21] badlop leaves the room: Stream reset by peer
[17:02:02] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:05:57] pod leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:06:45] zuglufttier leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:11:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:11:44] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:11:59] tester leaves the room
[17:13:26] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:16:54] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:19:26] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:19:29] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:23:39] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:26:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:27:29] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:30:43] Alacer leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:31:28] secret_agent leaves the room
[17:37:54] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:38:42] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:40:33] lukas leaves the room
[17:42:21] tester leaves the room
[17:45:20] sindrake leaves the room
[17:47:41] Odin leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:49:15] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:50:17] zuglufttier leaves the room
[17:52:55] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:55:40] alexis leaves the room
[17:59:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:01:37] fp leaves the room
[18:02:40] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:04:29] beri leaves the room
[18:04:34] prefiks leaves the room
[18:10:26] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:14:16] vogt leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:18:49] Odin leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:19:09] srgcdev leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:19:23] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:24:35] tester leaves the room
[18:28:57] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:29:14] srgcdev leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:30:02] 404 leaves the room
[18:34:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:38:24] <rom1dep> https://code.tamytro.org/_admin/gists/RXzvgfeNw5jUJ8NwyjNz
Congrats for the release!
[18:40:04] zuglufttier leaves the room
[18:40:04] ThUnD3r|Gr33n leaves the room
[18:40:04] ThUnD3r|Gr33n® leaves the room
[18:40:04] ThUnD3r|Gr33n® leaves the room
[18:40:39] ThUnD3r|Gr33n® leaves the room
[18:41:26] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:42:48] XEP_Translator leaves the room: Stream closed by us: system-shutdown
[18:42:48] rom1dep leaves the room: Stream closed by us: system-shutdown
[18:42:48] rom1dep leaves the room: Stream closed by us: system-shutdown
[18:42:48] rom1dep leaves the room: Stream closed by us: system-shutdown
[18:43:59] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:44:51] <zinid> rom1dep: 👍
[18:49:23] <ThUnD3r|Gr33n®> !version emevth.no-ip.biz
[18:49:25] <Servant> ThUnD3r|Gr33n®: emevth.no-ip.biz is running ejabberd version 18.06.1 on unix/linux 3.4.113
[18:49:32] <ThUnD3r|Gr33n®> Ha!
[18:49:51] <ThUnD3r|Gr33n®> !version jabber.ru
[18:49:51] <Servant> ThUnD3r|Gr33n®: jabber.ru is running ejabberd version 3.2.x on unix/linux 3.16.0
[18:49:52] Tyler leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:50:00] <ThUnD3r|Gr33n®> Lol
[18:50:13] <ThUnD3r|Gr33n®> !version conversations.im
[18:50:13] <Servant> ThUnD3r|Gr33n®: conversations.im is running ejabberd version 18.06.1-conversations.im on unix/linux 4.9.0
[18:51:08] <rom1dep> !version tamytro.org
[18:51:09] <Servant> rom1dep: tamytro.org is running ejabberd version 18.06.1 on unix/linux 4.14.11
[18:51:15] <ThUnD3r|Gr33n®> bravo!
[18:51:22] <ThUnD3r|Gr33n®> we are up todate :)
[18:51:38] <rom1dep> and a downtime of about 5s
[18:51:44] <ThUnD3r|Gr33n®> wow
[18:51:49] <ThUnD3r|Gr33n®> !uptime emevth.no-ip.biz
[18:51:49] <Servant> ThUnD3r|Gr33n®: emevth.no-ip.biz has been running for 0 days, 0 hours and 3 minutes
[18:51:52] <ThUnD3r|Gr33n®> :P
[18:52:14] ThUnD3r|Gr33n® leaves the room: Disconnected
[18:52:20] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:52:37] ThUnD3r|Gr33n® leaves the room
[18:52:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:53:15] <rom1dep> I'd like to draw your attention on a very worrisome and important problem, the fact that ejabberd is chewing memory like there is no tomorrow
[18:53:24] <rom1dep> it's currently taking 1.6% of all my ram
[18:53:34] <rom1dep> unbearable
[18:54:19] <rom1dep> such a waste, worthy of jumping ship and considering matrix as the TrueAltenative©
[18:58:21] <zinid> > 1.6% of all my ram
I will try hard to make next release eating 96.6% of your ram, so it can be at least remotely comparable to matrix
[19:02:18] sindrake leaves the room
[19:03:29] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:21:36] vanitasvitae leaves the room
[19:22:13] ChaosKid42 leaves the room
[19:23:50] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:28:52] ta leaves the room
[19:31:44] zuglufttier leaves the room
[19:31:44] nekit leaves the room
[19:31:59] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:34:09] jannic leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:35:34] zuglufttier leaves the room: Machine going to sleep
[19:41:59] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:42:01] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:46:07] vogt leaves the room
[19:47:27] beri leaves the room
[19:47:51] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:50:33] beri leaves the room
[19:52:40] jannic leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:54:14] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:57:19] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:57:56] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:58:11] <Licaon_Kter> rom1dep: I'm at 47% of RAM 😔
[19:58:25] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:58:52] zuglufttier leaves the room: Machine going to sleep
[19:59:50] <rom1dep> reminds me when I was working on media codecs on a netbook, got me to believe that when you give developers limited resources they tend to make better software :)
[20:00:25] <Licaon_Kter> rom1dep: up to a point, optimizing for a restraint yes
[20:01:01] <Licaon_Kter> But you'll start missing out on features
[20:01:33] secret_agent leaves the room
[20:01:37] <rom1dep> at least testing once or twice per release on a crap hardware and see how/where it has regressed
[20:01:38] <Licaon_Kter> Eg. Yeah, RPi, scratch, leds...but...I bet many bought it when XBMC was working
[20:02:36] <Licaon_Kter> rom1dep: 1.6% of how much RAM?
[20:03:30] <rom1dep> Licaon_Kter: 4GB
[20:05:58] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:07:09] <Licaon_Kter> rom1dep: what did you count exactly?
[20:07:20] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:08:10] <rom1dep> htop's MEM%
[20:09:31] sindrake leaves the room
[20:09:35] srgcdev leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:10:04] <Licaon_Kter> Fer `erlang` process? That's 14.5% then. That 45% was the whole system, unfair to the poor RPi 🤣
I'd have to add the sql used one too...
[20:11:17] <rom1dep> postgres is definitely taking way more than that
[20:11:28] ata2001 leaves the room: Disconnected: closed
[20:12:24] zuglufttier leaves the room: Machine going to sleep
[20:14:44] newbie leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:15:16] bammes leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:16:04] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:23:05] alexis leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:23:50] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:28:02] pod leaves the room
[20:33:27] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:35:59] ingolf leaves the room: Disconnected: Replaced by new connection
[20:40:22] ingolf leaves the room: Disconnected: Replaced by new connection
[20:41:37] srgcdev leaves the room
[20:41:42] ingolf leaves the room: Disconnected: Replaced by new connection
[20:44:18] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:46:21] ingolf leaves the room: Disconnected: Replaced by new connection
[20:56:35] fp leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:57:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:01:17] ingolf leaves the room: Disconnected: Replaced by new connection
[21:02:47] ingolf leaves the room: Disconnected: Replaced by new connection
[21:03:52] alexis leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:04:23] ingolf leaves the room: Disconnected: Replaced by new connection
[21:05:18] targ leaves the room
[21:06:50] targ leaves the room
[21:11:33] zuglufttier leaves the room
[21:19:12] <zinid> Holger,
00:15:51.781 [info] Got HTTP upload slot for user1@zinid.ddns.net/xmppb (file: 14948400220716443175, size: 100777082)
00:15:56.363 [info] Got HTTP upload slot for user1@zinid.ddns.net/xmppb (file: 2228448496247332137, size: 75405250)
00:15:56.371 [info] Rejecting file 14948400220716443175 from 127.0.0.1 for zinid.ddns.net: Unexpected size (75405250)
[21:19:16] <zinid> LOL, I need some rest 🙂
[21:19:48] <Holger> Huh.
[21:20:45] <zinid> yeah, my "client" is messing a filename with another filename's size 😀
[21:21:14] <Holger> Ah, hehe.
[21:22:03] <zinid> but I'm close to start benchmarking!
[21:22:19] <zinid> seems like everything is implemented for the comliance suite to benchmark
[21:22:23] <zinid> ah, except MUC
[21:24:13] robert_mobil leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:25:14] fp leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:26:26] rom1dep leaves the room
[21:27:08] vanitasvitae leaves the room
[21:28:03] beri leaves the room
[21:29:43] lorddavidiii leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:30:18] Odin leaves the room
[21:34:12] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:36:16] zinid leaves the room
[21:39:31] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:40:42] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:42:39] <stigger> Hi. Holger, a quick question for you. ejabberd keeps sending push notifications to my offline devices. Was I wrong to assume that the notifications go out only if there is a pending SM session? Or a client is supposed to unsubscribe from push notifications during disconnect? The notifications I'm seeing are triggered by MAM.
[21:44:11] <Holger> Yes that assumption is wrong.  Main use case of push notifications is waking disconnected clients.
[21:44:12] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:46:01] <stigger> Right, but I'm not talking about the "was online and then switched to SM pending and disconnected from the socket" case, I'm talking about a situation where the user has completely gone offline. Right now with default configuration (include_body="New Message") this leads to textual pushes even if user decided to go offline.
[21:46:39] <Holger> That's right :-)
[21:48:12] <Holger> There's the mod_push_keepalive module that indeed tries to keep pending SM sessions alive for disconnected clients.  But without that, it's normal for disconnected clients to go "completely offline".  I.e. this is usually not intended by the user.
[21:48:17] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:48:33] <Holger> If the user doesn't want notifications, this should be handled client-side.
[21:48:51] <Holger> But I don't think this use-case is common.  First time I see that question.
[21:50:59] <stigger> Well, my use case is that I'm usually online on a computer and only occasionally on my iOS device. When I'm not using the iOS device I keep the client there offline, and don't want it to receive any notifications, because I'll handle them on my computer. And when I'm on iOS device, I go online and then I do expect notifications on every message.
[21:52:40] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:52:55] <Holger> I see no alternative to having the client handle it in another way than simply by "going offline".  Either by muting notifications locally or if that's not possible, explicitly disabling notifications on the server.
[21:54:17] <stigger> Or maybe yet another option in mod_push, that wouldn't send notifications unless there is a pending session? :)
[21:54:25] <Holger> You can disable notifications per-app (or globally) in the iOS settings I think, but I see how that's a bit cumbersome.
[21:54:27] <Holger> No.
[21:55:07] <Holger> You can't rely on keeping the SM session open for the case where the user wants notifications, that's not robust enough.
[21:55:12] marc leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:55:43] <Holger> And you don't want to give the admin such an option.  99% of the users don't want that behavior.
[21:56:33] <Holger> And I see no downside at all in leaving this to the client.
[21:57:00] ludo leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:57:37] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:58:00] <stigger> Just to make sure I understand correctly: by "leaving it to the client" you mean "ask the server to stop sending notifications upon disconnect"?
[21:59:22] <Holger> What I said above.  "Either by muting notifications locally or if that's not possible (but I'd assume it is), by explicitly disabling notifications on the server."
[22:03:23] <stigger> It's not possible to mute notifications locally: the app might be dead, and then iOS will just show the notification that came from the server. Global notification switch in system preferences doesn't work either: it's incovenient to change it, plus a user might have multiple accounts, some online, some offline. So, it looks like the only available solution is to ask the server to stop sending notifications before disconnecting from that server (if disconnection was triggered by the user).
[22:04:28] 404 leaves the room
[22:09:23] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:11:57] Odin leaves the room
[22:13:43] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:20:56] ata2001 leaves the room: Disconnected: closed
[22:27:38] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:31:41] targ leaves the room: offline
[22:37:41] sindrake leaves the room
[22:41:55] Tyler leaves the room: Machine going to sleep
[22:46:13] <Holger> Yes that's an option.  But I'm not sure many user will need fine-tuning such as disabling notifications per-account.
[22:46:20] cippaciong leaves the room
[22:47:19] cippaciong leaves the room
[22:59:02] <Holger> > the app might be dead
My assumption was that the app might be able to access the system preference setting. But I dunno.
[23:00:21] <Holger> But otherwise yes, just let it disable notifications on the XMPP server.
[23:05:05] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:15:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:18:45] vogt leaves the room
[23:26:31] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:28:16] igor75 leaves the room
[23:35:31] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:38:58] ata2001 leaves the room: Disconnected: closed
[23:41:30] sezuan leaves the room
[23:46:44] stigger leaves the room
[23:47:59] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:53:20] xinit leaves the room
Powered by ejabberd - robust, scalable and extensible XMPP server Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!