[
https://issues.apache.org/jira/browse/VYSPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057053#comment-13057053
]
Bernd Fondermann commented on VYSPER-286:
-----------------------------------------
This is a tricky subject.
At first, as soon as Vysper recognizes it has lost a client connection it will
make sure that a presence unavailable on behalf of the client is sent.
But detecting this can be tricky. Say you have a working TCP/IP socket. Now
both sides stop sending anything over the socket. Unplug network cable, wait, -
without trying to send anything -, then plug it back in: there's a good chance
your socket still works.
Sending "Direct Presence" to a contact might not help either, because the
server is allowed to cache presence and answers on behalf of the contact.
If you send a message to the disconnected contact this should trigger the
server to notice if the contact is still there. You should receive a presence
unavailable as a result of trying to contact the contact. (But note that if the
same contact has multiple sessions open, this might not be true.)
Please, can you check that you receive a presence unavailable at some point
before or after sending the message to your contact?
Thanks,
Bernd
> Message cannot send message to offline receiver is not sent back to client
> --------------------------------------------------------------------------
>
> Key: VYSPER-286
> URL: https://issues.apache.org/jira/browse/VYSPER-286
> Project: VYSPER
> Issue Type: Bug
> Components: core protocol
> Affects Versions: 0.7
> Environment: windows 7
> Reporter: Aruna polepally
>
> Using a smack Api as client i am trying to send message from Client A to
> Client B
> (offline).I can see the error message in the server console as follows :
> org.apache.vysper.xmpp.delivery.inbound.DeliveringInternalInboundStanzaRelay
> WARN cannot relay to offline receiver b@localhost stanza message.body.Hello.I
> could not see any error message sending back to client A so that the message
> can be captured.
> Is ther
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira