5.0.0-b2135: msgoffline not working

18 posts / 0 new
Last post
Anonymous
5.0.0-b2135: msgoffline not working

msgoffline isn't working on a clean install of Tigase server. Sending messages(with subject and body) to an offline user with a Psi client results in a service unavailable message:
----------------------
Service unavailable.
The server or recipient does not currently provide the requested service.
Service not available.
----------------------

Here's my sm config:
--sm-plugins = +jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+roster-presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,-vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,-pep,-zlib

What do I need to do to get msgoffline to work? thanks

Application: 
Tags: 

Please try the Tigase server 5.0.1 update. It may solve your problem.

William

I'm having the same problem with Tigase 5.0.4. The server is responding msgoffline as a feature when connecting, but when sending a message to an offline recipient I receive service-unavailable back.

Yar

it doesnt work and for me too.

i've tryed tigase versions: 5.0.0, 5.1.0 build 20 and the latest one from 26 of jan.

here is init.properties:
--user-db = mysql
--admins = admin@jabber.jabber.tigasetest.com
--user-db-uri = jdbc:mysql://localhost:3306/tigase_db?user=tigaseuser&password=tigasepass
config-type = --gen-config-all
--virt-hosts = jabber.tigasetest.com
--debug = server
--sm-plugins=+msgoffline

when i send message to offline user i see:

test message

­

test message

Service not available.

­but the same configuration works great on another server
and java the same - 1.6.0_22

what i shall check?

I will look at it, maybe even today and will let you know whether I can reproduce the problem or not.
There is one thing I don't understand though. By saying that the same configuration works great on another server what you mean? What is the another server? Different Tigase version?

And to include some XML markups you can use 'code' tag...

Yar

thanks for reminding ^)

and yes.
the identical tigase server with identical init.properties file works fine on other one server.
and i cant find where is my mistake...

i double checked all configs
if you need, i can post some config files and log files.

The only thing which comes to my mind, which could explain this is different network configuration. Please check and make sure that the machine hostname is set correctly and resolves to an IP address.
If this part is not right, it may cause lots sorts of problems.

Yar

IPs and hostname correct... (

ok.

here is my log file:

11-02-09 10:52:17 MessageRouter.processPacket() FINEST: Packet will be processed by: sess-man@domu-12-31-38-00-ce-11.compute-1.internal
2011-02-09 10:52:17 SessionManager.processPacket() FINEST: Received packet: from=tester@jabber.exampledom.com, to=sess-man@domu-12-31-38-00-ce-11.compute-1.internal, data=CData size: 20CData size: 22, XMLNS=null, priority=NORMAL
2011-02-09 10:52:17 SessionManager.getXMPPResourceConnection() FINEST: Searching for resource connection for: mrpsycho@jabber.exampledom.com/QIP
2011-02-09 10:52:17 SessionManager.getResourceConnection() FINEST: Session not null, getting resource for jid: mrpsycho@jabber.exampledom.com/QIP
2011-02-09 10:52:17 SessionManager.processPacket() FINEST: processing packet: from=tester@jabber.exampledom.com, to=sess-man@domu-12-31-38-00-ce-11.compute-1.internal, data=CData size: 20CData size: 22, XMLNS=null, priority=NORMAL, connection: user_jid=mrpsycho@jabber.exampledom.com/QIP, conn
ectioId=c2s@domu-12-31-38-00-ce-11.compute-1.internal/10.252.209.219_5222_81.95.28.126_54372
2011-02-09 10:52:17 PacketFilter.process() FINEST: Processing packet: from=tester@jabber.exampledom.com, to=sess-man@domu-12-31-38-00-ce-11.compute-1.internal, data=CData size: 20CData size: 22, XMLNS=null, priority=NORMAL
2011-02-09 10:52:17 PacketFilter.process() FINEST: Yes, this is packet to 'this' client: mrpsycho@jabber.exampledom.com/QIP
2011-02-09 10:52:17 SessionManager.processPacket() FINEST: Packet processed by: [filter-process]
2011-02-09 10:52:17 MessageRouter.processPacket() FINEST: Processing packet: from=sess-man@domu-12-31-38-00-ce-11.compute-1.internal, to=c2s@domu-12-31-38-00-ce-11.compute-1.internal/10.252.209.219_52
22_81.95.28.126_54372, data=CData size: 20CData size: 22, XMLNS=null, priority=NORMAL
2011-02-09 10:52:17 MessageRouter.processPacket() FINEST: Packet will be processed by: c2s@domu-12-31-38-00-ce-11.compute-1.internal
2011-02-09 10:52:17 ClientConnectionManager.processPacket() FINER: Processing packet: message, type: error
2011-02-09 10:52:17 ClientConnectionManager.processPacket() FINEST: Processing packet: from=sess-man@domu-12-31-38-00-ce-11.compute-1.internal, to=c2s@domu-12-31-38-00-ce-11.compute-1.internal/10.252.209.219
_5222_81.95.28.126_54372, data=CData size: 20<
service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>CData size: 22, XMLNS=null, priority=NORMAL
2011-02-09 10:52:17 ConnectionManager.writePacketToSocket() FINEST: 10.252.209.219_5222_81.95.28.126_54372, type: accept, Socket: Socket[addr=/81.95.28.126,port=54372,localport=5222], Writing packet to: c2s@
domu-12-31-38-00-ce-11.compute-1.internal/10.252.209.219_5222_81.95.28.126_54372

I can see the error packet but, unfortunately, I cannot see how it was generated. This log snipped is too little to find out why this is happening.
My suggestion is to find what is different on these two installations, that one is working correctly and the other is malfunction with offline messages.

Yar

I've just reinstalled tigase from scratch.
my init.properties: http://paste.org.ru/?1j4m3v
and tigase.cong: http://paste.org.ru/?u4n0zy

and now what i see:
console.log: http://paste.org.ru/?m8sa93
and second log: http://paste.org.ru/?fiqyvl

It works fine when users both online.
but, when someone goes offline - error 503 Service unavailable.
where should i look?

Yar

Artur, i found difference.

offline messages works fine on x32, but doesn't working on x64...

This is really strange. I find it hard to believe that this is the source of the problem. There is a public Tigase installation running at the address: http://www.tigase.im, and it runs on x64 with offline messages turned on. Offline messages are being handled correctly in there.

Yar

damn...
i dont know where to look at (((

hito

Hello,

I'm just setting up a new tigase installation on a x64 machine, and I'm having the same problem: server informs that it support "msgoffline" feature, but it doesn't work (error 503). I'm using v5.0.0 b2135.

As noted elsewhere, please try the latest update 5.0.4, it seems to fixed the problem for other users.

Martin

Hi,

"As noted elsewhere, please try the latest update 5.0.4, it seems to fixed the problem for other users.".

Is there a binary for this? The source code works fine but I need a binary that is publically available. Is the the 5.0.4 fix in the 5.1 beta relases? I have a feeling it stopped working when I tested 5.1.

-martin

Martin

I found the maven repository.
Thanks.

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