Skip to content

com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Timeout while waiting for PINGRESP #508

Open
@acaliaro

Description

@acaliaro

Expected behavior

On a Datalogic Joya Touch I change the wifi network.
When I switch from network A to B, MqttClient reconnect.
The device is online (if I open the browser I see web pages) but I have the exception

Actual behavior

com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Timeout while waiting for PINGRESP

To Reproduce

Switch from wifi A to B, the mqtt reconnect but publish message goes to timeout

Steps

Reproducer code

Details

  • Affected HiveMQ MQTT Client version(s):
  • implementation 'com.hivemq:hivemq-mqtt-client:1.2.1'
    
    implementation 'net.sourceforge.streamsupport:android-retrostreams:1.7.2'
    implementation 'net.sourceforge.streamsupport:android-retrofuture:1.7.2'
    implementation 'org.threeten:threetenbp:1.4.4'
  • Used JVM version:
  • Used OS (name and version): Android 7.1.2
  • Used MQTT version:
  • Used MQTT broker (name and version):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions