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

GMT+0
[00:00:12] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:16:40] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:23:36] vanitasvitae leaves the room
[00:37:04] boothj5 leaves the room
[00:37:22] Erl leaves the room: QIP 2012: Quiet Communication
[00:38:53] Odin leaves the room
[00:49:59] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:52:14] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:57:29] jeremy leaves the room: Machine going to sleep
[01:07:52] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[01:14:44] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:30:04] ChaosKid42 leaves the room
[01:30:07] joekokker leaves the room
[01:44:28] Odin leaves the room: Stream closed by us: Replaced by new connection (conflict)
[01:48:43] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:50:24] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:54:12] vanitasvitae leaves the room
[01:54:47] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[01:55:53] Odin leaves the room
[02:01:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:09:30] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:10:10] Odin leaves the room
[02:34:31] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:49:18] robert_mobile leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:52:05] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:09:49] jere leaves the room
[03:15:01] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:31:40] pprrks leaves the room
[03:43:48] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:43:48] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:49:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:56:18] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:57:51] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:07:43] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:19:42] Odin leaves the room
[04:19:52] Odin leaves the room
[04:28:22] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:38:26] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:48:03] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[04:52:18] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:02:19] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:34:54] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:42:13] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:45:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:46:08] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:52:13] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:04:37] mimi89999 leaves the room
[06:04:37] mimi89999 leaves the room
[06:15:30] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:19:28] cippaciong leaves the room: Connection failed: connection closed
[06:29:38] cippaciong leaves the room: Connection failed: connection closed
[06:35:21] cippaciong leaves the room: Connection failed: connection closed
[06:36:11] cippaciong leaves the room: Connection failed: connection closed
[06:36:45] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:37:36] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:40:48] cippaciong leaves the room: Connection failed: connection closed
[06:41:48] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:46:25] <mnr11> Me, once again, trying to send manually
[06:46:46] <mnr11> with this code     IQ = #iq{from = From, to = JID, type = get, sub_els = [#ping{}]},

[06:47:14] <mnr11>     ejabberd_router:route_iq(IQ, JID,
                 gen_mod:get_module_proc(<<"localhost">>, ?MODULE),
                 10),
[06:48:01] <mnr11> And got and error like this : [error] gen_server ejabberd_iq terminated with reason: bad argument in ejabberd_iq:callback/3 line 176
[06:48:01] cippaciong leaves the room: Connection failed: connection closed
[06:48:23] <mnr11> what I'm doing wrong here?
[06:48:37] <zinid> you're providing bad arguments
[06:48:47] <zinid> that's all I can say from your great report
[06:52:34] <mnr11> But I send all the arguments as it is in the mod_ping
[06:52:53] <zinid> sure sure, ejabberd just picky
[06:52:54] <mnr11> which one could be the problem here?
[06:53:22] <zinid> mnr11, I wish there would be a log where all crashes are logged, ah wait....
[06:54:48] erik leaves the room: Connection failed: timeout
[06:54:50] <zinid> maybe there is crash.log... hum, no, crash.log is called CRASH.LOG not because it contains info about crashes
[06:56:51] <mnr11> OK
[07:00:09] <mnr11> zinid, the crash report is like this in crash.log https://pastebin.com/4hTqemeg
[07:00:50] <zinid> so?
[07:01:06] <zinid> read it
[07:01:10] <zinid> use your brain
[07:06:55] <mnr11> All I understand is I'm not sending the right argument, can't understand from the crash report
[07:07:45] <zinid> what exactly you don't understand?
[07:08:04] <zinid> > Generic server ejabberd_iq terminating
Do you understand this line?
[07:08:22] <zinid> > Last message in was ...
Do you understand this line?
[07:09:15] <zinid> > When Server state == {state,1520146721343}
And this one?
[07:09:41] <zinid> > ** Reason for termination ==
> ** {badarg,[{ejabberd_iq,callback,3,[{file,"src/ejabberd_iq.erl"},{line,176}]},{ejabberd_iq,handle_info,2,[{file,"src/ejabberd_iq.erl"},{line,89}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,616}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,686}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
What about this one? Do you understand it?
[07:10:03] <mnr11> Last one, yeah sort of.
[07:10:30] <zinid> {badarg,[{ejabberd_iq,callback,3,[{file,"src/ejabberd_iq.erl"},{line,176}]}
[07:10:35] <zinid> what is unclear here?
[07:12:25] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:12:47] <mnr11> Got wrong IQ?
[07:12:47] zuglufttier leaves the room
[07:13:23] <mnr11> I already had look on it > -spec callback(atom() | pid(), #iq{} | timeout, term())
[07:13:31] <mnr11> just didn't get it
[07:14:44] <zinid> {file,"src/ejabberd_iq.erl"},{line,176}
[07:15:17] <zinid> what's on this line?
[07:16:23] <zinid> why this line can produce badarg?
[07:16:35] cippaciong leaves the room: Connection failed: connection closed
[07:16:51] <mnr11> Proc ! {iq_reply, IQRes, Ctx}.
[07:17:13] <zinid> so?
[07:18:49] <zinid> hint:
$ erl                                          
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] [kernel-poll:false]
Eshell V9.2  (abort with ^G)
1> werwerwer ! {foo, bar}.
** exception error: bad argument
     in operator  !/2
        called as werwerwer ! {foo,bar}
[07:19:17] zuglufttier leaves the room
[07:19:55] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:23:14] <mnr11> Does it refers to not equal != ?
[07:23:40] <mnr11> okay, then how can I decide the wrong argument from it?
[07:25:14] <zinid> yeah, seems like you don't understand Erlang basics...
[07:25:30] <zinid> but still want to ping client connections
[07:25:32] cippaciong leaves the room: Connection failed: connection closed
[07:27:18] <mnr11> yeah, thats kind of correct
[07:28:41] <mnr11> is that the problem with gen_mod:get_module_proc(<<"localhost">>, ?MODULE)?
[07:29:04] <mnr11> instead gen_mod:get_module_proc(Host, ?MODULE)?
[07:29:59] <mnr11> I want to send ping only when a client is sending message
[07:30:32] cippaciong leaves the room: Connection failed: connection closed
[07:30:38] <mnr11> I have seen too, https://github.com/processone/ejabberd/issues/1715
[07:31:02] <mnr11> sort of like this
[07:31:44] hlad leaves the room
[07:31:45] hlad leaves the room
[07:32:06] <zinid> you should not send pings in that case
[07:32:33] <zinid> also, you don't have your module started as a gen_server, i.e. you have stateless module
[07:32:50] <zinid> aslo you should not serialize IQ responses via a single process
[07:35:05] <mnr11> What I did so far https://pastebin.com/Hxiy3rXX
[07:35:44] <mnr11> Its the code you helped me before
[07:37:02] Odin leaves the room
[07:44:51] <mnr11> and I just added -behaviour(gen_server).
[07:46:05] uc leaves the room
[07:46:58] jeremy leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:47:14] <mnr11> zinid, BTW from the erlang group what I got as explanation ! refers to send to
[07:48:13] <mnr11> the ! means "send to" and it means to send a message to another process. In this case Proc is a variable containing the Process Id for the process to send to and {iq_reply, IQRes, Ctx} is the message that is sent to Proc
[07:48:29] <mnr11> and kinda  confused
[07:54:57] <mnr11> Or its that okay to call iq_ping/1 directly from mod_ping?
[08:01:04] <zinid> why don't you use mod_stream_mgmt which does exactly what you want but with lesser overhead?
[08:08:09] hlad leaves the room
[08:08:11] hlad leaves the room
[08:08:12] mrDoctorWho leaves the room
[08:10:02] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:10:29] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[08:21:11] ChaosKid42 leaves the room
[08:21:33] mrDoctorWho leaves the room
[08:22:17] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:32:38] Odin leaves the room
[08:33:50] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:38:53] ileh leaves the room
[08:40:30] lukas leaves the room
[08:41:46] lukas leaves the room
[08:43:02] <mnr11> you mean just using/enabling the module?
[08:43:51] <mnr11> Or calling a particular function?
[08:44:32] lukas leaves the room
[08:46:42] lukas leaves the room
[08:51:29] lukas leaves the room
[08:52:43] srgcdev leaves the room
[08:53:50] daniel leaves the room: Stream closed by us: has been kicked (policy-violation)
[08:54:11] <mnr11> Oh, with enabling mod_stream_mgmt I can't detect the dead connection instantly
[08:56:35] <mnr11> thats the old topic we discussed here quite a few times
[08:58:03] <mnr11> The requirement here is the sending the message through push if user is offline
[08:59:41] <mnr11> with mod_stream_mgmt it detects client as offline after the timeout then it may work with mod_push, I mean the message will go through push notification
[09:01:21] <mnr11> but before that, before the timeout happens if the connection resumed the message will be just sent directly
[09:02:39] <mnr11> I need all the messages to be gone through push notification if the user just disconnect even before the timeout
[09:06:29] <mnr11> So what I understand is I need to detect the dead connection manually, if I want it instantly
[09:07:57] lukas leaves the room
[09:10:05] lukas leaves the room
[09:10:40] lukas leaves the room
[09:10:42] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:11:49] <Holger> There's no way to detect dead connections *instantly* without draining batteries by constantly generating traffic. And there's no need to. Commercial messengers don't do that. Users don't notice short message delivery delays while the mobile is in the background.
[09:12:01] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:13:17] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:15:47] <Holger> With the default mod_stream_mgmt configuration, ejabberd will notice a dead connection within a minute after the message delivery attempt. Without any additional battery drain.
[09:19:07] SouL leaves the room: Disconnected: Replaced by new connection
[09:19:31] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:19:42] <mnr11> yeah, it does
[09:20:39] <mnr11> but how does Facebook, whatsapp, sends the messages through push notification instantly if app is background?
[09:21:12] <mnr11> I mean a user disconnect and connect the internet?
[09:21:26] <mnr11> I just checked this now, again.
[09:22:57] <Holger> Either the app disconnected properly or they just always send a push notification no matter whether the app is online or there's some delay.
[09:23:03] <Holger> No matter what, they don't ping.
[09:24:38] ileh leaves the room
[09:25:06] <Holger> Anyway if you really want to point, what was the reason to not use mod_ping? (I didn't read all backlog.)
[09:26:09] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:27:45] <Holger> With WhatsApp there's sometimes delays of several minutes by the way.
[09:28:03] <Holger> I don't use Facebook Messenger.
[09:28:45] <mnr11> I just checked the both though
[09:29:09] <mnr11> So, should I call the function iq_ping/1 from mod_ping
[09:29:34] uio leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:30:00] <mnr11> I tried with ejabberd_router:route_iq
[09:30:54] <Holger> Why not just configure mod_ping?
[09:31:25] <Holger> And what's your plan? Pinging every few seconds?
[09:31:56] <mnr11> I tried something like this https://pastebin.com/6CepmTW0
[09:31:58] <mnr11> and got badarg error
[09:32:26] <mnr11> only when a client is sending a message
[09:33:55] geakins leaves the room
[09:34:06] <Holger> What?? mod_stream_mgmt does *exactly* that.
[09:34:14] <Holger> That's what I meant above.
[09:34:44] cippaciong leaves the room: Connection failed: connection closed
[09:35:42] <mnr11> Somehow I need to detect it as well so I can send the message to an API
[09:35:47] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:36:03] <mnr11> Should I call any particular function for that?
[09:36:07] <Holger> It sends an <r/> and waits for an <a/> (see XEP-0198). If it gets no response within a configurable number of seconds (by default 60) a push notification is generated.
[09:36:19] lukas leaves the room
[09:37:09] <Holger> So the question is "how to notify your environment" rather than "how to avoid delivery attempts".
[09:37:20] <Holger> *delays
[09:37:49] <mnr11> yes
[09:37:56] <mnr11> I think so
[09:39:20] <mnr11> wait... environment? I'm not sure
[09:39:47] ChaosKid42 leaves the room
[09:39:54] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:41:53] Student leaves the room
[09:42:34] <mnr11> I need to notify the messages, before or after the timeout  
[09:43:49] <mnr11> mod_strean_mgmt will only try for push when the timeout happens, 60 secs
[09:43:57] <mnr11> the default
[09:44:08] rom1dep leaves the room
[09:50:39] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:52:39] newbie leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:57:15] <Erl> hello
[09:58:21] <Erl> i need steps or way of work to step and turn on sussesful ejabberd 18
[09:58:48] <Erl> and what the programe must install
[10:00:49] cippaciong leaves the room: Connection failed: connection closed
[10:05:36] <xander2m> Morning
[10:07:26] xander2m leaves the room
[10:08:40] ludo leaves the room: Disconnected: Replaced by new connection
[10:19:11] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:32:36] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:33:02] <vanitasvitae> Erl: just download the latest release
[10:40:39] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:50:10] hlad leaves the room
[10:50:30] hlad leaves the room
[10:50:38] Mr.Newbie leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:53:06] SouL leaves the room
[10:53:11] SouL leaves the room
[10:55:39] <Mr.Newbie> any idea why i am getting such error [error] <0.804.0>@mod_pubsub:transaction_retry:3633 transaction return internal error: {'EXIT',badarg}
[10:56:24] <Mr.Newbie> I am using movim, and some times when i press on read more button to view the whole post, i get post deleted
[10:56:46] <Holger> Mr.Newbie: You're using Mnesia I guess?
[10:56:56] <Mr.Newbie> Holger, yes i am
[10:57:15] <Holger> Mr.Newbie: I'd switch to SQL.
[10:57:30] <Mr.Newbie> ok then i'll do that right away thanks
[10:57:37] <Holger> Mr.Newbie: Or ditch the PubSub tables, but you might run into it again.
[10:58:12] <Holger> And you might loose existing Movim posts/comments of course.
[10:58:49] <Mr.Newbie> right now i am the only user :P with 0 posts, they were 4 after this it reached 0
[10:59:07] <Holger> To ditch the tables stop ejabberd, "mv $SPOOL_DIR/pubsub* /tmp", start ejabberd.
[10:59:31] <Holger> See the ejabberdctl script to figure out SPOOL_DIR.
[10:59:41] <Mr.Newbie> i'll rather fix it perminantly by switching to SQL as suggested
[10:59:51] <Mr.Newbie> i dont want this to happen when i get more users
[10:59:54] <Holger> Yes, makes sense.
[11:00:09] <Holger> Mnesia is not reliable for persistent data.
[11:09:27] <Mr.Newbie> Holger, should i use utf8_unicode_ci or utf8mb4_general_ci?
[11:10:24] <Holger> Mr.Newbie: Just use the schema that comes with ejabberd?
[11:10:30] <Holger> Mr.Newbie: What ejabberd version?
[11:10:42] <Mr.Newbie> Holger, latest stable version
[11:11:47] <Holger> MySQL?
[11:11:50] <Holger> https://raw.githubusercontent.com/processone/ejabberd/18.01/sql/mysql.sql
[11:12:47] <Mr.Newbie> nvm 18.01
[11:13:45] <Mr.Newbie> i'll update then switch db
[11:17:29] Mr.Newbie leaves the room: Stream closed by us: system-shutdown
[11:17:29] newbie leaves the room: Stream closed by us: system-shutdown
[11:17:29] newbie leaves the room: Stream closed by us: system-shutdown
[11:18:17] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:19:07] hlad leaves the room
[11:19:08] hlad leaves the room
[11:19:13] srgcdev leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:20:58] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:24:47] <Mr.Newbie> Holger, in lib/ejabberd-18.*/priv/sql i only find lite.sql
[11:25:03] <Mr.Newbie> in https://docs.ejabberd.im/admin/databases/mysql/#mysql-installation it says i should find a file called mysql.sql
[11:25:31] <Mr.Newbie> is it the same or should i just use it from the github url u provided
[11:28:36] rom1dep leaves the room
[11:29:09] <Holger> GitHub.
[11:29:11] <Mr.Newbie> pluse i am using mariadb examning the sql file i can see its using "utf8mb4 COLLATE utf8mb4_unicode_ci;" by defualt on debian 9 (at least) u need to enable the barracuda db_file_format for it to work
[11:30:25] <Mr.Newbie> to enable it run this sed -i -e 's/There are many!/There are many!\ninnodb_large_prefix\=true\ninnodb_file_format\=barracuda\ninnodb_file_per_table\=1/g' /etc/mysql/mariadb.conf.d/50-server.cnf
[11:32:20] debalance leaves the room
[11:34:02] <mnr11> whats wrong with this iq for ping,         IQ = #iq{from = LServer, to = To, id = ID, type = get, sub_els=[#xmlel{name = <<"ping">>,attrs=[{<<"xmlns">>,<<"urn:xmpp:ping">>}]}]},
[11:39:13] <mnr11> I got ping "query is incorrect".
[11:40:29] pod leaves the room
[11:41:18] vanitasvitae leaves the room
[11:41:26] ludo leaves the room
[11:45:25] joekokker leaves the room
[11:53:01] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:59:15] <Mr.Newbie> where is the proper place to insert default_db: sql ?
[12:01:19] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:08:47] ChaosKid42 leaves the room
[12:15:50] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:19:41] jere leaves the room
[12:24:20] Mr.Newbie leaves the room: Stream closed by us: system-shutdown
[12:24:20] newbie leaves the room: Stream closed by us: system-shutdown
[12:28:30] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> Hi
[12:31:35] <newbie> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_: hi
[12:32:53] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> newbie: how are you
[12:33:08] <Mr.Newbie> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_, Good good, how about u
[12:34:03] srgcdev leaves the room
[12:34:29] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> so fine ,
[12:35:41] <Licaon_Kter> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_: That's a Zalgo nick?
[12:36:41] robert_mobile leaves the room
[12:37:09] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> i need some help, would u please help me
[12:37:29] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> who is Zaglo??
[12:39:07] Mr.Newbie leaves the room: Stream closed by us: system-shutdown
[12:39:07] newbie leaves the room: Stream closed by us: system-shutdown
[12:39:22] <Licaon_Kter> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_: probably not.
But do state your issue...
[12:39:26] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> do u know anyone else can help me
[12:39:50] <Mr.Newbie> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_, yeah sure
[12:41:49] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> admin of Jsmart insult me and take my jid ,
[12:41:53] ThUnD3r|Gr33n leaves the room
[12:43:24] <Mr.Newbie> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_, i was expecting something that has to do with setting up ejabberd server. i dont think i can do anything in that area sorry.
[12:44:15] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> admin of Jsmart insult any person dont agree him and take their jid ,ask money from them , if you can help me i even can pay
[12:45:11] nekit leaves the room
[12:46:18] <Mr.Newbie> _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_, why do u even care, fuck it. get a new jid some other place, pluse i done think this is the correct channel/conference for such help.
[12:48:38] <_~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_> Mr.Newbie: ok , no problem , thank you
[12:49:00] erik leaves the room: Connection failed: timeout
[12:52:18] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:53:50] ludo leaves the room
[13:06:05] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:06:46] _~ॆरˇЂสสқя-Ђǿ९ŝ̉रॆॆ~_ leaves the room: Powered By Ali [Lion-Syria] :-)  http://alo0osh-sy.xtgem.com
[13:11:01] <zinid> WTF is going on here?
[13:19:28] mnr11 leaves the room: offline
[13:21:00] Erl leaves the room
[13:22:19] Erl leaves the room: QIP 2012: Quiet Communication
[13:26:25] debalance leaves the room
[13:32:51] nekit leaves the room
[13:35:42] hlad leaves the room
[13:35:44] hlad leaves the room
[13:39:16] ludo leaves the room: Disconnected: Replaced by new connection
[13:41:07] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:43:41] ludo leaves the room
[13:48:06] ludo leaves the room: Disconnected: Replaced by new connection
[13:52:59] nekit leaves the room
[13:56:07] ludo leaves the room: Disconnected: Replaced by new connection
[14:00:10] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:02:23] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:14:02] hlad leaves the room: Replaced by new connection
[14:15:00] nekit leaves the room
[14:38:13] marc leaves the room: unknown reason
[14:38:56] marc leaves the room: unknown reason
[14:39:04] <rom1dep> zinid: Makes it an interesting MUC 😁
[14:40:32] nekit leaves the room
[14:42:52] cippaciong leaves the room: Connection failed: connection closed
[14:43:28] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:43:47] nekit leaves the room
[14:47:42] ludo leaves the room: Disconnected: Replaced by new connection
[14:49:51] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:50:46] pprrks leaves the room
[14:52:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:53:27] marc leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:56:45] lukas leaves the room
[14:57:36] bowlofeggs leaves the room
[15:01:17] hlad leaves the room
[15:01:19] hlad leaves the room
[15:02:24] jere leaves the room
[15:05:01] cippaciong leaves the room: Connection failed: connection closed
[15:05:26] vanitasvitae leaves the room
[15:06:13] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:06:15] zuglufttier leaves the room
[15:07:59] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:09:19] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:11:04] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:16:30] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:16:36] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:22:04] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:22:13] joekokker leaves the room: Replaced by new connection
[15:24:23] lukas leaves the room
[15:24:48] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:34:55] marc leaves the room: unknown reason
[15:42:03] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:45:08] <Holger> !tell zinid Did you ping riot regarding the 0198 issue BTW?  Or shall I?
[15:45:08] <Servant> Holger: Ok!
[15:47:13] damas leaves the room
[15:53:13] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:55:06] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:01:21] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:03:00] joekokker leaves the room: Replaced by new connection
[16:07:46] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:14:24] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:16:18] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:17:06] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:17:20] <Servant> zinid: Welcome back! Holger told me to tell you:
Did you ping riot regarding the 0198 issue BTW?  Or shall I?
[16:18:08] <zinid> rion? No, I didn't
[16:18:51] <Holger> Ok.
[16:20:11] <Holger> Maybe he can fix it before my Psi-using co-workers stumble over it 🙂
[16:22:56] mimi89999 leaves the room
[16:23:21] nekit leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:25:44] lukas leaves the room
[16:27:56] <zinid> btw, the server stores 'h' attribute even when session is timed out?
[16:32:37] <zinid> ah, no
[16:32:46] <zinid> it's client who sends previous 'h'
[16:35:09] jere leaves the room
[16:37:12] joekokker leaves the room
[16:38:46] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:46:37] <Holger> The server stores 'h' to send <failed h='42'/> if the session timed out.
[16:47:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:48:34] <zinid> ah
[16:50:50] cippaciong leaves the room: Connection failed: connection closed
[16:51:58] cippaciong leaves the room: Connection failed: timeout
[16:53:06] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[16:53:13] hlad leaves the room
[16:53:14] hlad leaves the room
[16:57:51] hlad leaves the room
[17:02:18] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:04:06] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:04:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:10:01] Student leaves the room
[17:10:10] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:13:48] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:18:25] lukas leaves the room
[17:28:53] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:34:03] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:51:45] joekokker leaves the room
[17:52:40] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:56:55] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:58:06] hlad leaves the room
[18:01:20] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:04:08] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:09:06] lukas leaves the room
[18:09:09] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:19:25] pod leaves the room
[18:19:47] lukas leaves the room
[18:28:23] lukas leaves the room
[18:30:46] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:32:05] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:33:59] jannic leaves the room: Replaced by new connection
[18:41:32] lukas leaves the room
[18:42:19] lukas leaves the room
[18:49:41] <marc> !version cisco.com
[18:49:47] <Servant> marc: cisco.com is running jabberd version 7.26.0.40895
[18:51:23] <Holger> !version zedat.fu-berlin.de
[18:51:26] <Servant> Holger: zedat.fu-berlin.de is running jabberd version 5.9.2.50704
[18:52:02] <Holger> Seems the co-workers of mine who run our Cisco server are quite outdated.
[18:52:12] <marc> Holger, no ejabberd? ;)
[18:52:20] <Holger> !version jabber.fu-berlin.de
[18:52:22] <Servant> Holger: jabber.fu-berlin.de is running ejabberd version 16.09-9-ZEDAT on unix/linux 3.16.0
[18:52:29] <Holger> We have two things of everything.
[18:52:33] <marc> :D
[18:53:55] <marc> Holger, is guess Cisco Jabber is jabberd + some proprietary/closed source extensions?
[18:54:05] <Holger> (I.e. we have a Linux team and Windows/Cisco people, and no management that's able to decide who runs what.)
[18:55:33] <Holger> marc: AFAIK the Cisco code isn't based on any of the public servers.
[18:56:20] <marc> Holger, but why does Servant state "jabberd" then?
[18:56:45] <Holger> (Apple's Messages Server is based on jabberd2.)
[18:56:56] <Holger> marc: Well that's what they call their thing.
[18:57:17] <marc> oh, it's not related to the jabberd2 project
[18:58:40] <Holger> No I think "jabberd" is just what you come up with if you have no better idea how to call your Jabber daemon.
[18:59:00] <Holger> Not everyone is so creative to prefix the name with an "e"!
[19:01:47] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:01:55] lukas leaves the room
[19:04:36] <zinid> 😀
[19:05:00] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:13:24] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:27:03] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:29:11] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:29:41] <bbhoss> hey folks. curious if anyone in here is using OAuth2 to authenticate users to ejabberd? Seems like it would be useful, but I'm not sure how the flow would be managed
[19:30:52] <bbhoss> I want to build a chatroom integrated into my web app, which is authenticated via Google Login (I know, connecting Google with XMPP, hilarious)
[19:32:04] <zinid> I don't think anyone here is using oauth2
[19:32:26] <bbhoss> I found this but it seems like this uses ejabberd as the oauth identity provider https://docs.ejabberd.im/developer/ejabberd-api/oauth/
[19:32:43] <zinid> I also think ejabberd can only act as an oauth provider, it cannot use oauth to authenticate via foreign providers
[19:32:49] <bbhoss> I know erlang/elixir so custom dev shouldn't be an issue
[19:32:53] <bbhoss> yeah that's what I was afraid of
[19:33:18] <zinid> it's somewhere deep on my TODO list
[19:33:36] <bbhoss> hah, heard that
[19:33:41] <zinid> 😛
[19:33:54] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:34:15] <bbhoss> well, have you thought about how the web flow would work at all? Like, is there some XEP that could be utilized to authenticate with google inside of the chat app itself? I know there is the ability to render forms but not sure about the rest
[19:34:20] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:34:41] <bbhoss> honestly I have JWT tokens and could authenticate easily that way, but ideally regular clients could connect as well, not just from the web interface
[19:35:14] <zinid> I don't think regular clients can connect, you need a special SASL MECHANISM for it, so it should be standardized
[19:36:52] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:37:41] <bbhoss> is there some way to display a webpage inside of jabber?
[19:37:50] <bbhoss> *the client
[19:38:10] <zinid> no, you can only provide redirect url in registration forms
[19:38:33] <bbhoss> so registration is the only process where the web can be involved?
[19:38:38] nekit leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:38:42] <zinid> yup, seems so
[19:40:20] <bbhoss> I guess you could do anonymous auth or passwordless auth, then send the user a signed link which they could do oauth flow, then have the backend learn the identity out of band
[19:40:41] <bbhoss> basically they click the link to authenticate, then the server ends up learning the real identity on the backend
[19:41:00] <bbhoss> but that would be a huge pain to do each time, and there'd be no auth stored on the client itself
[19:41:16] <zinid> yes, but you lose every data when such a user logs off
[19:41:43] <zinid> because anonymous auth is volatile, nothing persists
[19:42:10] <zinid> this can be patched of course
[19:42:23] <bbhoss> yeah, this would probably be a 100% custom auth method anyways
[19:42:43] <bbhoss> is there some way to store data in the client itself? like the server could communicate a token
[19:43:28] <zinid> what do you mean? of course you can send a client something to store via custom XML packet
[19:43:41] <bbhoss> XEP-0049 allows that on the server, but I need to store something on the client itself, so the user only needs to authenticate once
[19:43:59] <bbhoss> like, I would store the oauth token on the server, but I don't want the client to have to reauth every time
[19:45:13] <zinid> frankly, I don't remember how oauth works in details, I touched it last time like 8 years ago or so
[19:46:00] <zinid> but of course you can store the token on server, you can store everything on the server 😉
[19:46:02] <bbhoss> well, it actually would be auth protocol agnostic
[19:46:28] <bbhoss> what I need is the ability to inform the client of the credentials it should use next time it tries to connect
[19:47:04] <bbhoss> definitely stretching this model now :)
[19:47:07] <zinid> ah, so you will keep association token<->password?
[19:48:10] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:49:57] <Holger> Mr.Newbie: What exactly requires Barracuda format by the way?
[19:50:18] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:50:55] <newbie> Holger: mb4
[19:51:02] <Holger> Mr.Newbie: I'm using our schema with Antelope (MariaDB on Debian 8 and 9) just fine.
[19:51:33] <newbie> Holger: Can u check if ur scheme is actually mb4 or not
[19:52:46] <bbhoss> zinid: basically, I want to be able to require the client to complete some arbitrary out of band authentication process, then be able to store something in the client so the next time they connect, they don't have to do it again
[19:53:27] <newbie> Holger: as i recall it works fine, but its not using what it suppose to use. Please share ur findings i want to confirm.
[19:54:37] <zinid> bbhoss, I don't know how to store something on a client out-of-band
[19:55:00] <bbhoss> yeah, I don't see any obvious XEPs. Even abusing something else would be fine for this application though
[19:55:08] <zinid> bbhoss, you might want to ask in the xsf@ room, I'm not a protocol expert
[19:55:18] <bbhoss> ok thanks!
[19:57:59] <zinid> you're welcome
[19:58:26] <zinid> feel free to ask about ejabberd internals if you eventually decide to get your hands dirty, that stuff I can help with for sure 😉
[20:02:11] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:02:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:05:55] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:06:29] <Holger> newbie:
$ mysql -NB -e 'SELECT CCSA.character_set_name FROM information_schema.`TABLES` T, information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` CCSA WHERE CCSA.collation_name = T.table_collation AND T.table_schema = "ejabberd" AND T.table_name = "users"'  
utf8mb4
[20:09:23] <bbhoss> will do. do you by chance know of any clients that actually support X-OAUTH2 authentication?
[20:10:07] <zinid> bbhoss: no, all those I know are custom stuff
[20:12:30] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:14:20] daniel leaves the room
[20:20:54] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:23:55] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:28:19] ChaosKid42 leaves the room
[20:37:26] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:40:07] srgcdev leaves the room
[20:42:57] <newbie> Holger: thanks. Note:i had this experience when installing nextcloud  on debian 9 mariadb.
[20:43:39] <Holger> newbie: Maybe they're doing other stuff which does require Barracuda?
[20:43:45] <Holger> Whatever.
[20:48:51] hlad leaves the room
[20:48:52] hlad leaves the room
[20:52:06] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:52:38] cippaciong leaves the room: Connection failed: host is unreachable
[20:53:57] vanitasvitae leaves the room
[20:54:41] jonas leaves the room
[20:55:36] marc leaves the room: unknown reason
[20:57:48] joekokker leaves the room
[21:12:52] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:16:00] erik leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:16:51] ChaosKid42 leaves the room
[21:18:09] boothj5 leaves the room
[21:21:31] sezuan leaves the room
[21:32:59] Akasch leaves the room: Rechner geht in den Ruhezustand
[21:37:23] joekokker leaves the room: Replaced by new connection
[21:38:28] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:43:31] ludo leaves the room
[21:45:40] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:55:45] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:56:51] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:58:26] boothj5 leaves the room
[22:03:59] Marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:08:21] mimi89999 leaves the room
[22:08:26] Odin leaves the room
[22:18:02] <Holger> zinid: I have a zombie c2s process.  It's waiting for the pending 0198 timeout, all relevant state fields look fine, except:
(ejabberd@localhost)11> erlang:read_timer(maps:get(mgmt_pending_timer, State)).
false
[22:18:22] <Holger> Looks as if the timeout event got lost :-/
[22:21:39] hlad leaves the room
[22:21:41] hlad leaves the room
[22:22:42] <Erl> hello
[22:23:21] jere leaves the room
[22:23:38] <Erl> how i can add room@conference.xxx.x to new users jid registerd
[22:24:00] <Erl> to favourait list
[22:24:05] <Erl> automaticly
[22:24:26] <Erl> im use ejabberd-2.1.11
[22:28:22] joekokker leaves the room: Replaced by new connection
[22:32:23] Erl leaves the room
[22:43:07] hlad leaves the room
[22:43:08] hlad leaves the room
[22:45:28] Holger leaves the room
[22:59:03] Holger leaves the room
[23:07:36] carlos leaves the room
[23:13:40] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:18:59] ChaosKid42 leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:46:00] jere leaves the room: Disconnected: Replaced by new connection
[23:46:20] jeremy leaves the room
[23:47:41] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
Powered by ejabberd - robust, scalable and extensible XMPP server Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!