-
Notifications
You must be signed in to change notification settings - Fork 21
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 MQTT as server does not work if no SSL is used #4
Comments
same as #3 |
Hopefully fixed now: ee16ad1 |
Hopefully fixed in v0.3.3. Please note that either I would be happy if you could give it a try! |
Hi using #define USE_WIFI is working for esp8266. |
Hi, thanks for testing and feedback! In some (but not all) of the examples, there is
I will see if I can remove the inconsistencies/redundancies. This also relates to issue #1 and issue #11. Thank you for pointing this out! Best regards |
Describe the bug
If I compile your code and try without using ssl to connect to my mqtt server, the server response with a "socket error (unknown) on client"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successfully connection to MQTT server without using ssl
It is working if I change the code to:
#elif defined(ESP8266)
// BearSSL::WiFiClientSecure net;
WiFiClient net;
&
#if (!defined(CHECK_PUB_KEY) and !defined(CHECK_CA_ROOT) and !defined(CHECK_FINGERPRINT))
// net.setInsecure();
#endif
Seems to be a problem using BearSSL::WiFiClientSecure net;
Br. Frank
The text was updated successfully, but these errors were encountered: