Offline messages don't seem to work

6 posts / 0 new
Last post
Anonymous
Offline messages don't seem to work

Hi guys,

when sending to an offline user I get the following error on pidgin.

XMPP Message Error
Message delivery to failed: Service not available. (Code 503)

I get a similar service not available to pep messages to offline users.

I know I enabled offline messaging because I saw offline messages added on the console log, but it doesn't seem to work.


STARTED Tigase Wed Dec 28 11:45:01 PHT 2011
...
Loading plugin: jabber:iq:auth=2 ...
Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=2 ...
Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=2 ...
Loading plugin: urn:ietf:params:xml:ns:xmpp-session=2 ...
Loading plugin: roster-presence=4 ...
Loading plugin: jabber:iq:privacy=2 ...
Loading plugin: jabber:iq:version=2 ...
Loading plugin: http://jabber.org/protocol/stats=2 ...
Loading plugin: starttls=2 ...
Loading plugin: msgoffline=2 ...
Loading plugin: vcard-temp=2 ...
Loading plugin: http://jabber.org/protocol/commands=2 ...
Loading plugin: jabber:iq:private=2 ...
Loading plugin: urn:xmpp:ping=2 ...
Loading plugin: domain-filter=0 ...
Loading plugin: disco=2 ...
Loading plugin: basic-filter=0 ...
2011-12-28 11:45:05 SessionManager.addPlugin() WARNING: No implementation found for plugin id: basic-filter
Loading plugin: pep=2 ...
Loading plugin: message-all=2 ...

notice: Loading plugin: msgoffline=2
Note: I used mysql-schema-4.sql to create my database.

Please advice,
Thanks in advance

Application: 

What version of the Tigase server do you use? Could you post example packets you exchange between the client and the server which lead to the error?

Stevenson Lee

I'm using Tigase-5.0.0-b2135.
When I send a message to an offline user I get this response. (the request is in the response)

testing
default

Service not available.

Best Regards,
Stevenson Lee

Rui

I am having the exact opposite problem, i seem to be unable to disable the msgoffline plugin...

My server version is 5.1.0-beta7-b2929.jar

@Rui
Could you list plugins that are being loaded? In the beta7 there was a switch from the regular message plugin to AMP plugin which has offline messages build in therefore if you want to disable offline messages you would have to disable AMP plugin and enable only message plugin (or use default message forwarder):

--sm-plugins=+message,-msgoffline,-amp

You can also switch it off while still keeping AMP active. Just add following line to your init.properties file:

sess-man/plugins-conf/amp/msg-offline=false