Questions tagged [stream-management]

Stream Management (XEP-0198) allows XMP entities to actively manage a stream, including stanza acknowledgements and stream resumption.

Stream Management

Stream Management is a technique used in XMPP to actively manage a stream, including stanza acknowledgements and stream resumption. It's especially useful in mobile environments.

For more information see XEP-0198: Stream Management

18 questions
7
votes
1 answer

How to use XEP 198 (Stream Management) from smack 4.1?

I am new to XMPP. I'm using smack on android for providing chat in my application. In smack 4.1, support for stream management is added so I used XMPPTCPConnection.setUseStreamManagementDefault(true); to enable this and I'm getting : 03-27…
Laxman Marothiya
  • 283
  • 3
  • 11
3
votes
2 answers

Dead connection message and delivery receipt received delay in stream management - MongooseIM server 2.0.0

I have enable stream management in both side client or server. I have two users A and B. Both users are online.Then user A suddenly lose his connection. but A user still appear online on user B and as well as on server. During that time user B…
Sagar Jethva
  • 867
  • 11
  • 24
2
votes
1 answer

resend_on_timeout seems to be ignored by Ejabberd

I'm new to Ejabberd and I've been trying to configure it so that it is robust to connection losses following those recommendations: Dead connections, message loss, and outdated presence Stream management is activated by default (I use ejabberd…
Cyrille
  • 23
  • 3
2
votes
1 answer

Stream Management (XEP-0198) in Prosody

I am using Prosody for stream management. But I am suffering from some issues. How can I ensure that stream management is enabled on prosody ? Is there any command to test on terminal ? I also tried to add mod_smacks.lua modules in modules. but I…
user3463981
  • 29
  • 1
  • 6
2
votes
1 answer

Enable stream management xmpp connection smack 4.1

I tried enabling stream management(XEP-0198) by this piece of code XMPPTCPConnectionConfiguration connConfig = XMPPTCPConnectionConfiguration.builder().setHost(HOST) …
user5100905
2
votes
1 answer

How to enable Stream Management (XEP-198) in Smack 4.1.0-beta1?

connection.isSmEnabled() is always returning false. Below is the code config=XMPPTCPConnectionConfiguration .builder() .setHost("host") .setPort(5222) …
Vignesh
  • 215
  • 3
  • 9
2
votes
0 answers

openfire(3.9.3) messages not storing in mysql database

i m using xmpp (openfire 3.9.3 ) for real time messaging between mobile applications but m not able to get history so i installed monitoring services plugin and activated its chat and group chat archiving in settings but still m not get any message…
1
vote
1 answer

ejabberd: XML stanza not acknowledged

While resuming a stream managed session of ejabberd, I get the below logs: 2016-04-11 08:53:07.430 [info] <0.5432.11>@ejabberd_c2s:terminate:1752 Closing former stream of resumed session for 54ff31587261691606060000@108.59.83.204/sender 2016-04-11…
Neeraj Yadav
  • 147
  • 1
  • 10
1
vote
2 answers

Strange errors with stream management in ejabberd

I’m building an instant messenger app on iOS that uses ejabberd. I’m currently testing the stream management feature and in particular the resumption that seems to work in most cases. However there is a case I don’t understand, that I can replicate…
theMoonlitKnight
  • 387
  • 5
  • 15
1
vote
1 answer

XMPP MessageEventManager error while send packet?

While i am sending the packet of MessageEventManager i am geting error on return stenza MessageEventManager.addNotificationsRequests(message, true, true, false, false); connection.sendPacket(message); i have implement all the interface…
Alpan
  • 518
  • 1
  • 6
  • 20
1
vote
1 answer

XMPP XEP-0198 Stream Management: Efficient Acking Scenario issue

I found a XEP-0198 which can help us to improve messages delivery It's clear how to use Basic Acking Scenario But I have some doubts how to use properly Efficient Acking Scenario For example, user sent 5 messages and then sent r element and…
Rubycon
  • 17,497
  • 10
  • 43
  • 64
0
votes
0 answers

Reconnection Error Stream Management Smack

i discovered a really big problem (probably mine?) about the XMPP reconnection process in smack library v4.1.5 (Android) and openfire v4.0.1. I activated the stream management on the client in this…
0
votes
1 answer

Find out where Log come from in smack library?

I'm new using smack with openfire as server to make chat app. I want to make status messages like whatsapp does, if user send a message the icon status message to be sending first,next if achieve server to be single thick, and double thick if it…
ltvie
  • 831
  • 3
  • 16
  • 41
0
votes
1 answer

XMPP XEP-0198 not working in eJabberd version 2.1.10

is there any way to enable XEP-0198 or stream management in ejabberd version 2.1.10?
RamjanSayyad
  • 45
  • 10
0
votes
2 answers

What is the proper way of enabling Stream Management in smack 4.1.1

I have search every for the method used in enabling stream management in smack and nothing is working for me This function isSmAvailable() always return false, am using prosody as the XMPP server in which the smacks[mod_smacks] is installed and…
1
2