group presence and groupchat not working against jabberd2 2.3.1
The jabberd2 in Mac OS X Yosemite is 2.3.1. This module can connect and send messages to other clients, but it can't join a room or send to a room.
Here's an excerpt. Unfortunately it didn't send any errors:
[2015-05-26 19:18:17] jabberlog.DEBUG: Connected to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<?xml version="1.0" encoding="UTF-8"?> <stream:stream to="chat.example.com" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\Stream" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' from='chat.example.com' version='1.0' id='sf7ba0b8shtz2p2ihaey9fm6arhe9kzjrh9ngujy' xmlns:ack='http://www.xmpp.org/extensions/xep-0198.html#ns'>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<stream:features xmlns:stream='http://etherx.jabber.org/streams'><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls><address xmlns='http://affinix.com/jabber/address'>::ffff:xx.xxx.xx.x</address><auth xmlns='http://jabber.org/features/iq-auth'/></stream:features>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\StartTls" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<?xml version="1.0" encoding="UTF-8"?> <stream:stream to="chat.example.com" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\Stream" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' from='chat.example.com' version='1.0' id='5la773l6hafpyde8jqpzd1zfzm90m3vf8db9gyt7' xmlns:ack='http://www.xmpp.org/extensions/xep-0198.html#ns'>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<stream:features xmlns:stream='http://etherx.jabber.org/streams'><address xmlns='http://affinix.com/jabber/address'>::ffff:xx.xxx.xx.x</address><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms><auth xmlns='http://jabber.org/features/iq-auth'/></stream:features>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">AHNlb2JvdABNZWcwazFsbGVy</auth>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\Authentication" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<?xml version="1.0" encoding="UTF-8"?> <stream:stream to="chat.example.com" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\Stream" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' from='chat.example.com' version='1.0' id='9bcqah9mss71rxkqs58tvqv3gwt5z8l0g5mk25gh' xmlns:ack='http://www.xmpp.org/extensions/xep-0198.html#ns'>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<stream:features xmlns:stream='http://etherx.jabber.org/streams'><ack:ack/><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><required/></bind><unbind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><ver xmlns='urn:xmpp:features:rosterver'/></stream:features>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<iq type="set" id="fabiang_xmpp_5564c6f9d50fc"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></iq>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Listener "Fabiang\Xmpp\EventListener\Stream\Bind" is currently blocking [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Received buffer '<iq xmlns='jabber:client' id='fabiang_xmpp_5564c6f9d50fc' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>[email protected]/0602c847d660707bc2705ed5673d57bdd1875bfd</jid></bind></iq>' from 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<presence to="[email protected]/[email protected]"><priority>1</priority></presence>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<message type="chat" id="fabiang_xmpp_5564c6f9d6074" to="[email protected]"><body>[test] admin updated the task #1 (test 16 17 18 24 26 27 29 30)</body></message>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '<message type="groupchat" id="fabiang_xmpp_5564c6f9d617d" to="[email protected]"><body>[test] admin updated the task #1 (test 16 17 18 24 26 27 29 30)</body></message>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Sending data '</stream:stream>' to 'tcp://chat.example.com:5222' [] []
[2015-05-26 19:18:17] jabberlog.DEBUG: Disconnected from 'tcp://chat.example.com:5222' [] []
This ticket is very old, but I have similar issue with Prosody 0.11.5. When trying to send a message to the group chat Prosody logs:
conf.somesite.com:muc: Attempted join without
, possibly desynced c2s10483c0: Sending[c2s]: <presence to='[email protected]/rToCPJn4' from='[email protected]/sender' type='error'> socket: server.lua: client 192.168.1.1:57232 read error: closed socket: server.lua: discarding unwritten data for 192.168.1.1:57232
Has anyone struggled with this and found a solution?