添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
I am new at MQTT and HiveMQ.
Currently, I want to get familiar with this technology. First steps with NodeJS and the public broker was straight forward. I also was able to use Postman to publish/subscribe messages. The HiveMQ blog posts helped a lot.

But then I want to use the free cluster. Adapting the NodeJS example was a trial and error mission but at the end it worked. Suggestion for improvement: /blog/ultimate-guide-on-how-to-use-mqtt-with-node-js/ should also mention how to use the cluster. After searching web and trying, I found out that I have to use tls:// instead of mqtt://

But now I am coming to my issue.
I am not able to use Postman to communicate with the HiveMQ free cluster.
What I did in Postman:
Using mqtts://:.s1.eu.hivemq.cloud:8883 for connecting to
Set basic authentication with the same credentials as for my working NodeJS example
Enabled “Enable server certificate verification”
When I hit connect I am getting following:
Couldn’t connect to broker
0x87 - Not authorized
In detail
CONNACK
cmd: “connack”
length: 67
sessionPresent: false
reasonCode: 135
properties
reasonString: “Please check the URL and if your MQTT client supports TLS SNI”

I searched for this topic also and found: