Closed Ran-Xing closed 1 year ago
日志不好取,一取一大堆,目前是 Docker 0.68 正常运行
Can you provide more context info?
我今天也遇到这个问题了,同 Docker 0.78,在 使用 msgId, err := msg.Say("ok")
时,会出现rpc error: code = Internal desc = neither toId nor roomId
,而直接 msg.Say("ok")
不去获取msgId时就不会出现这个错误信息。
@whale1st good 兄弟,欢迎常来play
今天遇见一个bug,挺奇怪的
rpc error
rpc error: code = Internal desc = neither toId nor roomId
message.ID()
onMessage 时间中,我使用 message.ID() 作为 key ,value 为 false 然后 fatal 了,试过 map.synp 线程锁,失败 后来 使用 message.From().ID() 成功避免这个问题
总结:
Docker 0.68 无以上问题 Docker 0.78 有这两个问题