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
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?
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)
<body ack="1868647407" xmlns="http://jabber.org/protocol/httpbind" secure="true" xmpp:version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns:xmpp="urn:xmpp:xbosh" from="wks012">
<message type="error" to="raine@wks012/tigase-2" xmlns="jabber:client" from="steven@wks012">
<body>testing</body>
<mood>default</mood>
<active xmlns="http://jabber.org/protocol/chatstates"></active>
<error type="cancel" code="503">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Service not available.</text>
</error>
</message>
</body>Best Regards,
Stevenson Lee
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,-ampYou 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





Recent comments
5 min 1 sec ago
17 min 10 sec ago
14 hours 45 min ago
1 day 23 hours ago
1 day 23 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 1 hour ago
2 days 7 hours ago
3 days 3 hours ago