0

下面是一个数据收集演示,其中 Kaa 日志的结构由所选的 CT 模式定义。这个应用程序将记录我需要的数据的读数并将它们保存到 MongoDB 数据库中。

但是由于上传存储桶错误,我认为它失败了..它继续记录。

[100%] Built target demo_client
Data collection demo started
Sampled SignalSTR:92  NodeId:Screws  Battery:5.93  CEL:4.65  WT:3.60  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555304
Sampled SignalSTR:94  NodeId:Screws  Battery:5.74  CEL:3.20  WT:1.77  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555309
Sampled SignalSTR:97  NodeId:Screws  Battery:5.17  CEL:2.20  WT:4.40  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555309
Sampled SignalSTR:98  NodeId:Screws  Battery:5.33  CEL:1.14  WT:4.47  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555309
Sampled SignalSTR:94  NodeId:Screws  Battery:5.69  CEL:4.78  WT:2.94  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555314
Sampled SignalSTR:96  NodeId:Screws  Battery:5.86  CEL:2.20  WT:4.62  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555319
Sampled SignalSTR:96  NodeId:Screws  Battery:5.81  CEL:3.42  WT:4.55  FirmwareVersion:Linux Welham V3.4  Status:On  Timestamp:1484555324
2017/01/16 8:28:49 [ERROR] [kaa_logging.c:803] (-6) - Failed to upload log bucket, id '1' (delivery error code '1')

这是什么Failed to upload log bucket, id '1' (delivery error code '1')

4

1 回答 1

0

代码有问题吗?似乎 kaa-node 不是有问题的那个,因为如果他要安装 kaa-node ,他可能会遇到其他错误和失败,而不是日志传递错误。我认为它是你的代码

于 2017-01-17T18:25:15.373 回答