MQTT Debugging Guide: From Connecting to Troubleshooting
This page ties the MQTT content together by task. If you are new, start with Quick start; if you can already connect but messages or certificates are giving you trouble, go straight to troubleshooting and TLS; if you are choosing a tool, see the comparison overview.
Quick start
- Download and install NetAssistant, available for Windows, macOS and Linux
- Follow the MQTT tutorial to create a connection, subscribe and publish your first message
- If you cannot connect or receive messages, check MQTT troubleshooting
- For encrypted connections, choose a certificate verification mode in MQTT TLS configuration
Find a page by task
| What you want to do | Go to |
|---|---|
| Understand what the client supports | MQTT client |
| Connect to a broker, subscribe and publish for the first time | MQTT tutorial |
| Configure TLS, self-signed certificates, mutual authentication | MQTT TLS |
| Use session expiry, receive maximum and reason codes | MQTT 5.0 |
| Verify QoS, retain, last will, wildcards | MQTT testing scenarios |
| Connection refused, subscription failed, no messages arriving | MQTT troubleshooting |
| Install on Windows / macOS / Linux | Windows, macOS, Linux |
| Compare with MQTTX, Explorer, MQTT.fx | MQTT client comparison |
| Quickly check ports, Client ID, QoS and similar questions | MQTT FAQ |
Capabilities at a glance
- Protocol versions: MQTT 3.1.1 and 5.0, switchable in the same connection config
- Transport: direct TCP; TLS supports system roots, a custom CA, skipped verification and mutual TLS
- Send and receive: QoS 0/1/2, retain, last-will messages, wildcard subscriptions, per-subscription switches
- 5.0: Clean Start, session expiry, receive maximum, connect/subscribe/publish reason codes
- Debugging: message search, favorites, TXT / JSON / CSV export, auto-reply, periodic send
- Boundaries: no MQTT over WebSocket, no scripting, no shared subscriptions, no MQTT stress testing
For the full settings, see MQTT client.
Platform installation
| Platform | Installation method |
|---|---|
| Windows | winget, installer or portable zip, see Windows version |
| macOS | Universal DMG or zip, see macOS version |
| Linux | deb, AppImage, tar.gz, see Linux version |
Choosing and comparing
- MQTT client comparison overview: MQTTX vs MQTT Explorer vs MQTT.fx and NetAssistant, and where each one fits
- MQTTX comparison: the differences in WebSocket, scripting and full 5.0
- MQTT Explorer comparison: topic tree or message stream
- MQTT.fx comparison: commercial licensing or free and open source
Suggested reading order
- New users: tutorial → client → troubleshooting
- Platform/backend: 5.0 → testing scenarios → troubleshooting
- Field/hardware: Windows or Linux install page → tutorial → TLS
- Choosing a tool: comparison overview → the matching competitor comparison → client
