Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/paho_mqtt/sender.rb:45 PahoMqtt::WritingException: <empty error message> #55

Open
rgaufman opened this issue Nov 20, 2021 · 2 comments

Comments

@rgaufman
Copy link

I randomly get this exception and I can't for the life of me figure out why, any ideas?

vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:45

vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:45 in rescue in send_packet
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:34 in send_packet
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:52 in send_pingreq
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/connection_helper.rb:162 in check_keep_alive
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:189 in loop_misc
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:185 in mqtt_loop
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:133 in block in daemon_mode
Caused by Errno::EPIPE: Broken pipe
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:37 in write
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:37 in send_packet
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/sender.rb:52 in send_pingreq
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/connection_helper.rb:162 in check_keep_alive
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:189 in loop_misc
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:185 in mqtt_loop
vendor/cache/tether-mqtt-bcf38e610db8/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:133 in block in daemon_mode
@salgadobreno
Copy link

@rgaufman did you find anything? This is popping up in my tests and I dunno if it's ok to rescue or not

@rgaufman
Copy link
Author

I haven't found a solution and this repo hasn't seen any update in years, I am still looking for a good quality MQTT library in Ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants