QUERY · ISSUE
MQTT to AWS IoT Core fails with mbedtls_ssl_handshake_error
port-esp32
mbedtls_ssl_handshake error: -2880
I (14912) wifi:Traceback (most recent call last):
File "main.py", line 99, in <module>
File "main.py", line 96, in <module>
File "main.py", line 69, in mqtt
File "umqtt/simple.py", line 61, in connect
OSError: [Errno 5] EIO
Fails on the latest firmware but works on any of the 2019 builds - tried it with esp32-idf3-20191220-v1.12.bin and it works but needed BLE and hence upgraded to 2020 versions and fails on all the March/April releases.
CANDIDATE · ISSUE
tests/extmod/ussl_basic.py fails for modussl_mbedtls
tests
Well, subj. ussl_basic.py is coded too much relying on modussl_axtls behavior.
--- extmod_ussl_basic.py.exp 2018-12-16 22:45:07.539600906 +0300
+++ extmod_ussl_basic.py.out 2018-12-16 22:45:07.539600906 +0300
@@ -1,9 +1,7 @@
-ssl_handshake_status: -256
+mbedtls_ssl_handshake error: -7280
wrap_socket: OSError(5,)
-<_SSLSocket
-setblocking: NotImplementedError
-4
-b''
-read: OSError(-261,)
-read: OSError(9,)
-write: OSError(9,)
+mbedtls_ssl_handshake error: -7280
+Traceback (most recent call last):
+ File "extmod/ussl_basic.py", line 18, in <module>
+OSError: [Errno 5] EIO
+CRASH