Modify

#1180 closed defect (duplicate)

Lost PMs in Jabber

Reported by: giacomo.tenaglia@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 3.2.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

Hi, as discussed in IRC (of course!) with "wilmer" I cannot send PM to some users on Jabber. I can see them on group chats but sending or even replying to their PMs doesn't work and I get "user offline".

I'm using the following Bitblee version: BitlBee 3.2.2-2+b1 Linux/x86_64 on Debian sid. The client is irssi 0.8.17 (20141011 1044).

Here is the output of the connection to the server and to the group chat:

10:21 <_xmlconsole> TX: <?xml version='1.0' ?><stream:stream to="jabber.cern.ch" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
10:21 <_xmlconsole> RX: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.process-one.net/en/ejabberd/"
                    ver="8P/XuMtKq0lNk50DLBC8v+TXoAU="/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
10:21 <_xmlconsole> TX: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
10:21 <_xmlconsole> RX: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
10:21 <_xmlconsole> TX: <stream:stream to="jabber.cern.ch" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
10:21 <_xmlconsole> RX: <stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.process-one.net/en/ejabberd/" ver="8P/XuMtKq0lNk50DLBC8v+TXoAU="/><register
                    xmlns="http://jabber.org/features/iq-register"/></stream:features>
10:21 <_xmlconsole> TX: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">****</auth>
10:21 <_xmlconsole> RX: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
10:21 <_xmlconsole> TX: <stream:stream to="jabber.cern.ch" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
10:21 <_xmlconsole> RX: <stream:features><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.process-one.net/en/ejabberd/" ver="8P/XuMtKq0lNk50DLBC8v+TXoAU="/><register
                    xmlns="http://jabber.org/features/iq-register"/></stream:features>
10:21 <_xmlconsole> TX: <iq type="set" id="BeeCSjopxtxz610/jGCB"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>BitlBee</resource></bind></iq>
10:21 <_xmlconsole> RX: <iq id="BeeCSjopxtxz610/jGCB" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>giacomo@jabber.cern.ch/BitlBee</jid></bind></iq>
10:21 <_xmlconsole> TX: <iq type="set" id="BeeC0Ul98L20qEmqKMVG"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
10:21 <_xmlconsole> RX: <iq type="result" id="BeeC0Ul98L20qEmqKMVG"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
10:21 <_xmlconsole> TX: <iq type="get" id="BeeCZgV01OT02REYIsJZ"><query xmlns="jabber:iq:roster"/></iq>
10:21 <_xmlconsole> TX: <iq type="get" to="jabber.cern.ch" id="BeeCJ86/MhFqt9/tKAl8"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>
10:21 <_xmlconsole> RX: <iq from="giacomo@jabber.cern.ch" to="giacomo@jabber.cern.ch/BitlBee" id="BeeCZgV01OT02REYIsJZ" type="result"><query xmlns="jabber:iq:roster"/></iq>
10:21 <_xmlconsole> TX: <presence><priority>0</priority><c xmlns="http://jabber.org/protocol/caps" node="http://bitlbee.org/xmpp/caps" ver="3.2.2-2+b1"/></presence>
10:21 <_xmlconsole> RX: <iq from="jabber.cern.ch" to="giacomo@jabber.cern.ch/BitlBee" id="BeeCJ86/MhFqt9/tKAl8" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="pubsub" type="pep"/><identity category="server" type="im" name="ejabberd"/><x xmlns="jabber:x:data"
                    type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/network/serverinfo</value></field></x><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/commands"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#access-authorize"/><feature
                    var="http://jabber.org/protocol/pubsub#access-open"/><feature var="http://jabber.org/protocol/pubsub#access-presence"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#access-whitelist"/><feature var="http://jabber.org/protocol/pubsub#auto-create"/><feature var="http://jabber.org/protocol/pubsub#auto-subscribe"/><feature var="http://jabber.org/protocol/pubsub#collections"/><feature
                    var="http://jabber.org/protocol/pubsub#config-node"/><feature var="http://jabber.org/protocol/pubsub#create-and-configure"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#create-nodes"/><feature var="http://jabber.org/protocol/pubsub#delete-items"/><feature var="http://jabber.org/protocol/pubsub#delete-nodes"/><feature var="http://jabber.org/protocol/pubsub#filtered-notifications"/><feature
                    var="http://jabber.org/protocol/pubsub#get-pending"/><feature var="http://jabber.org/protocol/pubsub#instant-nodes"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#item-ids"/><feature var="http://jabber.org/protocol/pubsub#last-published"/><feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"/><feature var="http://jabber.org/protocol/pubsub#member-affiliation"/><feature
                    var="http://jabber.org/protocol/pubsub#modify-affiliations"/><feature var="http://jabber.org/protocol/pubsub#multi-subscribe"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#outcast-affiliation"/><feature var="http://jabber.org/protocol/pubsub#persistent-items"/><feature var="http://jabber.org/protocol/pubsub#presence-notifications"/><feature var="http://jabber.org/protocol/pubsub#presence-subscribe"/><feature
                    var="http://jabber.org/protocol/pubsub#publish"/><feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#purge-nodes"/><feature var="http://jabber.org/protocol/pubsub#retract-items"/><feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations"/><feature var="http://jabber.org/protocol/pubsub#retrieve-default"/><feature
                    var="http://jabber.org/protocol/pubsub#retrieve-items"/><feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"/><feature
