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

Mosquitto on openwrt, installed on arduino YUN. Error message #300

Closed
pheelan opened this issue Oct 31, 2016 · 7 comments
Closed

Mosquitto on openwrt, installed on arduino YUN. Error message #300

pheelan opened this issue Oct 31, 2016 · 7 comments
Labels
Status: Blocked Another issue needs to be resolved first

Comments

@pheelan
Copy link

pheelan commented Oct 31, 2016

Hi Folks,
I have set up mosquitto on an arduino YUN; downloaded the openwrt version. I am trying to use an ESP8266 device to connect to this. The ESP device will connect normally to another external broker, but on the mosquitto version for openwrt I get this error message.

1477929323: New connection from 192.168.29.39.
1477929323: Invalid protocol "MQTT" in CONNECT from 192.168.29.39.
1477929323: Socket read error on client (null), disconnecting.

Does anyone know whay this is happening?
Regards
Phil

@karlp
Copy link
Contributor

karlp commented Oct 31, 2016

which version of mosquitto is your yun running? that sort of looks like you have a version of mosquitto prior to around 1.3, when mqtt 3.1.1. support landed. the "MQTT" protocol is from mqtt3.1.1, not the older mqtt 3.1.

@pheelan
Copy link
Author

pheelan commented Oct 31, 2016

Hi Karlp.
I am using mosquitto version 0.15 (build date 2016-06-02), this is the build for openwrt

Regards
Phil

@karlp
Copy link
Contributor

karlp commented Oct 31, 2016

speak to whoever is building your "openwrt" and tell them to at least come up to something like the present. mosquitto 0.15 came out in 2012, and is massively out of date. That sounds like openwrt backfire era, possibly attitude adjustment. You want to come up to at least openwrt chaos calmer.

@pheelan
Copy link
Author

pheelan commented Nov 1, 2016

Karlp,
The version of OpenWrt I am using is the latest for the Arduino YUN, also the version of mosquitto (link from mosquitto.org) is also the latest version.

@karlp
Copy link
Contributor

karlp commented Nov 6, 2017

And again, Arduino Yun is massively out of date. Their Lininio distribution is a fork from years ago, that they don't seem to be updating. You can run actual openwrt/lede from http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/lede-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin but that won't include any of the arduino special sauce.

Please, this is not a mosquitto issue, you need to speak to your "vendor" (That's arduino) and demand better support from them.

@PierreF
Copy link
Contributor

PierreF commented Jan 5, 2018

Do you still have this issue with recent Mosquitto version ?

@PierreF PierreF added the Status: Blocked Another issue needs to be resolved first label Jan 5, 2018
@ralight
Copy link
Contributor

ralight commented Aug 9, 2018

This hasn't received any updates for a long time, so I'm closing it. If it is still a problem, please reopen and provide more details.

@ralight ralight closed this as completed Aug 9, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Blocked Another issue needs to be resolved first
Projects
None yet
Development

No branches or pull requests

4 participants