Closed tomasdelima closed 5 years ago
Hi
I'm trying to connect to a Mosquitto server. When I don't pass the keep_alive parameter, the connection is established. But when I pass this parameter, I receive a PahoMqtt::WritingException:
keep_alive
PahoMqtt::WritingException
client.connect(ENV["MQTT_HOST"], 1883, client.keep_alive, true, client.blocking) Traceback (most recent call last): 1: from (irb):114 PahoMqtt::WritingException ()
Is this a bug or a configuration problem?
I am sorry, the keep_alive is a number, representing the time to test connection to the server. Passing a boolean raises the expected error
Hi
I'm trying to connect to a Mosquitto server. When I don't pass the
keep_alive
parameter, the connection is established. But when I pass this parameter, I receive aPahoMqtt::WritingException
:Is this a bug or a configuration problem?