Offline messages don't seem to work

  • warning: Creating default object from empty value in /home/webapp/drupal-6.28/sites/all/modules/advanced_forum/advanced_forum.module on line 492.
  • warning: Creating default object from empty value in /home/webapp/drupal-6.28/sites/all/modules/advanced_forum/advanced_forum.module on line 492.
5 replies [Last post]
Anonymous

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

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

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 (not verified)

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

Rui (not verified)

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

wojtek's picture
Offline
Joined: 2010-11-24
Points: 1174

@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
kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.