esp-azure
esp-azure copied to clipboard
Fixes for MQTT over WebSockets (CA-119)
I have split off the WebSockets part from PR #68 and fixed the remarks from @shahpiyushv. I've tested this with IDF v4.2.
I have tested it out, i could verify it works fine with IDF4.1.1 as well.
However it fails with IDF4.1, showing the following error:
E (24562) esp-tls-mbedtls: read error :-80:
I believe there was an issue with TLS renegotiation that was fixed and backported to v4.1 and v4.0. I think it's advisable to use the latest v4.1.x tag or track the release/v4.1 branch if you want to stay on that version.
When will fix be merged to master? I see same issue regarding TLS renegotiation, where option is not supported.
Maybe we can tag some of the folks of Espressif who are active in this repository. @igrr @shahpiyushv @lhespress @projectgus :wave: If anything still needs to be done before this can be merged, please let me know.
@MartinTJDK @jspngh Just FYI, The PR is working fine with idf 4.1.1 , 4.2 and 4.2.1 Only idf4.1 had this TLS renegotiation issue ;)
TLS renegotiation was fixed from IDF v4.1.1 on as shown in the release notes