Help for implementing Azure WebSocket support (CA-67)
Opened this issue · 3 comments
Hi Espressif,
I know, that an issue regarding WebSocket is active, and has been for a long time.
I Espressif able to help regarding this "feature" request?
Thanks
Based on ideas from #65 I have managed to get MQTT over WebSocket to work. The issue was related to missing SSL negotiation [mbedtls_ssl_conf_renegotiation(&tls->conf, MBEDTLS_SSL_RENEGOTIATION_ENABLED); in file /components/esp-tls/esp_tls_mbedtls.c]
@MartinTJDK , the support for enabling this automatically when CONFIG_MBEDTLS_SSL_RENEGOTIATION=y will soon be available in ESP_IDF. Meanwhile, we have also updated azure-iot-c-sdk to the latest (pre)release LTS_06_2020_Ref01.
@MartinTJDK , the esp-tls fix for re-negotiation is now available on esp-idf master and release/v4.0 branches.