Skip to content

Problem with mqtts / TLS? #38

@arnehilmann

Description

@arnehilmann

I want to connect to a broker via TLS (port 8883) from my local machine.

The error message right after spin up is:

ERROR spin_trigger::cli: Trigger executor failed Error: failed to connect to "mqtt://xxxxxx.s1.eu.hivemq.cloud:8883" Caused by: [-1] TCP connect completion failure

Specifying mqtts as protocol yields:
ERROR spin_trigger::cli: Trigger executor failed Error: failed to connect to "mqtts://xxxxxx.s1.eu.hivemq.cloud:8883" Caused by: [-6] NULL Parameter

Did I miss something?
Any idea how to connect to a broker via mqtts?

My setup: macOS Sonoma 14.6.1, spin 2.7.0 (a111517 2024-07-30), rustc 1.80.1 (3f5fd8dd4 2024-08-06)

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