-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Issue with MQTT publish / ESP32 #1210
Comments
My issue has to be related to some change in authentication of newer Mosquitto version because it is working with PubSubClient from ESP8266 if I allow anonymous connections and remove acls in Mosquitto. But otherwise it looked very similar. MQTT connection was dropped by client (by ESP8266) after short timeout as there was no response packet from Mosquitto server. I verified this using tcpdump while TLS was disabled on MQTT. |
@sislakd Is there any chance you could share a tcpdump file (no TLS)? We can do that privately if you would prefer. |
I install mosquitto on my windows laptop and check if I have the same issue :-( |
@ralight When I've tried to capture new tcpdump with the latest version (mosquitto_1.5.8-0mosquitto1_armhf), I found that PubSubClient connection from ESP8266 is working well again. The issue was observed on some previous version for which I haven't kept pcap recording. As it is already working, there is no more issues from my side. |
@sislakd Thanks for checking and replying. @pfeno Let me know if you find anything else out. |
@pfeno Is your broker located in Raspberry Pi, if so, I had the same issue with ESP_IDF with older versions of Mosquitto.What is your version? OH WRONG: I remember just now, I also changed my ESP_IDF version to current master. |
@KurabiyeCanavari I have version 1.4.10-3+deb9u4 for mosquitto and 1.0.1 of Arduino package @sislakd need to continue to check (seems to work with anonymous but some difficulty with user credential) |
@pfeno Add mosquitto repository into your raspbian and try the latest version mosquitto 1.5.8 . This one is working well with user credentials, acls and TLS as well. |
@sislakd need to return home because at work, some trouble with proxy ;) |
Can this be closed? It sounds very much like a network problem rather than a mosquitto problem. |
I'm at University now and test lab in industry. I check Monday or Tuesday.
Le jeu. 11 avr. 2019 à 22:45, Roger Light <[email protected]> a
écrit :
… Can this be closed? It sounds very much like a network problem rather than
a mosquitto problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1210 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI0-0054_1MPPXZG2Yl2SyWMsB2ZCFCBks5vf57ngaJpZM4cLq7H>
.
|
Hi,
Seem to have same issue @sislakd in #1198 (comment)_
I have following line in mosquitto.log :
My mosquitto.conf was very simple :
the sketch is very simple :
My question is why do I have a disconnect right after the connection?
The text was updated successfully, but these errors were encountered: