gpt4 book ai didi

c - 通过 C SDK 连接到 Kaa 服务器时收到 "Failed to get required buffer size"错误消息

转载 作者:行者123 更新时间:2023-11-30 16:54:33 24 4
gpt4 key购买 nike

我们尝试让我们的端点通过C SDK连接到Kaa服务器。但是,我们收到如下错误消息。看来缓冲区大小不够?!我们的情况是否需要重置缓冲区大小?此消息以前没有出现过。但是,它似乎是在我们设置了 3 个 Kaa 节点后出现的。

2016/11/09 18:38:38 [INFO] [kaa.c:120] (0) - Kaa SDK version 0.9.0, commit hash 
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:474] (0) - Log collector init completed
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:153] (0) - Kaa client created
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:298] (0) - Starting Kaa client...
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:334] (0) - Channel [0x00000000] Operations error, reinitializing to Bootstrap ...
2016/11/09 18:38:38 [INFO] [kaa_channel_manager.c:215] (0) - Bootstrap transport channel [0x22B2D02C] added (protocol: id=0x56C8FF92, version=1)
2016/11/09 18:38:38 [INFO] [kaa_platform_protocol.c:252] (0) - Client sync serialized: request id '1', payload size '112'
2016/11/09 18:38:38 [INFO] [kaa_platform_protocol.c:265] (0) - Server sync received: payload size '1076'
2016/11/09 18:38:38 [INFO] [kaa_bootstrap_manager.c:428] (0) - Received bootstrap server sync: options 0, payload size 1044
2016/11/09 18:38:38 [INFO] [kaa_bootstrap_manager.c:444] (0) - Received 3 access points (request_id 1)
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:253] (0) - Channel [0x22B2D02C] connection terminated
2016/11/09 18:38:38 [INFO] [kaa_channel_manager.c:298] (0) - Transport channel [0x22B2D02C] was removed
2016/11/09 18:38:38 [INFO] [posix_kaa_client.c:324] (0) - Channel [0x00000000] Boostrap complete, reinitializing to Operations ...
2016/11/09 18:38:38 [INFO] [kaa_channel_manager.c:215] (0) - Operations transport channel [0xFB3AC3B9] added (protocol: id=0x56C8FF92, version=1)
2016/11/09 18:38:38 [ERROR] [kaa_platform_protocol.c:156] (-2) - Failed to query extension size for 2
2016/11/09 18:38:38 [ERROR] [kaa_platform_protocol.c:231] (-2) - Failed to get required buffer size
2016/11/09 18:38:38 [ERROR] [kaa_tcp_channel.c:1132] (-2) - Kaa TCP channel [0x1DAA5DC5] failed to serialize supported services
2016/11/09 18:38:38 [ERROR] [posix_kaa_client.c:242] (-2) - Failed to process OUT event for the client socket 4

最佳答案

我们发现 kaa_key.pub 似乎是空的。所以,出现了这个错误信息。

关于c - 通过 C SDK 连接到 Kaa 服务器时收到 "Failed to get required buffer size"错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40520624/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com