10:21 <_xmlconsole> var="http://jabber.org/protocol/pubsub#subscribe"/><feature var="http://jabber.org/protocol/pubsub#subscription-notifications"/><feature var="http://jabber.org/protocol/pubsub#subscription-options"/><feature var="http://jabber.org/protocol/stats"/><feature var="iq"/><feature
                    var="jabber:iq:last"/><feature var="jabber:iq:register"/><feature var="jabber:iq:time"/><feature var="jabber:iq:version"/><feature
10:21 <_xmlconsole> var="msgoffline"/><feature var="presence"/><feature var="presence-invisible"/><feature var="urn:xmpp:ping"/><feature var="urn:xmpp:time"/><feature var="vcard-temp"/></query></iq>
10:21 <_xmlconsole> RX: <iq from="jabber.cern.ch/mod_statsdx" to="giacomo@jabber.cern.ch/BitlBee" type="get" id="statsdx577549267"><query xmlns="jabber:iq:version"/></iq>
10:21 <_xmlconsole> TX: <iq type="result" to="jabber.cern.ch/mod_statsdx" id="statsdx577549267"><query xmlns="jabber:iq:version"><name>BitlBee</name><version>3.2.2-2+b1</version><os>Linux</os></query></iq>
10:21 <_xmlconsole> RX: <presence from="giacomo@jabber.cern.ch/BitlBee" to="giacomo@jabber.cern.ch/BitlBee"><priority>0</priority><c xmlns="http://jabber.org/protocol/caps" node="http://bitlbee.org/xmpp/caps" ver="3.2.2-2+b1"/></presence>

Private messages to this person consistently don't work. The user is not on my contact list, I send the private message from the chat.

10:21 <_xmlconsole> RX: <presence from="ai-discuss@conference.jabber.cern.ch/Nacho" to="giacomo@jabber.cern.ch/BitlBee"><show>away</show><priority>0</priority><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="none" role="participant"/></x></presence>

Test one, me sending a PM:

10:21 <_xmlconsole> TX: <message type="chat" to="Nacho=ai-discuss@conference.jabber.cern.ch"><body>test again.</body></message>
10:21 <_xmlconsole> RX: <message from="Nacho=ai-discuss@conference.jabber.cern.ch" to="giacomo@jabber.cern.ch/BitlBee" type="error"><body>test again.</body><error code="404" type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Conference room     does not exist</text></error></message>

Test two, me replying to a PM:

10:32 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/Nacho" to="giacomo@jabber.cern.ch/BitlBee" type="chat" id="a15c2a">
10:32 <_xmlconsole>
10:32 <_xmlconsole> <composing xmlns="http://jabber.org/protocol/chatstates"/></message>
10:32 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/Nacho" to="giacomo@jabber.cern.ch/BitlBee" type="chat" id="a15c3a">
10:32 <_xmlconsole>
10:32 <_xmlconsole> <active xmlns="http://jabber.org/protocol/chatstates"/></message>
10:32 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/Nacho" to="giacomo@jabber.cern.ch/BitlBee" type="chat" id="30061">
10:32 <_xmlconsole>
10:32 <_xmlconsole>
10:32 <_xmlconsole>
10:32 <_xmlconsole> <body>ping</body><x xmlns="jabber:x:event">
10:32 <_xmlconsole>
10:32 <_xmlconsole>
10:32 <_xmlconsole>
10:32 <_xmlconsole>
10:32 <_xmlconsole> <offline/><composing/><delivered/><displayed/></x><active xmlns="http://jabber.org/protocol/chatstates"/></message>
10:32 <_xmlconsole> TX: <message type="chat" to="Nacho=ai-discuss@conference.jabber.cern.ch"><body>pong</body></message>
10:32 <_xmlconsole> RX: <message from="Nacho=ai-discuss@conference.jabber.cern.ch" to="giacomo@jabber.cern.ch/BitlBee" type="error"><body>pong</body><error code="404" type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Conference room does not exist</text></error></message>

As mentioned the group chat works fine and I can see the messages of this person:

10:32 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/Nacho" to="giacomo@jabber.cern.ch/BitlBee" type="groupchat" id="a15c5a">
10:32 <_xmlconsole>
10:32 <_xmlconsole> <body>giacomod: done</body></message>
10:32 <_xmlconsole> TX: <message type="groupchat" to="ai-discuss@conference.jabber.cern.ch"><body>thanks</body></message>
10:32 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/giacomod" to="giacomo@jabber.cern.ch/BitlBee" type="groupchat"><body>thanks</body></message>

This other person works fine:

10:28 <_xmlconsole> RX: <presence from="ai-discuss@conference.jabber.cern.ch/icoteril" to="giacomo@jabber.cern.ch/BitlBee" xml:lang="en" id="prof_presence_14664"><show>away</show><priority>5</priority><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="D029ounI5jp6VP06SBjNd2NbOto=" node="http://www.profanity.im"/><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="none" role="participant"/></x></presence>

10:30 <_xmlconsole> TX: <message type="chat" to="ai-discuss@conference.jabber.cern.ch/icoteril"><body>test, can you read?</body></message>
10:30 <_xmlconsole> RX: <presence from="ai-discuss@conference.jabber.cern.ch/lfernand@jabber.cern.ch" to="giacomo@jabber.cern.ch/BitlBee"><x xmlns="vcard-temp:x:update"><photo/></x><tubes xmlns="http://telepathy.freedesktop.org/xmpp/tubes"/><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="none"       role="participant"/></x></presence>
10:30 <_xmlconsole> RX: <message from="ai-discuss@conference.jabber.cern.ch/icoteril" to="giacomo@jabber.cern.ch/BitlBee" xml:lang="en" id="prof_14710" type="chat"><body>yes</body><active xmlns="http://jabber.org/protocol/chatstates"/></message> 
10:30 <_xmlconsole> TX: <message type="chat" to="ai-discuss@conference.jabber.cern.ch/icoteril"><body>OK thanks</body></message>

Attachments (0)

Change History (3)

comment:1 Changed at 2014-11-11T10:52:08Z by anonymous

Update: it seems to be linked with the fact that problematic users are the ones with uppercase in their usernames.

comment:2 Changed at 2014-12-28T09:35:03Z by dx

Very vaguely related and most likely not really but linking anyway: #450

comment:3 Changed at 2015-01-06T08:31:26Z by dx

Resolution: duplicate
Status: newclosed

Okay #450 is something else, probably not relevant anymore, but this is a direct duplicate of #1106. Closing.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.