XmppComponent #209
Replies: 3 comments 2 replies
-
You should pass component JID to XmppComponent constructor, "componentname.domain" is the component JID and component will send it correctly |
Beta Was this translation helpful? Give feedback.
-
Thanks for the advice. If the JID is created as
If I modify XmppTcpConnection to use the first style in the 'to' field, then it is OK and the server returns the completed handshake. (For info, this is with Tigase) Or is there another JID class for components only that I missed? |
Beta Was this translation helpful? Give feedback.
-
Well, in that jid the domain contains componentname, too I also had to make another couple of changes - after the handshake is completed, that is all the authentication that is done (no sasl features are advertised, nor currently supported, https://xmpp.org/extensions/xep-0114.html#proto ). |
Beta Was this translation helpful? Give feedback.
-
Hello,
For XmppComponent, the spec requires that the To field be the component name.
( to="componentname.domain" )
Could XmppTcpConnection be modified to use this format when connecting with the 'jabber:component:accept' namespace?
Beta Was this translation helpful? Give feedback.
All reactions