Closed gcjenkinson closed 5 years ago
More the self triggered down() even inside the condition checking whether the Transport instance was successfully created. Added a error() event in the case that a Transport wasn't successfully created, this results in a transition into the Final state and deletion of the Producer instance.
When the user_password configuration is incorrect in is not possible to construct the TlsTransport instance and the decrypt of the private key fails. When a transport fails to be created the stjatemachine down() event is triggered resulting in a transition form connecting() to down(). This in turn attempts to delete a transport instance which was never successfully created.