Stream Management on Tigase

Matthew M
Added about 5 years ago

Is there any switch we need to turn on the enable Stream Management? I've tried with our tigase server as well as official server, both are replying feature not implement

<enable xmlns='urn:xmpp:sm:3'/>

<enable xmlns="urn:xmpp:sm:3" type="error" to="user/">
<error type="cancel" code="501">
<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>

I wonder if could be enable so that we can make sure it's not our client or server configuration problem.

Thanks (Happy New Year!)

Replies (4)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

Which version do you use? To enable Stream Management you need to add following line to etc/ file to enable Stream Management processor in c2s component:


As for - given that Stream Management was implemented relatively recently and runs older version (latest stable/final) it's not available there yet.

Added by Matthew M about 5 years ago

Thanks, adding the line in the config file works!

However, after I enabled it, got the response from the server it's enabled, and start to send request (after a couple of messages), I never see any response in PSI xml console. I wonder if PSI xml console supports and will display incoming packets from server?



Added by Artur Hefczyc TigaseTeam about 5 years ago

Psi should print in XML console anything received from the network. I mean should but I do not know for sure. Let me ask other developer about **** responses though.

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 5 years ago

As I tested implementation of Stream Management, I used Psi for testing responses received from server and I remember that Psi had issue with displaying and stanzas. As I remember they were visible if I entered them from Psi, but they were NOT visible if they were received from server side.