Open amrc-benmorrow opened 1 year ago
If services are unavailable we can end up accepting an MQTT connection but not granting any rights. This is not helpful.
We should reject the connection with an appropriate server-not-ready disconnection code.
Currently for username/password auth we will fail authentication if services are unavailable; this is better than nothing, but not ideal. #179 is to extend this handling to GSSAPI auth.
If services are unavailable we can end up accepting an MQTT connection but not granting any rights. This is not helpful.
We should reject the connection with an appropriate server-not-ready disconnection code.