Subscription Exception after being connected #3030
Labels
bug
Something isn't working
closing soon
Issue will auto-close if there is no additional activity within 7 days.
iot
Issues with the AWS Android SDK for Internet of Things (IoT)
pending-community-response
Issue is pending response from the issue requestor
Describe the bug
A clear and concise description of what the bug is.
We are noticing a lot of this exception from the logs gathered from customer
We are using custom authorization to conect to MQTT
com.amazonaws.AmazonClientException: Client error when subscribing.
Caused by: Client is not connected (32104)
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(SourceFile:31)
at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(SourceFile:205)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribeBase(SourceFile:1088)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(SourceFile:1061)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.subscribe(SourceFile:1027)
at com.amazonaws.mobileconnectors.iot.AWSIotMqttManager.subscribeToTopic(SourceFile:1495)
... 15 more
To Reproduce
A code sample or steps:
We don't a way to reproduce this issue
But this happens after we received Connected
Logs flow of events:
Connecting
Connected
Subscription Exception
EOFException
Reconnecting
Connected
Subscription Exception
java.io.EOFException
....
Environment Information (please complete the following information):
The text was updated successfully, but these errors were encountered: