Open rgaufman opened 6 years ago
Could you confirm that this issue has been fixed as well?
Thank you for the update! - I'm not sure if this is related, but getting this:
Traceback (most recent call last):
4: from test-paho.rb:40:in `<main>'
3: from /usr/local/lib/ruby/gems/2.5.0/bundler/gems/paho.mqtt.ruby-4a121dd03a69/lib/paho_mqtt/client.rb:118:in `connect'
2: from /usr/local/lib/ruby/gems/2.5.0/bundler/gems/paho.mqtt.ruby-4a121dd03a69/lib/paho_mqtt/connection_helper.rb:43:in `do_connect'
1: from /usr/local/lib/ruby/gems/2.5.0/bundler/gems/paho.mqtt.ruby-4a121dd03a69/lib/paho_mqtt/handler.rb:45:in `receive_packet'
/usr/local/lib/ruby/gems/2.5.0/bundler/gems/paho.mqtt.ruby-4a121dd03a69/lib/paho_mqtt/handler.rb:89:in `handle_connack': uninitialized constant PahoMqtt::Handler::MQTT_CS_DISCONNECTED (NameError)
Did you mean? PahoMqtt::MQTT_CS_CONNECTED
PahoMqtt::MQTT_CS_DISCONNECT
Um, I think there is typo there. I will fix soon.
I added this to my mosquitto broker config:
When I try to connect with paho without supplying a password, I get:
There should maybe be a more graceful and descriptive error?