Project

General

Profile

feature-not-implemented

Anusha Anusha
Added over 2 years ago

While trying out client to test presence, I noticed client is sending feature-not-implemented after receiving a presence. What could be the reason for this error.

SENDING: chatonline

RECEIVED :

SENDING:


Replies (4)

Added by Daniel Wisnewski TigaseTeam over 2 years ago

Hello Anusha, can you share some more details?

What version of Tigase are you running?

Which clients are you using?

Can you send the full XML output?

Added by Anusha Anusha over 2 years ago

I am using openfire server and Jaxmpp client.

Full xml Output:

INFO: Using WebSocketConnector

Mar 18, 2016 1:58:21 PM tigase.jaxmpp.j2se.connectors.websocket.WebSocketConnector start

INFO: Opening connection to host:7001

RECEIVED: PLAIN

SENDING: AGlkYzExAGlkYzEx

RECEIVED:

RECEIVED:

SENDING: lap

RECEIVED:

RECEIVED: abc@x.com/lap

SENDING:

RECEIVED:

SENDING:

RECEIVED:

SENDING:

RECEIVED:

SENDING:

RECEIVED: Buddies

RECEIVED: SENDING:

SENDING:

RECEIVED:

SENDING:

RECEIVED:

SENDING:

Added by Andrzej Wójcik TigaseTeam over 2 years ago

Which version of Jaxmpp client library are you using?

If one of the newest, then feature-not-implemented will be sent by Jaxmpp library if PresenceModule is not registered (which is by default). We changed this behavior when we created new modularized version of Jaxmpp which by default registers only essential modules.

There is tigase.jaxmpp.j2se.Presence class with static method initialize(Jaxmpp jaxmpp) which can be used to register PresenceModule and initialize this module.

Added by Anusha Anusha over 2 years ago

Registering PresenceModule solved the issue Andrzej,thanks a lot

    (1-4/4)