Skip to content

How to use an broker SRV record to connect? #42

@shahidcodes

Description

@shahidcodes

Hi,

I am trying to connect to my broker running at _mqtt._tcp.iot.domain.com but it is failing with

(node:296427) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND _mqtt._tcp.iot.domain.com

I verified with a dig that I am able to get the SRV record.

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