Cloudkibo / iOS

iOS Code
0 stars 0 forks source link

chat status don't change to seen when sender syncs after sometime #567

Closed Assadbintahir closed 7 years ago

Assadbintahir commented 7 years ago

This issue happens randomly. Sometime status changes to seen and sometimes it don't

Steps:

1- Turn internet on on both android and ios device. 2- send messages from ios to android. 3- don't read messages on android device. 4- turn internet off in ios device. 5- now read messages on android device. 6- turn internet on in ios device after sometime. 7- status don't change to seen from delivered.

(This issue happens randomly. Sometimes, status changes to seen)

jekram commented 7 years ago

@sumairasaeed

Since this issue is happening only on iOS this is not a server issue. Please look into this.

sumairasaeed commented 7 years ago

Worked to Debug this and it found that the status list was big so the push size exceeded limit. Here is the log which shows the long list: https://papertrailapp.com/groups/1804763/events?focus=783624603049312281&q=program%3Adefault&selected=783624603049312281 and here is the error in logs which shows that the response push was discarded : https://papertrailapp.com/groups/1804763/events?focus=783624603250638854&q=program%3Adefault&selected=783624603250638854

I have opened server side issue for solving payload size limit issue. It runs fine in normal case when status list is small. We will test it again after payload size issue is resolved https://github.com/Cloudkibo/CloudKibo/issues/506

jekram commented 7 years ago

Please see my response on Chat status don't change from sent to delivered if sender syncs after sometimes. #568

sumairasaeed commented 7 years ago

This has been fixed.

jekram commented 7 years ago

Thanks