Closed agupta0105 closed 2 years ago
As it stands this is too vague to be very actionable. My suggestion would be to use wireshark or a similar tool to verify that the client/connection is actually receiving packets. Even better would be to verify/repro against a local mosquitto install where you could use a plaintext connection and see the packet internals. If you can repro under such circumstances and verify that you are receiving the packets but not getting callbacks, then please also include the trace logs and packet timings.
Describe the issue
I have been running a service which is based on this sdk. This service connects to MQTT broker using certs and AwsIotMqttConnectionBuilder to get the connection object. Lately I am observing that subscriber stops consuming messages from the broker even though there are messages getting published. It happens only when there is an inactivity time gap b/w messages.
I have checked the trace logs of sdk but could not find anything which can give details on this subscriber issue. Only way to solve this is to restart that connection/service.
Below are the details:
JDK : 1.8
Steps to Reproduce