gateway icon indicating copy to clipboard operation
gateway copied to clipboard

[BUG] Dbus Event handler keeps publishing data even on unsuccessful connections

Open PFigs opened this issue 5 years ago • 0 comments

Describe the bug The transport service keeps receiving DBUS packets and calling received_data even when a MQTT connection is not established correctly.

I've observed that sometimes the transport service exits cleanly as expected.

To Reproduce Steps to reproduce the behavior:

  1. Configure incorrect user/pwd credentials
  2. Start the gateway services

Expected behavior The transport service should exit

Platform details:

  • OS: Ubuntu 19.04
  • Gateway host: x86_64 desktop
  • Python version: 3.6
  • Docker engine: 18.06.1-ce
  • MQTT Broker vendor: mosquitto
  • MQTT Broker version: 1.6

PFigs avatar Sep 02 '19 08:09 PFigs