kader990 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Sends message after a rejoin Group Chat Store & Forward #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:

1. make a group chat between A and B
2. disconnect a by turning off and on the wifi
3. A is rejoining the conference
5. B send a isComposing notification "msrp1"
4. B send a message (msrp2)
5. B send a isComposing notification "msrp3"

A doesn't respond to message "msrp2" and iscomposing "msrp3" (no 200ok on msrp 
send on packet 2747 & 3224).
On reception of iscomposing "msrp3" device logs show log that show chunk size 
that corresponds to the message "msrp2" size !!!

2.292: V/[RCS][ChunkReceiver](3750): Read a new chunk
12-02 11:26:42.292: V/[RCS][ChunkReceiver](3750): Transaction-ID: 
ornA2RRU5083j.3g2
12-02 11:26:42.296: V/[RCS][ChunkReceiver](3750): Method: SEND
12-02 11:26:42.304: V/[RCS][ChunkReceiver](3750): Header: To-Path
12-02 11:26:42.308: V/[RCS][ChunkReceiver](3750): Header: From-Path
12-02 11:26:42.312: V/[RCS][ChunkReceiver](3750): Header: Failure-Report
12-02 11:26:42.312: V/[RCS][ChunkReceiver](3750): Header: Success-Report
12-02 11:26:42.316: V/[RCS][ChunkReceiver](3750): Header: Byte-Range
12-02 11:26:42.319: V/[RCS][ChunkReceiver](3750): Header: Message-ID
12-02 11:26:42.323: V/[RCS][ChunkReceiver](3750): Header: Content-Type
12-02 11:26:42.327: V/[RCS][ChunkReceiver](3750): Read data (308)

The A device raises a message "Chat Session has failed".(no bye no disconnect 
sent by the application)

RCS RI 2.5.12

Original issue reported on code.google.com by rcs.capg...@gmail.com on 2 Dec 2013 at 11:01

Attachments:

GoogleCodeExporter commented 9 years ago
note: A can sends message to B, but does not received any delivered 
notification. 

Original comment by rcs.capg...@gmail.com on 2 Dec 2013 at 11:03

GoogleCodeExporter commented 9 years ago
Please change the priority to High

Original comment by rcs.capg...@gmail.com on 2 Dec 2013 at 11:17

GoogleCodeExporter commented 9 years ago
The message shown is not the "mrsp3" but well the message "msrp2" - See Id: 
ornA2RRU5083j.3g2
Just after in this log, we can see an exception on the ChunkReceiver. It fails 
to read the last part of the MSRP chunk, normally:
-------ornA2RRU5083j.3g2$\r\n
and show a log "Continuous flag: $"

I think the data size is not good on the received MSRP message "mrsp2".

Original comment by benoit.j...@gmail.com on 2 Dec 2013 at 2:44

GoogleCodeExporter commented 9 years ago
It was a defect from the switch MSRP.
You can cancel the defect.
Sorry for the inconvenience.

Original comment by bruno.h...@gmail.com on 3 Dec 2013 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by benoit.j...@gmail.com on 3 Dec 2013 at 8:55