Project

General

Profile

Connection under XEP-114 and XEP-225

Cyrille Voluter
Added over 3 years ago

Hello,

I'm going to try to connect Under XEP-0114 Jabber component. When i check the Stream this error has throw :

SEND     : <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" to="mydomain.com" version="1.0" >
RECEIVED : <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="mydomain.com" id="14a60757-7a82-4dfd-8cba-c9d526ffbcfd" version="1.0" xml:lang="en" >
SEND     : <handshake xmlns="jabber:component:accept">9150db63e9c02e4534179cc8144e496aa4acceb4</handshake>
RECEIVED : <stream:features xmlns:stream="http://etherx.jabber.org/streams">
  <ver xmlns="urn:xmpp:features:rosterver" />
  <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
    <mechanism>PLAIN</mechanism>
    <mechanism>ANONYMOUS</mechanism>
  </mechanisms>
  <register xmlns="http://jabber.org/features/iq-register" />
  <compression xmlns="http://jabber.org/features/compress">
    <method>zlib</method>
  </compression>
</stream:features>
RECEIVED : <handshake xmlns="jabber:component:accept" type="error">
  <error code="501" type="cancel">
    <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
    <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Feature not supported yet.</text>
  </error>
</handshake>

Does Tigase support XEP-0114 ? If true, what kind of connection has been supported ?

Thnks,


Replies (2)

Added by Cyrille Voluter over 3 years ago

Hello,

I managed component connection for XEP-114 by adding endpoint allowed to:

--comp-name-1 = ext

--comp-class-1 = tigase.server.ext.ComponentProtocol

--external : componentdomain:password:listen:5270

I try now to connect my component under XEP-225.

Can i use same endpoint with same configuration to connect with XEP-225 ?

Thks,

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 3 years ago

Yes, you can. Your first attempt was to connect to client's connection, hence it was unsuccessful, because the server rejected the connection. If you configure external component on the server you ca connect to it either using XEP-0114 or XEP-0225. On the server it recognizes it automatically.

    (1-2/2)