Closed sumskyi closed 2 months ago
@sumskyi were you able to figure this out?
@sumskyi were you able to figure this out?
@MikeJakuszewski Yes, sorry for not respond ASAP after I figured out the reason.
The problem was because I've committed out the storing keys to the secret_manager
for some reason, so then I set mqtt_client.cert=
and mqtt_client.key=
as nil
's
mqtt_client.connect
exceptionAs I understood, MQTT protocol doesn't support reasonable error message from Ruby, so..
Please, point me, what I am doing wrong.
The code below mostly taken from the https://til.magmalabs.io/posts/37aa95d040-connecting-ruby-to-aws-iot-core-using-mqtt-client