netease-im / nim-harmony-demo

云信IMSDK,鸿蒙使用Demo
MIT License
23 stars 2 forks source link

获取聊天信息超时 #1

Closed trhyl closed 5 months ago

trhyl commented 6 months ago
    try {
      result = await this.service?.getMessageList({
        conversationId: opts.conversationId,
        beginTime: opts.beginTime,
        endTime: opts.endTime,
        limit: opts.limit,
        reverse: opts.reverse,
        direction: this._convertToRawMessageDirection(opts.direction),
        anchorMessage: this.latestMessageForAnchor,
      });
    } catch (e) {
      IMLogger.debug('[MessageService]' + `获取聊天信息失败:${JSON.stringify(e)}`);
      return rt;
    }

日志: [CoreIM][MessageService]开始请求会话列表: {"conversationId":"cjl|1|cj1"} [CoreIM][MessageService]获取聊天信息失败:{"name":"V2NIMError","code":192004,"desc":"protocol timeout","message":"protocol timeout","detail":{"ser":5,"reason":"Packet Timeout: ser 5 cmd v2GetMessageList","timetag":1710841485027,"cmd":"v2GetMessageList"}}

hongru1227 commented 6 months ago

@trhyl 这个问题,能够提供更详细的信息吗?是登陆成功后,获取消息列表失败,之前发消息可以成功吗。

trhyl commented 6 months ago

@trhyl 这个问题,能够提供更详细的信息吗?是登陆成功后,获取消息列表失败,之前发消息可以成功吗。 log.txt

操作步骤:登录成功 -> 会话列表获取成功 -> 会话内消息列表请求超时

hongru1227 commented 6 months ago

@trhyl 好的,多谢,我们会尽快修复

trhyl commented 6 months ago

@hongru1227 请问目前修复情况?目前block了进度。

hongru1227 commented 5 months ago

@trhyl qihongru@corp.netease.com 这是我工作邮箱,咱们可以邮件沟通,看如何先不阻塞你的工作

hongru1227 commented 5 months ago

最新版本已经fix