AWS IoT Android application over MQTT throws MqttException (0) - java.io.IOException: Already connected

前端 未结 3 1666
野的像风
野的像风 2020-12-19 06:54

I am trying to use \'Authenticate using Cognito-Identity with Cognito user pool\' in my Android application. My Cognito user pool authentication works well, when I run that

3条回答
  •  感情败类
    2020-12-19 07:11

    When a client connected to broker it has a unique client ID. If clients tried to connect with same client id then this error occur. Use different client IDs like foo1, foo2, foo3, etc.

提交回复
热议问题