-
Notifications
You must be signed in to change notification settings - Fork 51
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
CPython example not working with secure broker #62
Comments
Digging deeper, this is more an issue with the example itself and the macOS SSL installation under Python3 than the library, I'll be making a pull request shortly to fix it. In the future, if a user on macOS gets
|
Why are you using FakeSSLSocket when using CPython? Your self._ssl_context should be from the real |
FakeSSLSocket should only be used with ESP32SPI. |
@tannewt The code which threw this error incorrectly did not pass the
Instead of:
|
Looking at how requests does it, the code should raise a |
This library currently works with CPython sockets connecting to a insecure MQTT broker port (1883) but falls down when attempting to connect to a secure MQTT broker port (8883):
The text was updated successfully, but these errors were encountered: