Stream Error:Client acknowledged more stanzas than sent by server (#546)
Unknown opened 3 years ago

When Siskin messenger in background mode and then go to foreground some time occurs stream error "Client acknowledged more stanzas than sent by server" in XmppClient connection. Client try connect, but server force disconnect client - and this case connect-disconnect in loop. This problem is like in (https://github.com/ChatSecure/ChatSecure-iOS/issues/979). For example xmpp client says it handled 7 new stanzas, but server sent only 6. If i force reconnect in function changedState in file XmppService.swift in 760 line so:

case .streamError(let elem): print( "stream error in connection with server:(elem)") reconnect(client: client)

, but not help. How can i fix this problem?

Unknown commented 3 years ago

The issue which you mentioned is related to the library not being used by SiskinIM. I've reviewed our counting logic and in our case counters (and incoming stanzas) are processed in a single thread queue, which means that an error similar to the one mentioned is not possible.

This code is rather old now and we haven't seen any issues with it. For further issues please fill out our templates to give us the necessary information to help you.

issue 1 of 1
Type
Question
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/siskin-im#546
Please wait...
Page is in error, reload to recover