-
Notifications
You must be signed in to change notification settings - Fork 6
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
Crash when some binary data is published #89
Comments
Thank you for the detailed explanation 👍 My test settings for user/password auth are:
|
Thanks for responding so quickly! Here's my current mosquitto config:
EDIT: I've also added 'allow_anonymous false' for good measure. Mosquitto 2.0.14 log when trying to connect:
|
Okay, so seems to be nothing special with your configuration. |
You're exactly right! Once I delete the MapData topic from my broker, MQTTAnalyzer connects. Anything we can do about it? |
Okay, good to know 👍 I'll try some more binaries and hope to get a crash for one file. |
'map-data' is the problem, I can connect to the server with it deleted whilst still having 'map-data-hass-hack' present. If you're on discord, add me and I will send you the payload so you can debug it better. |
I don't have a discord account, but it would be great when you can send me the payload by mail. |
or just zip the payload into a ZIP file and add to a comment (it accepts zips). I can also test here if needed |
Do you have an idea about how to retrieve the payload? I've tried to write the payload to a file using mosquitto_sub but the output doesn't seem to make sense. |
it's probably using msgpack to compress the JSON. See if you can decode it. If you're handy with javascript/typescript there's an npm library that does the encode and decoding. |
I'm not a dev sadly, but I've provided a way to access the payload to Philipp. |
It is reproducible with the first three bytes of the message. I've created an issue in CocoaMQTT: |
@Xploder Apple approved the update, you should see an update to version 1.10 in the App Store 😄 |
Awesome. Thank you for investigating this and for mentioning me in the patchnotes. Much appreciated! 👍 |
yeah really cool how you handled this fix. love this project! |
Hey,
on my iPhone 13 Pro, the app straight up crashes when trying to connect to my local broker.
There's no issue with another app (EasyMQTT) or any other application that is using this broker (Z2M, Hass, Valetudo, MQTTExplorer).
The sample brokers work fine.
Running mosquitto:latest docker container with authentication.
https://youtu.be/r-aZThRAo5Y
How can I assist in debugging this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: