Logs for jdev

Show join/part/nick changes:

[01:14:57] * xnyhps left the chat.
[01:14:59] * xnyhps joined the chat.
[02:36:26] * bLaDe joined the chat.
[03:03:55] * MattJ left the chat.
[03:55:32] * xnyhps left the chat.
[03:55:33] * xnyhps joined the chat.
[04:06:58] * Treebilou joined the chat.
[04:17:36] * Zash joined the chat.
[05:09:46] * Tobias joined the chat.
[05:23:32] * Treebilou left the chat.
[05:33:12] * Asterix joined the chat.
[06:01:39] * Alex joined the chat.
[06:34:54] * xnyhps left the chat.
[06:34:54] * xnyhps joined the chat.
[06:52:57] * Asterix left the chat.
[07:16:22] * Tobias left the chat.
[07:34:41] * luca tagliaferri joined the chat.
[07:54:49] * Tobias joined the chat.
[08:06:58] * akuckartz joined the chat.
[08:18:06] * jammy7777 joined the chat.
[08:27:59] <jammy7777> .
[08:41:20] * Tobias left the chat.
[09:01:07] * David Garaña joined the chat.
[09:01:21] * westsibe joined the chat.
[09:01:48] <David Garaña> ?¿
[09:01:50] * David Garaña left the chat.
[09:22:42] * Alex left the chat.
[09:38:08] * jammy7777 left the chat.
[09:41:50] * Flow joined the chat.
[10:08:10] * jammy7777 joined the chat.
[10:19:44] * westsibe left the chat.
[10:19:45] * westsibe joined the chat.
[10:26:31] * akuckartz left the chat.
[10:36:43] * bLaDe left the chat.
[10:50:42] * jammy7777 left the chat.
[11:05:29] * jammy7777 joined the chat.
[11:05:39] <jammy7777> .
[11:14:18] * Tobias joined the chat.
[11:16:28] <jammy7777> wc tobais
[11:22:41] * Alex joined the chat.
[11:39:49] * luca tagliaferri left the chat.
[11:51:24] * helmut-work joined the chat.
[11:55:44] <helmut-work> hi. i was writing a jabber client using pyxmpp. when running it against ejabberd I can see presence iqs from an iphone client with no type (i.e. available), but I never see iqs with type="unavailable". Is there a related bug known in any of these implementations? (note that I do receive type="unavailable" from some clients)
[11:56:51] <Zash> presence iqs?
[11:57:26] <helmut-work> uhm. maybe I'm mixing terminology here. stanzas?
[11:57:46] <Zash> probably
[11:57:51] <Zash> both presence and iq are stanzas
[11:58:00] <helmut-work> thanks
[11:58:06] <Zash> and message is the last one
[11:58:36] <Zash> so, you don't see <presence type="unavailable"/> ?
[11:58:49] <helmut-work> precisely. but only for some clients.
[11:59:16] <Zash> that would likely be because they are still online
[11:59:59] <helmut-work> hm. but when an iPhone disconnects from chatting, shouldn't I receive some notification that it is no longer available?
[12:00:25] <Zash> depends
[12:00:35] <Zash> what do you mean by 'disconnects from chatting' ?
[12:00:52] <helmut-work> closing the chat application on the iphone I guess.
[12:01:22] <Zash> it might have a background service that keeps the connection alive (if apple allows that yet)
[12:01:43] <helmut-work> hm. but I doesn't receive further messages.
[12:01:54] <Zash> or, if it really does shut down, it might not do so cleanly so the server doesn't know it's gone
[12:02:02] <helmut-work> messages directed at the iphone then show up on all other available contacts
[12:02:06] <Zash> if that is the case, it'll take a while for the connection to timeout
[12:02:12] <helmut-work> err resources :-)
[12:02:43] <Alex> I guess the Iphone app is broken and does not close the xmpp session properly
[12:03:02] <helmut-work> since the server redirects a message from the iphone resource to different resources, at least the server is aware of the iphone having disconnected
[12:03:07] <Alex> then it can take a whole until the server detects the broken session
[12:03:23] <Alex> helmut-work: yes it should
[12:03:24] <helmut-work> and even if the iphone does not properly close the session, the server MUST send a presence type="unavailable"
[12:03:36] <Alex> if it doesnt then server and iphone app are broken :D
[12:04:02] <Zash> or it scrolled by your logs too fast :)
[12:04:05] <helmut-work> I kind of doubt that ejabberd is that broken.
[12:04:28] <Zash> Heh
[12:04:49] <helmut-work> the actual issue is http://code.google.com/p/pynotifyd/issues/detail?id=3 in case anyone is interested.
[12:05:24] <helmut-work> since I turned on full debug log for pyxmpp, I tend to not miss messages.
[12:06:03] <Zash> What does that software do?
[12:06:18] <helmut-work> it tries to deliver a message to a user as hard as possible.
[12:06:40] <Alex> this posts mention presence iqs
[12:06:43] <helmut-work> that means, if jabber doesn't work, try sms, and your web sms provider doesn't work use the phone attached to the serial port
[12:06:46] <Alex> there are no presence iqs
[12:06:57] <Alex> presence and iq are 2 totally different stanzas type
[12:06:58] <helmut-work> yeah. I used wrong terminology there, too.
[12:07:09] <helmut-work> zash already clarified that
[12:07:42] <helmut-work> when the issue talks about iqs it actually means stanzas.
[12:07:52] <Alex> do you get message bounces form the server?
[12:08:02] <Alex> <message type="error"/> ?
[12:08:25] <Alex> are this 1:1 chats or is MUC involved?
[12:08:42] <helmut-work> no. messages sent to the resource which I am lacking the presence unavailable for, are redirected to all available resources.
[12:08:42] <Alex> because ejabberd had bugs before where muc users stayed online forever
[12:08:45] <helmut-work> no muc
[12:09:22] <helmut-work> so when I miss one presence unavailable for one resource, then all other resources get the message twice.
[12:09:39] <helmut-work> when I miss the second unavailable, all other resources get the message three times and so on.
[12:09:59] <helmut-work> so clearly the server is aware that the resource is offline (otherwise it would not redirect the message)
[12:10:23] <Zash> Are you sending directed messages to each resource?
[12:10:50] <helmut-work> yes
[12:10:57] <Alex> gotcha
[12:11:08] <Zash> why not send one undirected message?
[12:11:35] <Zash> or maybe a headline, which are dropped if the resource is unavailable iirc
[12:12:21] * westsibe left the chat.
[12:15:15] <helmut-work> I do resource tracking, because some resources are explicitly excluded and users can make resources temporarily ignored (even though they are online)
[12:15:27] <helmut-work> headline sounds nice.
[12:15:32] <Alex> IIRC the server should also send unavailble for directed presences
[12:15:34] <helmut-work> good suggestion
[12:15:44] <Alex> so this is a server bug then for directed presences
[12:16:11] <Kev> Alex: s/should/MUST/.
[12:16:21] <Kev> I believe (although I"ve not checked)
[12:16:22] <helmut-work> yeah. whatever the iphone does, ejabberd has to ensure that I receive presence unavaile
[12:16:42] <Alex> /me checks the RFCs right now
[12:16:49] <helmut-work> server MUST send presence unavailable (even if client doesnt)
[12:17:24] <helmut-work> thank you ver much for your help so far.
[12:17:37] <helmut-work> using headline will at least fix the symptoms
[12:17:51] <Alex> yes
[12:18:01] <Alex> are you running the latest ejabberd version?
[12:18:02] <Zash> Not sure how clients will handle it toh
[12:18:12] <Zash> handle headline messages*
[12:18:17] <Alex> because I know that they had bugs before which were fixed
[12:18:35] <Alex> I had the same problem in one of my projects and it was gone after the customer udpated the server
[12:18:58] <helmut-work> "same problem" == "missing presence unavailable"?
[12:19:12] <Alex> helmut-work: yes
[12:19:24] <helmut-work> ok. I will try a different server.
[12:19:42] <Zash> May I suggest looking at prosody?
[12:20:14] <helmut-work> ok
[12:24:42] <helmut-work> /me summarized our discussion on the issue linked above.
[12:24:53] * MattJ joined the chat.
[12:51:20] * jammy7777 left the chat.
[13:11:01] * jammy7777 joined the chat.
[13:27:21] * luca tagliaferri joined the chat.
[13:31:17] * westsibe joined the chat.
[14:01:39] * Alex left the chat.
[14:19:43] * Tobias left the chat.
[14:19:44] * naw joined the chat.
[14:44:06] * naw left the chat.
[14:50:00] * vincent_v_ joined the chat.
[14:50:10] * helmut-work left the chat.
[15:00:33] * Florob joined the chat.
[15:03:56] * Tobias joined the chat.
[15:17:45] * vincent_v_ left the chat.
[15:19:00] * westsibe left the chat.
[15:23:57] * jammy7777 left the chat.
[15:24:30] * psa joined the chat.
[15:33:47] * deryni joined the chat.
[15:33:59] * Treebilou joined the chat.
[15:40:23] * Asterix joined the chat.
[16:07:33] * jammy7777 joined the chat.
[16:18:41] * Flow left the chat.
[16:22:37] * naw joined the chat.
[16:28:30] * luca tagliaferri left the chat.
[16:29:28] * naw left the chat.
[17:05:26] * guus joined the chat.
[17:05:45] * misha joined the chat.
[17:08:42] * Asterix left the chat.
[17:08:57] * Asterix joined the chat.
[17:19:01] * aRyo joined the chat.
[17:19:04] * aRyo left the chat.
[17:19:33] * aRyo joined the chat.
[17:19:35] * aRyo left the chat.
[17:23:03] * aRyo joined the chat.
[17:23:13] * aRyo left the chat.
[17:26:53] * Lance joined the chat.
[17:27:11] <jammy7777> aryo :D
[17:27:11] * louiz’ left the chat.
[17:28:43] * Asterix left the chat.
[17:28:52] * Lance left the chat.
[17:31:57] * aRyo joined the chat.
[17:33:42] * Lance joined the chat.
[17:35:46] * aRyo left the chat.
[17:40:08] * Tobias_ joined the chat.
[17:44:10] * Tobias left the chat.
[18:00:44] * luca tagliaferri joined the chat.
[18:05:10] * jammy7777 left the chat.
[18:06:25] * jammy7777 joined the chat.
[18:12:44] * darkrain_ joined the chat.
[18:35:20] * louiz’ joined the chat.
[19:25:10] * jammy7777 left the chat.
[19:25:21] * jammy7777 joined the chat.
[19:46:06] * jammy7777 left the chat.
[19:46:13] * jammy7777 joined the chat.
[20:01:29] * westsibe joined the chat.
[20:03:16] * Asterix joined the chat.
[20:40:12] * westsibe left the chat.
[20:46:12] * Tobias_ left the chat.
[20:53:42] * Tobias joined the chat.
[20:59:40] * guus left the chat.
[21:03:08] * naw joined the chat.
[21:05:35] * Zash left the chat.
[21:11:40] * jammy7777 left the chat.
[21:19:21] * Florob left the chat.
[21:41:58] * mankins joined the chat.
[21:41:58] * mankins left the chat.
[21:43:07] * deryni left the chat.
[21:44:55] * jammy7777 joined the chat.
[21:48:41] * naw left the chat.
[21:54:04] * jammy7777 left the chat.
[22:00:22] * Asterix left the chat.
[22:16:07] * Tobias left the chat.
[22:25:50] * psa left the chat.
[23:06:28] * westsibe joined the chat.
[23:47:47] * westsibe left the chat.
[23:52:40] * deryni joined the chat.