pahoMqttExt icon

pahoMqttExt

Paho MQTT Connector Extension
pahoMqttExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 11 watchers.


Internet microcuts causes a disconnection/connection loop
Oscar TrianoFri 2nd Feb

Hello,

We are using the fin framework and we have a project behind a router and this router sometimes have internet microcuts from a few seconds to several minutes. When the connection with the mqtt broker returns the connector subscribes to the topics again but after a seconds the connection is lost, the connection is complete again and then tries to subscribing the topics again until it disconnects from the broker again entering in a loop. This happens with hundreds of topics but is ok with a few topics (like 10 or 4).

Here a log sample

[2024-01-31 00:00:43] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:00:44] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:00:44] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:00:44] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:00:44] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:00:44] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:00:54] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:00:55] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:00:55] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:00:55] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:00:55] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:00:55] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:00:56] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:00:57] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:00:58] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:00:58] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:01:08] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:01:10] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:01:10] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:01:11] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:01:12] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:01:12] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:01:22] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:01:23] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:01:23] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:01:24] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:01:25] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:01:26] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:01:26] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:01:26] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:01:36] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:01:37] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:01:37] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:01:38] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:01:39] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:01:49] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:01:51] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:01:51] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:01:52] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:01:53] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:01:54] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:02:04] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  java.base/java.util.TimerThread.run(Timer.java:506)
[2024-01-31 00:02:05] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [info] Connection Complete.
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/temperatura]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/estado]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/temperatura]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-39/commands/modo]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-34/commands/modo]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-68/commands/spdepositofrio]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-55/commands/modo]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-57/commands/temperatura]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/estado]
[2024-01-31 00:02:05] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-52/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-59/commands/temperatura]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-63/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/temperatura]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-19/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-27/commands/modo]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-29/commands/temperatura]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-64/commands/modo]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-56/commands/temperatura]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-46/commands/temperatura]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-16/commands/modo]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-60/commands/estado]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-58/commands/modo]
[2024-01-31 00:02:06] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-37/commands/modo]
[2024-01-31 00:02:07] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-43/commands/modo]
[2024-01-31 00:02:07] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-32/commands/modo]
[2024-01-31 00:02:07] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-36/commands/estado]
[2024-01-31 00:02:07] <pahoMqttExt> {} [info] subscribing to topic [/PSG-1-67/commands/estado]
[2024-01-31 00:02:17] <pahoMqtt.mqttProsegur2> {connRef:@p:mqttProsegur2:r:2cbbe2d7-688e89b1 "Stemy"} [err] connectionLost. Error is Timed out waiting for a response from the server
  org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
  org.eclipse.paho.client.mqttv3.internal.ClientState.checkForActivity(ClientState.java:694)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:784)
  org.eclipse.paho.client.mqttv3.internal.ClientComms.checkForActivity(ClientComms.java:770)
  org.eclipse.paho.client.mqttv3.TimerPingSender$PingTask.run(TimerPingSender.java:77)
  java.base/java.util.TimerThread.mainLoop(Timer.java:556)

We are using these versions because they are the latest supported by the fin framework.

  • pahoMqtt (latest for FIN 5.0 and 5.1 is v1.2.1)
  • pahoMqttExt (latest for FIN 5.0 and 5.1 is v1.0.14)

https://finproducts.atlassian.net/wiki/spaces/FINFramework/pages/32892125185/MQTT+Connector#Prerequisites

Please, we would be grateful with a help if possible.


Log in or Sign up to post a reply.