inbound.MqttPahoMessageDrivenChannelAdapter: 81 - Exception while unsubscribing and disconnecting Client is not connected (32104)

Spring JIRA | Gary Russell | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. inbound.MqttPahoMessageDrivenChannelAdapter

    81 - Exception while unsubscribing and disconnecting Client is not connected (32104)

    at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException()
  2. org.eclipse.paho
    MqttClient.unsubscribe
    1. org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:27)
    2. org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:131)
    3. org.eclipse.paho.client.mqttv3.MqttAsyncClient.unsubscribe(MqttAsyncClient.java:628)
    4. org.eclipse.paho.client.mqttv3.MqttClient.unsubscribe(MqttClient.java:253)
    4 frames
  3. org.springframework.integration
    MqttPahoMessageDrivenChannelAdapter.doStop
    1. org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter.doStop(MqttPahoMessageDrivenChannelAdapter.java:74)
    1 frame