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

disconnected due to malformed packet #28

Open
ruudboon opened this issue Feb 1, 2022 · 4 comments
Open

disconnected due to malformed packet #28

ruudboon opened this issue Feb 1, 2022 · 4 comments

Comments

@ruudboon
Copy link

ruudboon commented Feb 1, 2022

When trying to push data to my mqtt broker (Mosquitto) is get the messsage

 disconnected due to malformed packet

I tried different versions of the broker but I'm unable to fix this. Not sure how to debug this any futher.
I'm running Weewx inside docker on my QNAP nas.

@ajay10000
Copy link

ajay10000 commented Feb 4, 2022

Hi, I found the weewx log in a container is at /var/log/messages, so tail -f /var/log/messages from the container CLI or
docker exec weewx tail -f /var/log/messages from the CLI on the host. It may be different for your NAS.

@ajay10000
Copy link

ajay10000 commented Feb 4, 2022

I'm running the MQTT client in docker also and the log path is tail -f /path/to/volume/mosquitto.log from the host CLI.

@ruudboon
Copy link
Author

ruudboon commented Feb 8, 2022

disconnected due to malformed packet

is the only message I find in the logs

@ajay10000
Copy link

ajay10000 commented Feb 9, 2022

I've found that message usually relates to a protocol issue. Please assist us by showing your MQTT section (only) from weewx.conf.

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