Skip to content

MQTT is not working via IPv6 #145

@pavel-odintsov

Description

@pavel-odintsov

Hey!

I've tried using following setting:

type = "mqtt-out"
sources = ["bmp-in", "rib"]
destination = "[::1]"

And I also tried another option:

[targets.mqtt]
type = "mqtt-out"
sources = ["bmp-in", "rib"]
destination = "::1"

In both cases it failed with following reasons:

Jan 09 18:58:26 xxx.fastnetmon.com systemd[1]: Started rotonda.service - Rotonda.
Jan 09 18:58:26 xxx.fastnetmon.com rotonda[51454]: /etc/rotonda/rotonda.conf: TOML parse error at line 6, column 1
Jan 09 18:58:26 xxx.fastnetmon.com rotonda[51454]:   |
Jan 09 18:58:26 xxx.fastnetmon.com rotonda[51454]: 6 | [targets.mqtt]
Jan 09 18:58:26 xxx.fastnetmon.com rotonda[51454]:   | ^^^^^^^^^^^^^^
Jan 09 18:58:26 xxx.fastnetmon.com rotonda[51454]: invalid digit found in string
Jan 09 18:58:26 xxx.fastnetmon.com systemd[1]: rotonda.service: Main process exited, code=exited, status=1/FAILURE
Jan 09 18:58:26 xxx.fastnetmon.com systemd[1]: rotonda.service: Failed with result 'exit-code'.

With IPv4 specified this way it worked just fine:

[targets.mqtt]
type = "mqtt-out"
sources = ["bmp-in", "rib"]
destination = "127.0.0.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions