WS2S component : truncated data and stream closed

Thomas Lassauniere
Added over 5 years ago


on Tigase 5.2.0 beta 3, i got a strange error with websocket component

with one user who has a lot of rosters (91), when i ask for rosters, i received truncated data and then websocket error.

Here is client communication :

answer received (13710 bytes) :

* obfuscation *** 

You can see that XML data is truncated, and then JS lib (JSJAC) got a "websocket error".

With Pidgin Client, i have no errors and get all rosters.

For server log, see attached file tigase.log.0

Best regards,

Edit : i just removed rosters informations for security reason :)

tigase.log.0 (3.71 MB) tigase.log.0 Tigase server log

Replies (1)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 5 years ago

I checked attached log and I suppose that this may be some issue with splitting and encapsulation which needs to be done for large amounts of data transferred over WebSocket. We will work on a solution for final release of 5.2.0.

For progress on this issue see