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

GMT+0
[00:01:47] Licaon_Kter leaves the room
[00:03:14] vanitasvitae leaves the room
[00:07:04] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:11:12] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[00:13:34] Licaon_Kter leaves the room
[00:16:52] joekokker leaves the room: Replaced by new connection
[00:22:52] frainz leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:23:56] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:25:08] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:40:09] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[00:44:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:11:36] jere leaves the room
[01:16:24] uio leaves the room: Stream closed by us: Replaced by new connection (conflict)
[01:25:47] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:27:55] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:30:27] ta leaves the room
[01:35:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[01:47:36] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:10:17] lukas leaves the room
[02:10:17] lukas leaves the room
[02:10:18] vanitasvitae leaves the room
[02:18:47] Odin leaves the room
[02:21:09] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:21:11] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:31:30] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[02:44:41] jonas leaves the room
[03:08:35] mrDoctorWho leaves the room: Disconnected: Replaced by new connection
[03:14:53] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:21:19] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[03:49:44] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:04:24] <rion> does ejabberd finally support xmpp over json? I'm looking on erlang-jose dep.
[04:04:25] Odin leaves the room
[04:25:43] jere leaves the room
[04:46:31] <zinid> rion: no 😬
[04:47:40] nekit leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[04:49:44] pinky leaves the room: Stream reset by peer
[05:06:52] mimi89999 leaves the room
[05:08:27] uc leaves the room
[05:12:02] ThUnD3r|Gr33n® leaves the room
[05:26:23] nekit leaves the room: Stream closed by us: Replaced by new connection (conflict)
[05:27:42] sezuan leaves the room
[05:54:03] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[05:55:04] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:08:31] Neustradamus leaves the room
[06:14:09] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:16:17] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:19:56] jonas leaves the room
[06:22:14] hlad leaves the room
[06:22:15] hlad leaves the room
[06:23:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:26:19] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:30:25] <rion> what is workaround for processing gateway subscriptions ?
[06:31:42] <zinid> accepting incoming "subscribed"
[06:32:08] <zinid> I don't think this is relevant anymore
[06:33:27] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:34:46] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:36:25] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[06:37:54] <rion> phew.. finally updated all the deps on gentoo.
[06:39:33] hlad leaves the room
[06:39:34] hlad leaves the room
[06:44:35] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:48:44] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:52:33] damas leaves the room
[06:53:47] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[06:54:09] zinid leaves the room
[06:54:52] hlad leaves the room
[06:56:38] hlad leaves the room
[06:58:31] hlad leaves the room
[06:58:32] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:00:48] hlad leaves the room
[07:10:46] <mnr11> zinid, still couldn't figure out the ping response, its always sending the result (pong)
[07:11:05] <mnr11> here's the IQ {iq,<<"-4960934971520406341534">>,get,<<>>,
        {jid,<<"barno1">>,<<"13.229.75.118">>,
             <<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,
             <<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>},
        {jid,<<"monir1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,
             <<"13.229.75.118">>,<<>>},
        [{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>}],[]}],
        #{}}
[07:11:56] <mnr11> And I'm getting something like :
[07:11:58] <mnr11> {iq_reply,{iq,<<"rr-1520406272254-8869215481556572714-1cGVZpl6fCbU4u3IADnG/LvI6Xs=-ejabberd@localhost">>,result,<<>>,{jid,<<"monir1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,<<"13.229.75.118">>,<<>>},{jid,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>},[],#{}},{jid,<<"monir1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,<<"13.229.75.118">>,<<>>}}
[07:12:31] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:13:01] <zinid> sure, that's correct
[07:13:07] <zinid> you still don't set resource
[07:13:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:13:10] <zinid> what did you expect?
[07:21:22] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:21:23] pod leaves the room: Replaced by new connection
[07:21:42] <mnr11> where do I set the resource
[07:22:14] <mnr11> I thought the fourth element is resource
[07:22:49] <zinid> > IQ.
#iq{id = <<"-4960934971520406341534">>,type = get,
    lang = <<>>,
    from = #jid{user = <<"barno1">>,
                server = <<"13.229.75.118">>,
                resource = <<"Mobile-Android-6ddc56be83bfd1ff">>,
                luser = <<"barno1">>,lserver = <<"13.229.75.118">>,
                lresource = <<"Mobile-Android-6ddc56be83bfd1ff">>},
    to = #jid{user = <<"monir1">>,server = <<"13.229.75.118">>,
              resource = <<>>,luser = <<"monir1">>,
              lserver = <<"13.229.75.118">>,lresource = <<>>},
    sub_els = [#xmlel{name = <<"ping">>,
                      attrs = [{<<"xmlns">>,<<"urn:xmpp:ping">>}],
                      children = []}],
    meta = #{}}
[07:23:05] <zinid> also, don't use #xmlel{}
[07:23:29] <mnr11> OK, let me try
[07:23:35] <mnr11> thanks.
[07:25:10] <zinid> try what?
[07:25:19] <zinid> you don't have resource in `to` attribute
[07:28:14] <mnr11> yeah, right
[07:28:44] <mnr11> I misunderstand
[07:29:19] <mnr11> but the resource is needed in 'from' attribute?
[07:29:29] <zinid> no
[07:29:42] <zinid> read the fucking RFC
[07:29:49] <mnr11> yeah, I got it
[07:29:59] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:30:07] <mnr11> I already read it
[07:30:34] <mnr11> I messed up  with 'to' and 'from'
[07:31:20] <mnr11> zinid, and here's the funcking raw iq stanza that just worked  
[07:31:22] <mnr11> <iq from='monir1@13.229.75.118' to='barno1@13.229.75.118/Mobile-Android-6ddc56be83bfd1ff' id='s2c1' type='get'>
  <ping xmlns='urn:xmpp:ping'/>
</iq>
[07:32:01] <zinid> well yes, this should work
[07:32:21] sezuan leaves the room: Replaced by new connection
[07:33:09] <mnr11> just couldn't figure out with ejabberd, take this as an experiment or learning purpose
[07:33:46] <zinid> you have strange learning process, to say the least
[07:34:09] <zinid> you're already told that pinging is a terrible idea, but you already built up your mind and do that crazy shit
[07:34:17] <zinid> not sure why you're still asking for advices
[07:34:46] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[07:35:56] <mnr11> beacuse still there's a  function for that? and not thats not deprecated
[07:36:16] <zinid> for what?
[07:36:39] <mnr11> For Pinging?
[07:36:57] <zinid> for routing IQs you meant?
[07:37:06] <zinid> but you don't need it
[07:38:00] <mnr11> I should or must go with mod_stream_mgmt?
[07:38:12] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:38:12] <zinid> sigh
[07:38:24] <zinid> didn't we answer this already?
[07:38:58] <mnr11> yeah! I know, next experiment will be with mod_stream_mgmt
[07:39:21] <zinid> just configure and use it
[07:39:23] <mnr11> it's already enabled in both side server and client side
[07:40:57] <mnr11> If I didn't miss anything, (I think I did), it doesn't serve exactly what I need
[07:41:42] <zinid> you did miss for sure
[07:41:53] <mnr11> thats why I need to spend some on it
[07:42:10] <mnr11> then I may ask the question.
[07:43:13] <flow> mnr11, out of curiosity: What are you working on? And what are you trying to achieve?
[07:44:14] <mnr11> flow, detecting connection lost as soon as possible, like facebook,whatsapp does it instantly.
[07:44:25] <zinid> 😀
[07:45:24] <mnr11> the problem here is the timeout
[07:46:27] <mnr11> As it is not a good idea to reduce the timeout
[07:46:51] <flow> I'd think I'd focus on detecting connection loss when the connection is needed, which is rather trivial
[07:47:22] <Holger> mnr11: The problem is that you're not understanding the problem and not listening to people explaining things.
[07:47:37] <flow> If the connection is idle, it doesn't matter if it's broke, and when it's used again, you will get relative quick feedback from the TCP stack that it's broken
[07:47:58] <flow> Also, and that's my standard suggestion: You need to listen for connection change events triggered by the OS
[07:49:00] <Holger> flow: From what I understood, he's not pinging on regular intervals but right after delivering a message. Just as a way to get an ACK from the client.
[07:49:18] <Holger> Like mod_stream_mgmt already does.
[07:49:35] SouL leaves the room
[07:51:03] <Holger> And I think he's still unhappy with the end result because detection loss won't be INSTANT like in WhatsApp.
[07:51:42] <zinid> whatever that means
[07:51:54] <Holger> Because all this isn't about actual connection loss (which nobody can detect instantly).
[07:53:09] <Holger> To get that WhatsApp effect his client just needs to get close the TCP connection before being killed by the OS, as we told him before. If course this only works in the case where the connection was NOT lost.
[07:53:38] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[07:54:21] <Holger> Or maybe I misunderstood everything.
[07:55:08] <mnr11> But would it be possible if the user just disconnect internet and then close the connection?
[07:56:32] <mnr11> what you said is right abput what I need
[07:58:20] <mnr11> but to make it little clear, I want to send all the messages through push notification if the user losses connection for one/couple of seconds
[07:58:58] <mnr11> Like many other messaging app does
[08:00:16] <zinid> just close the socket
[08:01:38] <Holger> mnr11: You also want to send the message *contents* via push notification?
[08:02:21] <Holger> mnr11: Rather than just waking the app via push?
[08:03:13] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:06:04] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:07:15] <Holger> > if the user just disconnect internet and then close the connection?
If the phone actually looses the connection before the app closes the socket, there's no faster way to detect this than to time out on a missing ACK.  Like mod_stream_mgmt already does.  This will take mod_stream_mgmt 60s at most, but you could reduce that timeout, though that will increase the risk of killing slow-but-functional connections.
[08:12:17] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:13:16] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:19:59] <flow> mnr11, I think *no* messaging system puts whole messages into the push notification
[08:20:28] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:22:01] <Holger> TBH it can be hard to get things right on iOS if you don't do that though ...
[08:22:52] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:22:54] SouL leaves the room
[08:22:55] SouL leaves the room
[08:23:35] <flow> Holger, ahh, ok, because you can't do network i/o as result of the push or something?
[08:25:09] <zinid> flow: because messages without body have the lowest priority and may arrive within 2 hours
[08:25:44] <zinid> Until you claim VoIP support
[08:26:23] <Holger> Yes, they do have wake-up notifications, but they will be heavily rate-limited and then dropped.
[08:26:50] <Holger> Proper APNS notifications won't wake your app but just generate a message on the lock screen.
[08:27:12] <flow> Ahh, I see.
[08:27:16] <Holger> The app is only woken when the user presses that.
[08:28:06] <Holger> So your options are: (1) become a VoIP app, (2) generate ugly "New Message!" notifications, (3) include the plain-text body.
[08:28:21] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:29:06] <Holger> And I'm not sure (1) is going to stay, I *think* Apple announced that VoIP is supposed to work without push wake-ups in the future.
[08:34:06] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:35:07] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:39:17] suzyo leaves the room
[08:39:58] <zinid> this is shit I think
[08:40:08] <zinid> the voip app needs time to perform ICE
[08:40:40] <zinid> this will end up in a user picking up the phone and screaming "hello, hello!"
[08:41:12] <zinid> because ICE negotiation is in progress and no sound is available so far
[08:43:12] <Holger> Yeah.
[08:44:15] <Holger> But I'm unsure about that part, maybe I'm confusing something.
[08:46:17] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:46:23] <ThUnD3r|Gr33n> guys
[08:46:47] <Holger> Anyway it sucks for our current implementation which assumes push notifications to be wake-up events only.  Back when we thought about how to design this stuff I wasn't aware that silent notifications aren't reliable in APNS.
[08:47:36] <ThUnD3r|Gr33n> i have an issue bothering for a long time.. I get join and leave messages all the time for a transport as ejabberd recognizes thos "notifications" as messages.. is there a way to ignore thise messages?
[08:47:42] <Holger> We need some changes to cope with this at least a little better.
[08:49:01] <Holger> ThUnD3r|Gr33n: There's no way to disable them in spectrum or whatever generates them?
[08:49:44] <ThUnD3r|Gr33n> let me check with spectrum devs .. but this did not occur in the paast.. so something changed
[08:50:15] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:50:33] <Holger> IIRC you said you're seeing them in Conversations, so those are actual messages (not the usual presence stanzas you'd get for MUC joins/leaves).
[08:51:10] <Holger> You'd need to write a module to filter such messages in ejabberd.
[08:53:17] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[08:58:39] ludo leaves the room
[08:59:01] rom1dep leaves the room: Connection failed: connection closed
[09:01:16] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:05:20] debalance leaves the room
[09:05:52] rom1dep leaves the room: Stream reset by peer
[09:08:08] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:08:15] pinky leaves the room: Stream reset by peer
[09:14:33] jannic leaves the room: Replaced by new connection
[09:17:41] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:17:53] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:18:58] cippaciong leaves the room: Stream closed by us: Improper 'from' attribute (invalid-from)
[09:21:10] cippaciong leaves the room
[09:26:45] mimi89999 leaves the room
[09:28:16] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:28:22] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:38:30] vanitasvitae leaves the room: Stream closed by us: Replaced by new connection (conflict)
[09:41:56] Holger leaves the room
[09:43:09] ludo leaves the room: Disconnected: Replaced by new connection
[09:48:23] ChaosKid42 leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:53:55] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[09:53:59] pinky leaves the room: Stream reset by peer
[09:55:13] vanitasvitae leaves the room
[09:55:39] suzyo leaves the room
[09:56:14] hlad leaves the room
[09:56:15] Man_Life leaves the room: Replaced by new connection
[09:56:15] hlad leaves the room
[09:57:16] ludo leaves the room: Disconnected: Replaced by new connection
[09:58:08] mnr11 leaves the room
[09:59:55] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:00:34] Akasch leaves the room
[10:02:15] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:06:41] Man_Life leaves the room: Logged out
[10:11:08] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:14:36] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:21:48] pinky leaves the room: Stream closed by us: Replaced by new connection (conflict)
[10:21:54] marzanna leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:23:43] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:25:34] ludo leaves the room
[10:25:48] pprrks leaves the room
[10:37:11] cippaciong leaves the room
[10:38:26] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:42:04] <mnr11> zinid, one more time bothering about sending ping, I have tried by adding resource in 'from' but still getting the same response
[10:42:29] <mnr11> IQ {iq,<<"14974095131520419165624">>,get,<<>>,
        {jid,<<"barno1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,
             <<"13.229.75.118">>,<<>>},
        {jid,<<"monir1">>,<<"13.229.75.118">>,
             <<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,
             <<"13.229.75.118">>,<<>>},
        [{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>}],[]}],
        #{}}
[10:43:13] <mnr11> Also tried adding resource to the 'to' element
[10:43:28] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:43:59] hlad leaves the room
[10:45:10] hlad leaves the room
[10:45:11] hlad leaves the room
[10:47:55] <Holger> mnr11: Everything you copied had an empty resource in the 'to' element so far.
[10:48:29] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[10:48:36] <Holger> Ah nonsense now you have 'resource' but not 'lresource', yay.
[10:48:42] <Holger> You need to set both.
[10:49:30] <Holger> 2018-03-06 11:59 <emias> mnr200: JID = jid:replace_resource(To, LResource).
[10:50:53] <mnr11> I tried with lresource too
[10:52:25] <Holger> I see two possibilities: (1) You didn't, (2) ejabberd's core routing is completely broken.
[10:54:03] <mnr11> Just tried something like that
[10:54:05] <mnr11> IQ {iq,<<"17903758201520419984053">>,get,<<>>,
        {jid,<<"monir1">>,<<"13.229.75.118">>,
             <<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,
             <<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>},
        {jid,<<"barno1">>,<<"13.229.75.118">>,
             <<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,
             <<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>},
        [{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>}],[]}],
        #{}}
[10:54:58] <mnr11> And for previous one the response is always >
[10:55:01] <mnr11> {iq_reply,{iq,<<"rr-1520419383484-16252067864869512864-UKqrqiYWiRCPIbav+SfUSW/PpMw=-ejabberd@localhost">>,result,<<>>,{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<>>},{jid,<<"barno1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,<<"13.229.75.118">>,<<>>},[],#{}},{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>}}
[10:55:22] <mnr11> With the lresource >
[10:55:34] <mnr11> {iq_reply,timeout,{jid,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>}}
[10:55:50] <mnr11> no 'result'
[10:59:48] <mnr11> Holger, this works from XML console
[10:59:51] <mnr11> <iq from='monir1@13.229.75.118' to='barno1@13.229.75.118/Mobile-Android-6ddc56be83bfd1ff' id='s2c1' type='get'>
  <ping xmlns='urn:xmpp:ping'/>
</iq>
[11:00:28] daniel leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:01:24] ThUnD3r|Gr33n® leaves the room
[11:08:59] jere leaves the room: Disconnected: Replaced by new connection
[11:09:14] pinky leaves the room: Stream reset by peer
[11:22:10] vanitasvitae leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:23:29] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:24:02] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:24:42] <Holger> mnr11: Ah sorry do you have mod_ping loaded?
[11:25:05] <Holger> mnr11: That might be eating your request.  Disable it and try again.
[11:25:05] <mnr11> yes
[11:25:18] <mnr11> okay let me try
[11:26:53] lukas leaves the room
[11:33:06] suzyo leaves the room
[11:36:48] <mnr11> Holger, I tried with disbaling  
[11:36:50] <mnr11> {iq_reply,{iq,<<"rr-1520422472590-15969403226533309139-EfssuU6N2ZzuRYMHdO+GsoO02CE=-ejabberd@localhost">>,error,<<>>,{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<>>},{jid,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>},[{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>}],[]},{stanza_error,cancel,503,<<>>,'service-unavailable',[{text,<<"en">>,<<"No module is handling this query">>}],[]}],#{}},{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>}}
[11:38:28] ta leaves the room
[11:43:52] hlad leaves the room
[11:43:54] hlad leaves the room
[11:43:54] hlad leaves the room
[11:47:21] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:49:31] <mnr11> Seems like without mod_ping module it won't work.
[11:51:17] hlad leaves the room
[11:51:18] hlad leaves the room
[11:51:19] hlad leaves the room
[11:52:13] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:53:27] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:54:12] cippaciong leaves the room: Connection failed: connection closed
[11:55:31] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:58:27] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[11:58:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[11:59:38] ThUnD3r|Gr33n® leaves the room
[12:02:05] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[12:03:46] <Holger> mnr11: Yes scratch that, mod_ping won't eat your request.  I was mis-reading code.
[12:03:50] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[12:05:22] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[12:06:51] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[12:08:23] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[12:08:26] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:09:26] <mnr11> the ping actually  not being sent to the client
[12:09:48] <zinid> LOL
[12:09:49] <Holger> Because lresource is empty.
[12:10:51] <mnr11> I tried with both with only resource and with resource and lsresiurce
[12:11:05] <Holger> <Holger> I see two possibilities: (1) You didn't, (2) ejabberd's core routing is completely broken.
[12:11:21] <zinid> mnr11: and you got a response in one case: timeout
[12:11:43] <mnr11> Holger, {iq_reply,{iq,<<"rr-1520419383484-16252067864869512864-UKqrqiYWiRCPIbav+SfUSW/PpMw=-ejabberd@localhost">>,result,<<>>,{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<>>},{jid,<<"barno1">>,<<"13.229.75.118">>,<<>>,<<"monir1">>,<<"13.229.75.118">>,<<>>},[],#{}},{jid,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>,<<"monir1">>,<<"13.229.75.118">>,<<"Mobile-Android-84c6c4b5f5ef80b">>}}
[12:11:58] <mnr11> does it look like okay?
[12:11:58] <zinid> > {iq_reply,timeout,{jid,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>,<<"barno1">>,<<"13.229.75.118">>,<<"Mobile-Android-6ddc56be83bfd1ff">>}}
[12:12:17] <mnr11> yeah thats what I got
[12:12:44] SouL leaves the room
[12:13:00] <Holger> Oh I overlooked that line :-)
[12:13:05] <zinid> So what's the problem?
[12:13:35] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:13:55] <mnr11> zinid, Is it supposed to get the response like this? I was expecting something with 'result'
[12:14:10] <zinid> mnr11: yes
[12:14:13] <Holger> I gave up and wrote an example: https://jabber.fu-berlin.de/share/holger/yWIF3Qv1iOwCHoYz/mod_mnr.erl.txt
[12:14:19] <Holger> But seems your code is working already, yes.
[12:14:53] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:15:26] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[12:16:12] <mnr11> Lol, thanks by the way.
[12:21:13] suzyo leaves the room
[12:26:39] lukas leaves the room
[12:27:00] lukas leaves the room
[12:28:57] hlad leaves the room
[12:32:30] SouL leaves the room
[12:32:31] SouL leaves the room
[12:34:32] hlad leaves the room
[12:34:33] hlad leaves the room
[12:35:17] lukas leaves the room
[12:36:46] pinky leaves the room: Stream reset by peer
[12:37:38] hlad leaves the room
[12:44:55] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:03:11] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:06:11] hlad leaves the room
[13:09:17] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:09:47] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:14:38] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:17:46] newbie leaves the room
[13:17:46] Mr.Newbie leaves the room
[13:17:46] newbie leaves the room
[13:22:14] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:22:55] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:24:40] mnr11 leaves the room: offline
[13:24:59] ThUnD3r|Gr33n® leaves the room
[13:25:43] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:36:40] ThUnD3r|Gr33n® leaves the room
[13:39:51] ThUnD3r|Gr33n® leaves the room
[13:43:33] ThUnD3r|Gr33n® leaves the room
[13:45:15] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:46:18] ThUnD3r|Gr33n® leaves the room
[13:47:17] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[13:47:59] ta leaves the room
[13:48:17] ThUnD3r|Gr33n® leaves the room
[13:50:09] ThUnD3r|Gr33n® leaves the room
[13:51:17] <zinid> sigh, that dude with fast_tls PR is getting on my nerves
[13:52:12] ThUnD3r|Gr33n® leaves the room
[13:54:01] ThUnD3r|Gr33n leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:54:05] ThUnD3r|Gr33n® leaves the room
[13:54:06] ThUnD3r|Gr33n leaves the room: Stream closed by us: Replaced by new connection (conflict)
[13:54:07] hlad leaves the room
[13:54:08] hlad leaves the room
[13:56:21] ThUnD3r|Gr33n® leaves the room
[13:58:07] ThUnD3r|Gr33n® leaves the room
[14:00:12] ThUnD3r|Gr33n® leaves the room
[14:02:15] ThUnD3r|Gr33n® leaves the room
[14:03:01] <Holger> I understand that :-)
[14:03:47] ThUnD3r|Gr33n® leaves the room: Stream closed by us: Too many unacked stanzas (policy-violation)
[14:04:59] <zinid> https://github.com/processone/fast_tls/pull/32/files#diff-2aa4ee5664d7ff40e928e3d69eab1d6cR529
[14:05:07] <zinid> why is he trying to push this stupid code
[14:06:00] jere leaves the room
[14:06:05] <Holger> You get that behavior already by only allowing cert auth, right?
[14:07:33] ThUnD3r|Gr33n® leaves the room
[14:09:02] uio leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:09:38] ThUnD3r|Gr33n® leaves the room
[14:09:52] <Holger> I mean the TLS handshake will succeed but auth won't ...
[14:10:02] <zinid> yes, see my latest comment on PR
[14:10:05] <zinid> https://github.com/processone/fast_tls/pull/32
[14:10:17] <zinid> https://github.com/processone/fast_tls/pull/32#issuecomment-371149402
[14:10:41] <Holger> Right.
[14:12:06] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:16:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:16:41] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:18:23] lukas leaves the room
[14:20:54] rion leaves the room
[14:34:32] nekit leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[14:37:23] vanitasvitae leaves the room
[14:46:30] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[14:47:45] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:02:04] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:02:42] joekokker leaves the room
[15:08:34] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:12:37] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:12:48] SouL leaves the room
[15:12:48] SouL leaves the room
[15:13:19] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:15:10] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:17:27] rom1dep leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:18:25] uio leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:18:29] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:19:13] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:19:30] hlad leaves the room
[15:19:31] hlad leaves the room
[15:20:13] lukas leaves the room
[15:20:53] lukas leaves the room
[15:22:38] ta leaves the room
[15:27:57] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:30:58] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:32:58] damas leaves the room
[15:33:04] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:39:51] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:40:15] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:41:03] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:42:43] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:43:43] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[15:45:32] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[15:52:56] hlad leaves the room
[15:55:39] lukas leaves the room
[16:03:14] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:16:11] hlad leaves the room
[16:19:56] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:20:07] ta leaves the room: Machine going to sleep
[16:20:45] Akasch leaves the room
[16:22:05] jonas leaves the room
[16:26:46] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:30:19] pprrks leaves the room
[16:35:02] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:38:07] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:46:42] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:57:07] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[16:57:33] zuglufttier leaves the room
[17:00:04] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:06:08] ThUnD3r|Gr33n leaves the room: Stream closed by us: Improper 'from' attribute (invalid-from)
[17:07:22] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:11:23] Student leaves the room
[17:12:26] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:12:47] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[17:13:05] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:19:45] suzyo leaves the room
[17:20:19] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:25:50] mrDoctorWho leaves the room
[17:38:26] cippaciong leaves the room: Connection failed: connection closed
[17:38:42] sezuan leaves the room
[17:43:33] ludo leaves the room: Disconnected: Replaced by new connection
[17:46:27] prefiks leaves the room
[17:49:55] frainz leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:55:03] jeremy leaves the room
[17:57:37] lukas leaves the room: Stream closed by us: Replaced by new connection (conflict)
[17:57:56] lukas leaves the room
[18:02:56] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:03:26] newbie leaves the room
[18:06:54] robert_mobile leaves the room
[18:08:04] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:14:17] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:18:21] Student leaves the room
[18:20:49] pinky leaves the room: Stream reset by peer
[18:23:28] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:27:28] lukas leaves the room
[18:28:08] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[18:34:21] SouL leaves the room
[18:35:15] jere leaves the room: Disconnected: Replaced by new connection
[18:42:03] joekokker leaves the room
[18:47:45] uc leaves the room
[19:01:16] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:02:12] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:12:07] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:16:34] jannic leaves the room
[19:22:45] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:23:37] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:25:55] srgcdev leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:26:02] SouL leaves the room
[19:30:34] robert_mobile leaves the room: Stream closed by us: Replaced by new connection (conflict)
[19:34:05] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:34:43] pod leaves the room
[19:37:18] lukas leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:39:00] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[19:49:05] ludo leaves the room
[19:55:48] Akasch leaves the room
[20:00:40] ileh leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:02:27] Man_Life leaves the room: Replaced by new connection
[20:15:36] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:22:45] jannic leaves the room
[20:26:46] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:26:59] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:30:45] newbie leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:34:28] carlos leaves the room
[20:42:35] jannic leaves the room
[20:44:05] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[20:45:58] srgcdev leaves the room
[20:47:19] nekit leaves the room
[20:47:55] Akasch leaves the room: Rechner geht in den Ruhezustand
[20:56:14] jere leaves the room: Disconnected: Replaced by new connection
[21:01:19] uc leaves the room
[21:01:20] Marzanna leaves the room
[21:05:40] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:06:34] zuglufttier leaves the room
[21:07:54] jannic leaves the room
[21:08:26] zinid leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[21:09:22] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:10:04] cippaciong leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:11:43] Man_Life leaves the room
[21:12:03] Akasch leaves the room: Disconnected: Replaced by new connection
[21:17:55] hlad leaves the room
[21:22:25] uc leaves the room
[21:30:53] daniel leaves the room
[21:33:33] ta leaves the room
[21:34:34] ta leaves the room
[21:36:42] robert_mobile leaves the room: Stream closed by us: Replaced by new connection (conflict)
[21:50:10] hlad leaves the room: Machine going to sleep
[22:01:56] Odin leaves the room
[22:11:41] ludo leaves the room
[22:13:10] newbie leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:19:05] edhelas leaves the room: Stream reset by peer
[22:25:07] edhelas leaves the room: Stream reset by peer
[22:25:15] robert_mobile leaves the room
[22:34:07] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:34:20] SouL leaves the room
[22:40:38] edhelas leaves the room: Stream reset by peer
[22:44:43] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:50:58] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:51:00] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[22:56:54] rom1dep leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:00:04] debalance leaves the room: Stream closed by us: Replaced by new connection (conflict)
[23:04:07] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:14:48] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:16:31] debalance leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:20:42] marc leaves the room: unknown reason
[23:24:12] joekokker leaves the room: Replaced by new connection
[23:27:38] jeremy leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:27:58] Licaon_Kter leaves the room: Stream closed by us: Timed out waiting for stream resumption (connection-timeout)
[23:31:55] pinky leaves the room: Stream reset by peer
[23:35:21] jere leaves the room: Disconnected: Replaced by new connection
[23:52:06] jeremy 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!