Ticket #11315 (closed defect: fixed)

Opened 4 weeks ago

Last modified 4 weeks ago

BOSH no group chat or private conversations messages.

Reported by: angeliux Owned by: deryni
Milestone: 2.6.6 Component: XMPP
Version: 2.6.5 Keywords: BOSH MUC
Cc:

Description (last modified by angeliux) (diff)

Connecting trough BOSH. Openfire xmpp server. In group chat can only see messages with some link, like mail or http address. Other messages not showing. In debug window i can see that messages are received and send. Can't see neither self neither conversation budies messages.

Attachments

purple-debug.log (15.1 kB) - added by angeliux 4 weeks ago.
group_chat.png (25.2 kB) - added by angeliux 4 weeks ago.

Change History

  Changed 4 weeks ago by angeliux

Messages that saw trough xmpp console:

Working one:

<message type='groupchat' id='purple5d47cde2' to='lith@conference.jb.lith.lt'>
	<body>That message working http://t !!!</body>
	<html xmlns='http://jabber.org/protocol/xhtml-im'>
		<body xmlns='http://www.w3.org/1999/xhtml'>That message working 			<a href='http://t'>http://t</a>
 !!!</body>
	</html>
</message>

Not working one:

<message type='groupchat' id='purple5d47cde3' to='lith@conference.jb.lith.lt'>
	<body>That message not working !!</body>
</message>

  Changed 4 weeks ago by angeliux

  • description modified (diff)

  Changed 4 weeks ago by darkrain42

  • status changed from new to pending

Please follow the instructions to get a debug log and attach it to this ticket.
What version of PIdgin are you using?

Changed 4 weeks ago by angeliux

  Changed 4 weeks ago by angeliux

Attachment (purple-debug.log) added by ticket reporter.

Changed 4 weeks ago by angeliux

  Changed 4 weeks ago by angeliux

  • status changed from pending to new

Changed 4 weeks ago by angeliux

  Changed 4 weeks ago by angeliux

Pidgin 2.6.5 (libpurple 2.6.5) 794204a24ba7bf26cdb07ae71b9573b09927d641

  Changed 4 weeks ago by darkrain42

This is technically a bug in Openfire, so you should report it to them. The issue is that, per XEP-0206, the server needs to set the XML namespace ('xmlns') for each of the stanzas to 'jabber:client', otherwise they're in (I think; my knowledge of the inheritance rules is rusty) the "http://jabber.org/protocol/httpbind" namespace, which is wrong.

The reason you get messages with markup is that those messages also contain the <html xmlns=...><body xmlns=...></body></html> sections, which maintain the correct namespaces.

Anyway, I'll also add a workaround for this.

  Changed 4 weeks ago by darkrain42@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 2.6.6

(In [2a6c0319124a6881d89d07208a717031b9b29aba]):
jabber: Handle non-compliant servers that don't put stanzas in the right namespace.

Closes #11315

follow-up: ↓ 10   Changed 4 weeks ago by akrherz

Hello,

This will be fixed with Openfire 3.7.0, see:

http://www.igniterealtime.org/issues/browse/OF-346

daryl

in reply to: ↑ 9   Changed 4 weeks ago by darkrain42

Replying to akrherz:

Hello, This will be fixed with Openfire 3.7.0, see: http://www.igniterealtime.org/issues/browse/OF-346 daryl

Great!

Note: See TracTickets for help on using tickets.