hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
870 stars 161 forks source link

Can not connect to HiveMQ WebSocket Client #634

Closed jumpingliu closed 2 months ago

jumpingliu commented 5 months ago

🐛 Bug Report

🔬 How To Reproduce

Steps to reproduce the behavior:

  1. I set up an application and add the broker address as tcp://broker.mqttdashboard.com:1883 and returns error as the connnection fails

Code sample

Environment

Where are you running/using this client?

What version of this client are you using?

JVM version?

Operating System?

Which MQTT protocol version is being used?

Which MQTT broker (name and version)?

Screenshots

📈 Expected behavior

📎 Additional context

pglombardo commented 5 months ago

Hi @jumpingliu - could you post sample code, the error and stack trace?

If you are connecting via websockets, the port you specified is incorrect:

Screenshot 2024-06-27 at 14 48 10
pglombardo commented 2 months ago

Hi @jumpingliu - since I haven't heard back I'll close out this issue but if anything remains, please let us know!