You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a small device which sends small JPEG photos via MQTT, and it's been giving me difficulty because the messages just never seemed to queue properly whether I'm using Adafruit IO or another MQTT broker (RabbitMQ's MQTT plugin, in this instance).
I've found what I think is a bug in MiniMQTT (using .send() instead of .sendall() or similar to send data to a socket) and am debugging this with the user.
I've been working on a small device which sends small JPEG photos via MQTT, and it's been giving me difficulty because the messages just never seemed to queue properly whether I'm using Adafruit IO or another MQTT broker (RabbitMQ's MQTT plugin, in this instance).
I put together this code snippet which fails for me 100% of the time on both Adafruit IO+ as well as with RabbitMQ's MQTT plugin: https://gist.github.com/manchicken/36b6d530eec03871f5a5e24834a2266a
Here are the logs I get from RabbitMQ (I don't know how to get comparable logs from Adafruit IO+): https://gist.github.com/manchicken/5fcddcc26c54b72a9705eebfd8bebc3e
(Apologies for the horizontal scrolling, I copied those verbatim from the RMQ logs)
It seems like there's something that happens once you get past 2.833KB which causes the messages to be malformatted.
Versions:
Please let me know if there's any additional information that would be helpful.
The text was updated successfully, but these errors were encountered: