RubyDevInc / paho.mqtt.ruby

Eclipse Public License 1.0
31 stars 19 forks source link

paho_mqtt/packet/base.rb:126 - Invalid packet type identifier: 0 #56

Open rgaufman opened 2 years ago

rgaufman commented 2 years ago

Another frequent exception I get is:

vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/packet/base.rb:126 in create_from_header
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/packet/base.rb:47 in read
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/handler.rb:41 in receive_packet
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:168 in block in loop_read
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:167 in times
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:167 in loop_read
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:183 in mqtt_loop
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:133 in block in daemon_mode

Any ideas what this is and how to fix?