2017-02-01 6 views
0

最初のkaaサーバアプリケーションを使用して、外部からKaaサーバにデータを送信するときに、このエラーが発生します:CONNACKメッセージ+ KAASYNCメッセージ。私のKAAサーバにデータを送信するときにエラーが発生する

KAAサーバのための私の設定は次のとおりです。KAAサーバー上の

transport host...=localhost=My PUBLIC ip 

マイ設定モンゴは次のとおりです。

host: MY PUBLIC IP port: 27017 
+0

どのようなエラーが表示されますか?それを再現する方法は?あなたの質問から本当に不明です。 –

+0

[pool-2-thread-1]エラーorg.kaaproject.kaa.client.channel.impl.channels.DefaultBootstrapChannel - 操作サーバーlist {} –

+0

の受信に失敗しました。このエラーもあります:[Thread-2] INFO org.kaaproject .kaa.client.channel.impl.channels.DefaultOperationTcpChannel - 同期できません。チャンネル[default_operation_tcp_channel]がCONNACKメッセージ+ KAASYNCメッセージを待っています –

答えて

0

これは私が

[pool-2-thread-1] INFO org.kaaproject.kaa.client.channel.failover.DefaultFailoverManager - Server [BOOTSTRAP, -1835393002] failed 
[pool-2-thread-1] WARN org.kaaproject.kaa.client.channel.impl.DefaultChannelManager - Attempt to connect to the next bootstrap service will be made in 2000 ms, according to failover strategy decision 
[pool-1-thread-1] INFO FirstKaaDemo - Sampled Temperature: 34 
[pool-4-thread-14] INFO org.kaaproject.kaa.client.logging.strategies.RecordCountLogUploadStrategy - Need to upload logs - current count: 14, threshold: 1 
[Thread-2] INFO org.kaaproject.kaa.client.channel.impl.channels.DefaultOperationTcpChannel - Can't sync. Channel [default_operation_tcp_channel] is waiting for CONNACK message + KAASYNC message 
[pool-6-thread-1] INFO org.kaaproject.kaa.client.channel.impl.channels.AbstractHttpChannel - Processing sync all for channel default_bootstrap_channel 
[pool-1-thread-1] INFO FirstKaaDemo - Sampled Temperature: 25 
[pool-4-thread-15] INFO org.kaaproject.kaa.client.logging.strategies.RecordCountLogUploadStrategy - Need to upload logs - current count: 15, threshold: 1 
[Thread-2] INFO org.kaaproject.kaa.client.channel.impl.channels.DefaultOperationTcpChannel - Can't sync. Channel [default_operation_tcp_channel] is waiting for CONNACK message + KAASYNC message 
0

MY SDKをコンパイルするとき、私は得るものですステップ1:Kaaホスト/ IPを変更する

change kaa host

VMのIPアドレス。私の場合は192.168.1.142

enter image description here

ステップ2:SDKとrecompideを再生成して実行します。完了

enter image description here

関連する問題