Skip to content

Azure with MQTT1 failover #4

@Harvie

Description

@Harvie

Hello, i've tried to setup azure mqtt with failover to secondary server (mqtt1) and it never switches from mqtt0.

I have working azure setup and i've as well added mqtt failover server like this:

  - ["mqtt1.enable", true]
  - ["mqtt1.server", "server.example.com"]

Then i've deliberately configured azure module to use wrong server hostname, which leads to MQTT0 tcp connect error (-14) every time. But MQTT1 is never even tried.

Use case is to failover to secondary azure server or self-hosted solution (like mosquitto) in case primary azure connection fails for some reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions