我们尝试让我们的端点通过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
答案 0 :(得分:0)
我们发现似乎kaa_key.pub是空的。 因此,会出现此错误消息。