CloudSignal Docs
GuidesConnecting

Troubleshooting connections

Common connection issues and how to resolve them.

Common issues

Connection refused

CauseSolution
Wrong endpointUse mqtts://mqtt.cloudsignal.app:8883 (native clients) or wss://connect.cloudsignal.app:18885/ (browser clients)
Wrong broker URLUse mqtt.cloudsignal.app
Invalid credentialsCheck username format is username@org_short_id
Protocol version blockedCheck Settings → MQTT for allowed protocol versions

Authentication failed

Check the Logs → Errors tab in your dashboard to see the specific failure reason.

ErrorWhat to check
Invalid credentialsVerify the password matches what was set in the dashboard
Username formatUsername must include the @org_short_id suffix
Protocol version not allowedYour organization has restricted certain MQTT versions in Settings → MQTT

Connection drops

CauseFix
Clean sessionIf clean_session=true, the broker won't keep session state between reconnects
Keep-alive timeoutSet a keep-alive interval (recommended: 60 seconds)
Network issuesCheck that your client's reconnection logic handles transient failures

ACL denied

If you can connect but can't publish or subscribe:

  1. Check Logs → Errors for ACL denial entries.
  2. Review your ACL rules in Dashboard → Access Control.
  3. Without custom ACL rules, users have access to all topics by default.
  4. Once you add any ACL rule, only explicitly allowed access is permitted.

On this page