Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shahidcodes opened this issue Sep 14, 2021 · 1 comment
Open

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

shahidcodes opened this issue Sep 14, 2021 · 1 comment

Comments

@shahidcodes
Copy link

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.

@RangerMauve
Copy link
Contributor

Would you mind checking whether this is an issue with the underlying MQTT.js library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants