Skip to content

mosquitto stops to persisting messages when rust bridge disconnects #3083

@ck-c8y

Description

@ck-c8y

Hi,

we have the behaviour that mosquitto stops to persist messages when the connection tedge_mqtt_bridge to the cloud is interrupted: (see screenshot tedge_mqtt_bridge_disconnect):

2024-08-23T06:42:30.112741403Z ERROR tedge_mqtt_bridge::health: MQTT bridge failed to connect to cloud broker: Mqtt state: Last pingreg isn't acked

The persistence-store continues to grow, as expected, until: Time 6:48:35 AM 08/23/2024.

See screenshots persistence_store_grow_start_github and
persistence_store_grow_end_github

But then is stops to grow. Which is strange.

We use the rust bridge and thin edge 1.2

This error does not happen, when we switch to the mosquitto bridge.
Is it a bug or do we have to configure something?

When the connection is finally restored the before persisted messages are successfully transmitted. But these are the old messages, messages received after persistence_store_grow_end discarded.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtheme:bridgeBuilt-in (Rust) bridge topicstheme:mqttTheme: mqtt and mosquitto related topics

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions