某些账号能发出消息,但是收不到消息
从几天前遇到一个问题, 就是某些账号能发出消息,但是收不到消息。
首先:
1、收发方登录账号没有问题。
2、发送方发送消息的对象没有问题。
3、接收方没有调用- (void)didReceiveMessages:(NSArray *)aMessages; 代理方法
4、接受方收到消息时打印
[2016/8/22 11:0:7:249]: log: level: 1, area: 1, RECV:
{ verison : MSYNC_V1, command : NOTICE, payload : { queue : 677e856b616b50a11631556403102ec2/mobile } }
[2016/8/22 11:0:7:254]: log: level: 1, area: 1, SEND:
{ verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, payload : { queue : 677e856b616b50a11631556403102ec2/mobile } }
[2016/8/22 11:0:7:355]: log: level: 1, area: 1, RECV:
{ verison : MSYNC_V1, command : SYNC, payload : { status : { error_code : 0 }, queue : 677e856b616b50a11631556403102ec2, is_last : true, timestamp : 1471834807293 } }
[2016/8/22 11:0:7:361]: log: level: 1, area: 1, ChatClient::handleSync begin
[2016/8/22 11:0:7:363]: log: level: 1, area: 1, ChatClient::handleSync complete
首先:
1、收发方登录账号没有问题。
2、发送方发送消息的对象没有问题。
3、接收方没有调用- (void)didReceiveMessages:(NSArray *)aMessages; 代理方法
4、接受方收到消息时打印
[2016/8/22 11:0:7:249]: log: level: 1, area: 1, RECV:
{ verison : MSYNC_V1, command : NOTICE, payload : { queue : 677e856b616b50a11631556403102ec2/mobile } }
[2016/8/22 11:0:7:254]: log: level: 1, area: 1, SEND:
{ verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, payload : { queue : 677e856b616b50a11631556403102ec2/mobile } }
[2016/8/22 11:0:7:355]: log: level: 1, area: 1, RECV:
{ verison : MSYNC_V1, command : SYNC, payload : { status : { error_code : 0 }, queue : 677e856b616b50a11631556403102ec2, is_last : true, timestamp : 1471834807293 } }
[2016/8/22 11:0:7:361]: log: level: 1, area: 1, ChatClient::handleSync begin
[2016/8/22 11:0:7:363]: log: level: 1, area: 1, ChatClient::handleSync complete
没有找到相关结果
已邀请:
1 个回复
[已注销]