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

GMT+0
[00:08:14] Licaon_Kter leaves the room: Connection failed: ping_timeout
[00:48:41] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:58:27] Licaon_Kter leaves the room: Connection failed: ping_timeout
[01:09:50] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:41:52] suzyo leaves the room
[01:53:59] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:00:31] jere leaves the room
[02:08:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:08:20] pod leaves the room: Replaced by new connection
[02:41:28] pod leaves the room
[03:05:06] alacer leaves the room: Stream closed by us: Replaced by new connection (conflict)
[03:07:14] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:47:58] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:48:06] ata2001 leaves the room: Disconnected: closed
[03:53:14] vanitasvitae leaves the room: Connection failed: connection closed
[04:25:03] marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:25:26] ata2001 leaves the room: Disconnected: closed
[04:45:52] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:05:32] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:34:33] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:13:10] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:29:40] srgcdev leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:31:08] suzyo leaves the room
[06:41:29] <mnr11> hello, is the Packet format has changed in the newer version in of Ejabberd, I'm using ejabberd 18.01.74
[06:43:47] <mnr11> If it is how do I get the like Type, From, To, Message,cdata etc?
[06:44:30] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:46:13] <zinid> https://github.com/processone/xmpp/blob/master/README.md
[06:49:03] SaltyBones leaves the room
[06:54:20] <mnr11> Do I have to install it manually?  I already included "xmpp.hrl". I'm fairly new to ejabberd and erlang.  
[06:55:37] <zinid> If you fairly new then it will be too complex for you, I think
[06:57:19] <mnr11> And I don't see any element in Packet named id, type, lang, from, to
[06:58:06] <mnr11> here's the packet I got: https://pastebin.com/1J3dyE59  
[06:58:56] <mnr11> yeah spent a couple of weeks and hard times
[07:00:36] <mnr11> and I tried to parse it manually.
[07:01:11] <mnr11> something like this > To = element(2,element(5,element(1, Packet))).
[07:02:51] <zinid> mnr11, where do you keep your module (*.erl) file?
[07:03:18] <zinid> if inside ejabberd's `src` directory, then included "xmpp.hrl" should work
[07:03:23] suzyo leaves the room
[07:03:26] <zinid> otherwise dunno, too much hasle
[07:03:44] <mnr11> In the source directory, like   ejabberd/src/
[07:03:59] <zinid> and when you do make it doesn't compile?
[07:04:45] <zinid> element(2,element(5,element(1, Packet))) is wrong of course
[07:05:13] <mnr11> when I'm trying to create a custom module with user_send_packet
[07:05:56] <zinid> so, what error do you have?
[07:06:01] <mnr11> element(2,element(5,element(1, Packet))) from this I got the value like <<"mnr">> from above mentioned packet.
[07:06:14] <zinid> you shouldn't do that
[07:06:18] <zinid> it's stupid
[07:06:53] <mnr11> okay, I'm confused thats why I'm asking.
[07:08:06] <zinid> I repeat: what compile ejabberd do you have?
[07:08:07] <mnr11> well, I'm trying this module https://github.com/johanvorster/ejabberd_confirm_delivery/blob/master/mod_confirm_delivery.erl
[07:08:41] <mnr11> I compiled it from github source code?
[07:08:56] <zinid> you asking me?
[07:09:01] <mnr11> and I'm tried to modify it
[07:09:12] <mnr11> /I tried
[07:09:30] <mnr11> no, sorry, I mean I did.
[07:10:05] <zinid> well, the module as is won't work
[07:10:52] <zinid> the simpliest example of user_send_packet hook is in https://github.com/processone/ejabberd/blob/master/src/mod_vcard_xupdate.erl
[07:11:05] <mnr11> yeah, I know, I first changed the function type signature  > send_packet( Packet)
[07:12:05] <zinid> ok, step-by-step
1) clone ejabberd source
2) compile it
3) put your module inside ejabberd's `src` directory
4) compile it again, see errors, fix the module, repeat
[07:13:10] <mnr11> thats what I'm doing for couple of days.
[07:13:51] Licaon_Kter leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:14:04] <zinid> in the third time: WHAT COMPILE ERROR DO YOU HAVE
[07:17:21] <mnr11> Something like this {error,function_clause,[{fxml,get_tag_attr_s
[07:17:31] Licaon_Kter leaves the room
[07:18:18] <zinid> comment out all lines containing calls to fxml, you must not call it anymore
[07:18:44] <mnr11> okay, let me try
[07:18:57] <zinid> add -include("xmpp.hrl").
[07:19:16] pod leaves the room: Replaced by new connection
[07:19:37] <zinid> function set_offline_message/5 is totally wrong, but that's another story
[07:20:05] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:21:19] <mnr11> I already inluded xmpp.hrl
[07:22:05] hlad leaves the room
[07:23:45] <mnr11> okay fresh install and compile included the module, no error at compile time just couple of warning
[07:23:59] <mnr11> I started it with live mode
[07:24:40] jannic leaves the room: Replaced by new connection
[07:24:51] <mnr11> [error] Hook user_receive_packet crashed when running mod_confirm_delivery:receive_packet/1:
[07:25:13] <mnr11> when I try to connect a user
[07:26:49] <zinid> well, yes, just a second
[07:26:55] pod leaves the room: Replaced by new connection
[07:29:25] <mnr11> yeah, sure.
[07:30:57] pod leaves the room
[07:32:33] <mnr11> basically I think  receive_packet/1 is not necessary here, at least what I'm trying to do so I removed it
[07:32:50] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:33:24] <mnr11> but the error is same for send_packet function: Hook user_send_packet crashed when running mod_confirm_delivery:send_packet/1:
[07:34:13] <zinid> mnr11, I'm rewriting the module for you, wait a few minutes please
[07:35:00] <mnr11> oh sorry, go ahead.
[07:43:16] <zinid> mnr11, https://gist.github.com/zinid/a506a54a7267ba4c1d1f6508a39ee107
[07:43:26] <zinid> I didn't test it though
[07:44:20] <mnr11> thanks, let me try it out.
[07:45:14] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:48:55] <mnr11> zinid, Thanks a lot man, its working as expected.
[07:49:05] <zinid> good
[07:49:49] <zinid> it also doesn't polute your log with silly messages
[07:51:01] <mnr11> yeah, right. now I need to understand the code properly :)
[07:51:05] <zinid> the code is still ugly, but whatever
[07:51:42] <zinid> mnr11, if you don't understand something, give me the line number you don't understand
[07:52:12] <mnr11> its alright, very much appreciated.  
[07:53:22] <mnr11> I will if I don't.
[07:53:41] <mnr11> I need to experiment.
[07:59:41] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:03:53] SaltyBones leaves the room: Machine going to sleep
[08:05:05] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:17:20] uio leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:21:50] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:29:12] cippaciong leaves the room: Connection failed: connection closed
[08:32:18] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:32:29] prefiks leaves the room: Replaced by new connection
[08:38:23] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:39:51] mimi89999 leaves the room
[08:53:44] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:09:04] <mnr11> zinid, although the functionality seems to be working, but there's a crash error when sending the confirm message from set_offline_message/1
[09:09:19] <mnr11> [error] Hook offline_message_hook crashed when running mod_mam:offline_message/1:
[09:09:41] <mnr11> Reason = {error,function_clause,[{mod_mam,get_stanza_id,[{file,"src/mod_mam.erl"},{line,363}]
[09:10:00] <zinid> so you want to use this module with mod_mam?
[09:10:05] <zinid> you will have a ton of duplicates
[09:10:46] <zinid> also, you should not combine mod_offline with mod_mam
[09:10:48] <mnr11> I think not, I want to avoid duplication
[09:11:05] <mnr11> okay, got it
[09:11:19] <zinid> the module is quite strange btw
[09:11:26] <zinid> there is a better solution if you use modern clients
[09:11:43] <mnr11> yeah it seems to me as well
[09:12:16] Akasch leaves the room: Rechner geht in den Ruhezustand
[09:12:35] <zinid> I really don't understand the logic when timer fires
[09:12:49] <zinid> you re-route the packet and then stores it in offline spool, what the fuck?
[09:12:55] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:13:01] <zinid> the timeout is only 10 seconds
[09:13:03] <mnr11> well, what I need is detect the if the connection gets lost
[09:13:14] <zinid> you need to use mod_stream_mgmt for this
[09:13:40] <zinid> with a modern client such as the most recent versions of Psi, Conversations, Dino or Gajim
[09:14:40] <zinid> if you agree to update the clients, you should enable mod_mam, enable mod_stream_mgmt and disable mod_offline
[09:16:11] <zinid> if you cannot do that immediately, you can keep mod_offline, but encourage users with legacy clients to update
[09:16:28] <mnr11> well, its mobile client here and the pproblem here is if  client A gets disconnected suddenly or not properly, user B still get it as available or online
[09:17:04] <zinid> all this is solved by mod_stream_mgmt + mod_mam (XEP-0198 and XEP-0313)
[09:18:03] <mnr11> So I should not need a module for this?
[09:18:25] <zinid> you shouldn't
[09:18:50] <zinid> you need to update a client: if it's a custom client, then, of course, this is not very trivial
[09:19:03] <mnr11> they were using mongooseim though, now I'm into ejabberd cause its seems easy follow through
[09:19:31] <zinid> let me add some hack so you don't have a crash, then you decide what to do
[09:20:03] <mnr11> ok, you guys are awesome!
[09:20:49] <mnr11> And also my plan is to switch to Elixir later, what's your thoughts on that?
[09:23:16] <zinid> I updated the gist
[09:23:33] mimi89999 leaves the room
[09:23:56] <zinid> mnr11, I will not help you with Elixir as I don't use it and don't like it frankly
[09:25:38] <zinid> oops, comile error, updated the gist again
[09:26:24] <mnr11> aha, I see. It's alright, I want it to implement in Erlang first, going with Elixir is later story may be I'll be able to  do that myself if I can grasp the idea.
[09:26:41] <mnr11> should I check this out now?
[09:26:51] <zinid> check what?
[09:26:58] <zinid> the gist? yes? I've finished
[09:27:24] <mnr11> yes, thanks!
[09:29:00] Akasch leaves the room: Replaced by new connection
[09:29:34] <zinid> > now I'm into ejabberd cause its seems easy follow through
"easy follow through"?
[09:30:51] <mnr11> I mean it's easy to follow
[09:31:54] <mnr11> yes it's working without any crash or error
[09:33:16] <zinid> yeah, I added yet another cosmetic fix
[09:33:31] <zinid> consider to update the gist again
[09:33:57] <mnr11> great!
[09:34:36] <zinid> ok, enough for this naive module, I need other tasks to do 😉
[09:34:50] <mnr11> what if I want to send the packet directly through socket?
[09:35:22] <mnr11> yeah, sure go ahead.
[09:35:55] <mnr11> I'll come back later after some experiment.
[09:35:59] <zinid> mnr11, this will depend from where you send
[09:36:07] <zinid> from what hook I meant
[09:36:49] <zinid> if inside and c2s hooks which possess the State (such as user_send_packet or user_receive_packet), then you can use ejabberd_c2s:send/2
[09:36:58] <zinid> *inside any
[09:37:28] <zinid> otherwise, well, it's not recommended to do 😉
[09:37:53] <mnr11> actually I want to send it from the server with user_send_paacket to a client
[09:37:54] <zinid> you cannot do that from your timer callback for sure
[09:38:20] <mnr11> I won't do with the timer
[09:38:37] <zinid> I didn't understand
[09:38:47] <zinid> do you want to send or to route?
[09:39:28] <mnr11> I want to send like it could be a custom stanza
[09:40:00] <mnr11> so if client will give me something back if its alive.
[09:40:23] <mnr11> I'm not sure it's a good idea.
[09:40:34] <mnr11> /if it's
[09:40:34] marc leaves the room: unknown reason
[09:40:48] <zinid> I think the idea is bad indeed, you're better off switching to mod_stream_mgmt as I said before
[09:41:08] joekokker leaves the room
[09:42:58] <mnr11> okay, thanks.
[09:44:15] <mnr11> Is there any example out there for  mod_stream_mgmt?
[09:45:45] <zinid> example?
[09:45:52] <zinid> it's documented I think
[09:45:57] <zinid> there are examples
[09:46:06] <mnr11> Not finding it.
[09:47:41] <zinid> https://docs.ejabberd.im/admin/configuration/#mod-stream-mgmt
[09:48:55] <mnr11> (Y)
[09:49:36] prefiks leaves the room
[09:49:54] <zinid> I just configure it as `mod_stream_mgmt: {}`
[09:53:23] ata2001 leaves the room: Disconnected: Replaced by new connection
[09:57:17] <mnr11> okay got it, in client side they just need to enable it, right?
[09:57:59] ata2001 leaves the room: Disconnected: closed
[09:58:08] <mnr11> no parameters? Defaults are okay?
[09:59:21] Neustradamus leaves the room
[10:02:24] <mnr11> It was already there, in the deafult config file.
[10:03:19] frainz leaves the room
[10:06:11] ata2001 leaves the room: Disconnected: closed
[10:08:24] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:14:44] <zinid> mnr11, yes, but a client should enable it
[10:14:49] <zinid> so it's dormant if no clients are using it
[10:15:02] <mnr11> Okay, got it.
[10:15:11] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:20:22] <mnr11> zinid, May I ask you a question, out of the topic?
[10:24:57] cromain leaves the room
[10:40:06] <zinid> yes
[10:47:37] ata2001 leaves the room: Disconnected: closed
[10:48:17] Akasch leaves the room: Replaced by new connection
[10:50:47] <pinky> hello guys
[10:53:04] <zinid> pinky, hi
[10:56:47] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:58:08] <Holger> Moin.
[11:05:16] <pinky> test
[11:05:26] <zinid> PASSED
[11:08:37] rom1dep leaves the room
[11:14:22] <pinky> test
[11:14:44] marc leaves the room: unknown reason
[11:14:49] <SouL> FAILED
[11:15:47] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:17:25] ata2001 leaves the room: Disconnected: closed
[11:17:45] pod leaves the room
[11:20:46] <zinid> seems like pinky is running experiments with his servers 😉
[11:21:04] <zinid> !version jabbim.cz
[11:21:06] <Servant> zinid: jabbim.cz is running ejabberd version 17.11 on unix/linux 4.4.19
[11:27:50] Licaon_Kter leaves the room
[11:27:52] zinid leaves the room
[11:29:42] <zinid> Holger, lol, Servant copies message id into the response so Dino strips out the response 😀
[11:33:12] ata2001 leaves the room: Disconnected: closed
[11:33:28] ata2001 leaves the room: Disconnected: closed
[11:35:35] <Holger> Huh. Stupid Servant.
[11:35:53] ata2001 leaves the room: Disconnected: closed
[11:37:26] ata2001 leaves the room: Disconnected: closed
[11:38:07] zinid leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:38:12] ata2001 leaves the room: Disconnected: closed
[11:39:28] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:39:28] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:39:51] ata2001 leaves the room: Disconnected: closed
[11:40:37] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:43:36] ata2001 leaves the room: Disconnected: closed
[11:45:04] ata2001 leaves the room: Disconnected: closed
[11:45:18] <zinid> !version jabber.ru
[11:45:18] <Servant> zinid: jabber.ru is running ejabberd version 3.2.x on unix/linux 3.16.0
[11:45:27] <zinid> Conversations is ok
[11:46:01] suzyo leaves the room
[11:51:54] <Holger> Yeah it's smarter at de-dup, but Servant should of course not copy the ID.  I'm trying to find the code :-)
[11:54:25] ata2001 leaves the room: Disconnected: closed
[11:58:40] ata2001 leaves the room: Disconnected: closed
[12:00:48] ata2001 leaves the room: Disconnected: closed
[12:01:13] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:02:46] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:03:16] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:03:29] ata2001 leaves the room: Disconnected: closed
[12:05:37] <Holger> https://hg.prosody.im/trunk/file/0de0018bdf91/util/stanza.lua#l374
[12:05:43] <Holger> Seems that's where it's coming from.
[12:07:46] <zinid> Looks like shit in mobile
[12:08:13] Servant leaves the room
[12:08:14] <Holger> Hah.
[12:08:17] <Holger> Maybe it's better now.
[12:08:25] <Holger> !version jabber.fu-berlin.de
[12:08:26] <Servant> Holger: jabber.fu-berlin.de is running ejabberd version 16.09-9-ZEDAT on unix/linux 3.16.0
[12:09:34] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:10:37] <Jeremy> !version jhweiss.de
[12:11:03] <Servant> Jeremy: jhweiss.de is running ejabberd version 18.01.32 on unix/netbsd 6.1.0
[12:11:38] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:11:41] <Holger> Yes, the response 'id' is different now.
[12:13:27] cippaciong leaves the room: Connection failed: host is unreachable
[12:14:18] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:15:55] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:18:39] ata2001 leaves the room: Disconnected: closed
[12:25:40] ata2001 leaves the room: Disconnected: closed
[12:27:48] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[12:31:07] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:34:10] joekokker leaves the room
[12:35:48] Jeremy leaves the room
[12:44:15] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:46:53] <zinid> 👍
[12:51:35] vanitasvitae leaves the room
[12:54:32] suzyo leaves the room
[12:56:13] cippaciong leaves the room: Connection failed: connection closed
[12:56:29] marc leaves the room: unknown reason
[12:58:10] cippaciong leaves the room: Connection failed: connection closed
[12:59:16] cippaciong leaves the room: Connection failed: timeout
[13:01:35] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:03:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:04:13] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:07:35] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:08:57] cromain leaves the room
[13:14:32] marc leaves the room: unknown reason
[13:34:26] mnr11 leaves the room: offline
[13:35:54] ileh leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:48:33] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:57:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:11:42] jere leaves the room: Disconnected: Replaced by new connection
[14:18:55] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:27:38] ata2001 leaves the room: Disconnected: closed
[14:28:13] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:30:23] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:30:54] cippaciong leaves the room: Connection failed: connection closed
[14:53:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:03:04] prefiks leaves the room: Replaced by new connection
[15:06:43] cromain leaves the room
[15:11:27] SouL leaves the room: Disconnected: Replaced by new connection
[15:14:02] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:25:44] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:36:51] suzyo leaves the room
[15:39:29] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:44:15] srgcdev leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:53:10] vanitasvitae leaves the room
[16:02:18] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:04:15] cippaciong leaves the room: Connection failed: connection closed
[16:04:15] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:05:09] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:05:20] Man_Life leaves the room
[16:05:42] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:05:49] prefiks leaves the room
[16:08:01] cippaciong leaves the room
[16:09:26] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:09:55] cromain leaves the room: Replaced by new connection
[16:10:18] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:14:03] mimi89999 leaves the room
[16:15:44] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:18:29] ata2001 leaves the room: Disconnected: closed
[16:21:39] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:24:07] <Holger> zinid: https://github.com/processone/ejabberd/blob/a65500b6aa6de8c57731a07f212abd7aef541646/src/mod_stream_mgmt.erl#L594
[16:24:46] <Holger> zinid: Only stanzas should be added to the SM queue, no?
[16:25:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:25:14] <Holger> https://github.com/processone/ejabberd/blob/a65500b6aa6de8c57731a07f212abd7aef541646/src/mod_stream_mgmt.erl#L197
[16:29:56] hlad leaves the room
[16:33:17] pinky leaves the room: Stream reset by peer
[16:37:20] hlad leaves the room
[16:43:17] SaltyBones leaves the room: unknown reason
[16:45:45] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:54:37] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:55:01] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:06:45] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:07:20] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:12:18] ata2001 leaves the room: Disconnected: closed
[17:14:52] ata2001 leaves the room: Disconnected: closed
[17:16:40] ata2001 leaves the room: Disconnected: closed
[17:16:44] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:23:54] cromain leaves the room
[17:25:40] debalance leaves the room
[17:25:41] Akasch leaves the room: Rechner geht in den Ruhezustand
[17:29:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:29:58] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:30:40] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:32:30] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:33:58] Student leaves the room: Replaced by new connection
[17:36:49] <zinid> Hum
[17:37:51] <zinid> Well, raw elements should be placed in sending queue I think, probably a bug if they aren't
[17:38:12] <zinid> Sorry, hard to read from mobile
[17:43:19] joekokker leaves the room
[17:49:13] <Holger> Oh this is about raw elements which are stanzas.
[17:49:40] <Holger> Yes everything fine then, sorry.
[17:50:42] debalance leaves the room
[17:50:43] jere leaves the room
[17:53:07] ata2001 leaves the room: Disconnected: closed
[17:55:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:57:12] prefiks leaves the room
[17:59:36] alacer leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:59:38] alacer leaves the room
[18:00:45] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:02:50] jere leaves the room
[18:05:56] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[18:10:39] ata2001 leaves the room: Disconnected: closed
[18:11:35] ata2001 leaves the room: Disconnected: closed
[18:16:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:22:23] ata2001 leaves the room: Disconnected: closed
[18:23:50] ata2001 leaves the room: Disconnected: closed
[18:25:00] hlad leaves the room
[18:25:07] Man_Life leaves the room: Replaced by new connection
[18:27:22] ata2001 leaves the room: Disconnected: closed
[18:29:02] ata2001 leaves the room: Disconnected: closed
[18:30:59] Man_Life leaves the room
[18:31:02] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:31:17] ata2001 leaves the room: Disconnected: closed
[18:44:10] joekokker leaves the room: Replaced by new connection
[18:48:03] marzanna leaves the room
[18:49:21] ata2001 leaves the room: Disconnected: closed
[18:50:27] ata2001 leaves the room: Disconnected: closed
[18:51:07] ata2001 leaves the room: Disconnected: closed
[18:52:24] hlad leaves the room
[18:52:31] <zinid> I don't think it's fine, the outgoing error element is not put in the queue and is not counted
[18:52:56] <zinid> I already found the fix
[18:53:11] ata2001 leaves the room: Disconnected: closed
[18:55:36] SouL leaves the room: Disconnected: Replaced by new connection
[18:55:38] SouL leaves the room
[18:56:11] SouL leaves the room: Disconnected: Replaced by new connection
[18:56:52] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:02:43] <marc> Is there a way to allow unlimited registration attemps?
[19:02:52] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:03:03] <marc> Would be helpful for client development 😸
[19:04:52] jere leaves the room
[19:05:24] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:06:00] jannic leaves the room: Replaced by new connection
[19:08:43] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:09:49] ata2001 leaves the room: Disconnected: closed
[19:11:25] ata2001 leaves the room: Disconnected: closed
[19:12:11] SouL leaves the room
[19:16:21] ata2001 leaves the room: Disconnected: closed
[19:23:44] pinky leaves the room: Stream reset by peer
[19:24:22] <Holger> zinid: Ah ?is_stanza() doesn't match raw xmlel().
[19:24:40] <zinid> Holger: no
[19:24:52] <zinid> Yeah, that's tricky
[19:25:05] <zinid> Anyway, I just checked that
[19:25:18] SouL leaves the room
[19:25:43] <Holger> I'm lost :-)
[19:26:06] <zinid> marc: set registratin_timeout 1 second
[19:26:36] <zinid> Holger: long story, and I'm on mobile 😁
[19:27:03] <zinid> Half of the city has a power cut...
[19:27:14] <Holger> Oh, nice.
[19:27:46] <zinid> Some explosion at electric station, but not sure
[19:28:09] <Holger> Ugh.
[19:28:22] <marc> zinid: thanks
[19:28:47] <zinid> I'm lucky, I have power, but not internet, only on mobile
[19:29:33] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:31:50] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:37:37] ileh leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:39:00] pod leaves the room: Replaced by new connection
[19:39:11] joekokker leaves the room: Replaced by new connection
[19:40:50] ata2001 leaves the room: Disconnected: closed
[19:42:02] SouL leaves the room
[19:43:27] ata2001 leaves the room: Disconnected: closed
[19:54:29] ata2001 leaves the room: Disconnected: closed
[19:54:33] Holger leaves the room
[19:55:25] Holger leaves the room
[19:56:02] SouL leaves the room
[20:00:23] Holger leaves the room
[20:01:25] Neustradamus leaves the room
[20:03:16] marc leaves the room: unknown reason
[20:05:06] debalance leaves the room
[20:06:11] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:11:10] ileh leaves the room
[20:12:11] SouL leaves the room
[20:19:01] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:21:05] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[20:21:33] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:26:09] SouL leaves the room
[20:26:27] Student leaves the room
[20:29:16] zuglufttier leaves the room
[20:35:22] Holger leaves the room
[20:42:28] SouL leaves the room
[20:45:39] ata2001 leaves the room: Disconnected: Replaced by new connection
[20:49:18] pod leaves the room
[20:55:17] SouL leaves the room
[20:56:51] Marzanna leaves the room
[20:58:44] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:10:52] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:11:01] SouL leaves the room
[21:13:11] debalance leaves the room
[21:25:17] SouL leaves the room
[21:25:34] joekokker leaves the room: Replaced by new connection
[21:28:07] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:28:25] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:40:17] SouL leaves the room
[21:41:36] srgcdev leaves the room
[21:56:01] SouL leaves the room
[22:11:02] SouL leaves the room
[22:13:18] zuglufttier leaves the room
[22:21:16] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[22:27:05] SouL leaves the room
[22:28:36] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[22:32:50] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:35:29] pinky leaves the room: Stream reset by peer
[22:35:46] suzyo leaves the room
[22:42:06] SouL leaves the room
[22:46:35] carlos leaves the room
[22:50:01] ata2001 leaves the room: Disconnected: Replaced by new connection
[22:55:19] SouL leaves the room
[22:59:21] pinky leaves the room: Stream reset by peer
[22:59:44] SaltyBones leaves the room: Machine going to sleep
[23:09:57] cippaciong leaves the room: Connection failed: connection timed out
[23:09:58] hlad leaves the room
[23:10:20] SouL leaves the room
[23:17:41] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:25:13] SaltyBones leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:25:19] SouL leaves the room
[23:35:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:43:04] SouL leaves the room
[23:44:30] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:55:19] SouL leaves the room
Powered by ejabberd - robust, scalable and extensible XMPP server Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!