AliOS-Things icon indicating copy to clipboard operation
AliOS-Things copied to clipboard

MQTT持续一段时间后,会报异常

Open edenleung opened this issue 8 years ago • 3 comments

Describe the bug 启动硬件之后,均可以发送信息到阿里的平台上,但到了3,4分钟左右就会出现以下的错误异常信息。

[err] iotx_mc_publish(1454): mqtt client state is error,state = 3
␛[1;31;40mmqtt_publish.331: IOT_MQTT_Publish failed
␛[0m[2834050]<V> error occur when publish:4294967295
[err] iotx_mc_push_pubInfo_to(524): more than 20 elements in republish list. List overflow!
[err] MQTTPublish(264): push publish into to pubInfolist failed!
[err] iotx_mc_publish(1481): MQTTPublish is error, rc = -42
␛[1;31;40mmqtt_publish.331: IOT_MQTT_Publish failed
␛[0m[3142900]<V> error occur when publish:4294967295
 inf] _ne[<3I1>4 2k9_3s0s]l<_Ir>e nSneercvteerd .c osnsnl  (r0e)c vd iesrcroonrn:e cctoedde.
-30592, err_str = ''

environment

  1. branch(version): master
  2. Desktop OS(windows linux or macOS): windows
  3. example:

Expected behavior

Screenshots

Additional context

edenleung avatar Sep 17 '18 02:09 edenleung

请描述一下 硬件 是什么?运行的什么app? AliOS Things 使用的什么版本?请给出 commit 信息。

librae8226 avatar Sep 17 '18 07:09 librae8226

硬件:AliOS Things Developer Kit app: 没有用到app, 自己写的 AliOS Things版本: master(不是最新的master2.0版本)

edenleung avatar Sep 18 '18 01:09 edenleung

可能是模组和MCU之间的AT造成的 我们目前正在做UART的优化,以期能改善这个问题

realonlyme avatar Sep 30 '18 08:09 realonlyme