Closed mm108 closed 2 years ago
I got this error with an update to Espressif32 IDF 4.1 It has been updated, https://github.com/me-no-dev/ESPAsyncWebServer/blob/master/src/WebAuthentication.cpp#L72 but I don't think there's a release for it.
If you reference the git url it'll download the latest, https://github.com/me-no-dev/ESPAsyncWebServer#using-platformio
lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git
Thanks for the solution Alex. I raised it on Gitter and was told the same earlier. Probably this answer will help someone running into the same issue. Thanks once again.
hi im also encountering same problem. any update? i download this 24hrs ago, and the updated version is what i have. though i still run into the problem. im using Arduino IDE instead of Platform IO since my Platform IO has several problem to begin with so i cant use it(not related to this problem) so my only option for now is Arduino IDE
but weirdly enough, it say i have error on mdbedtl_md5_starts at line 73. much weird enough, line 74 is for:
mbedtls_md5_init(&_ctx);
but the error message say it has error on mbedtls_md5_starts(&_ctx);
:
which is on line 74
probably the same reason I guess. You can try this - change the line
mbedtls_md5_starts(&_ctx);
in WebAuthentication.cpp
(ESP Async Web Server) src to
mbedtls_md5_starts_ret(&_ctx);
I think that will fix the problem for now - till the updated libraries are linked / picked up.
How can this still be an issue? I mean I'm running stock everything just trying to run a tutorial and it still explodes from an obscure bug?
So, I am still running into this issue over a year later!
Same here.. Can't get around it...
Some extra information on (fixing) this issue.
I have the latest version of all the libraries and also PlatformIO. Suddenly this error started popping up
I did some search for this WebAuthentication.cpp undefined reference to `mbedtls_md5_starts' and the solution that I came across mentions updating to latest version of ESPAsyncWebServer. I have the very latest version and I even tried completely reinstalling everything ( Visual Code Studio, PlatformIO, all the libraries (latest versions) etc. Any ideas what could be wrong? I see that mbedtls_md5_starts is deprecated and superseded by mbedtls_md5_starts_ret(). I didn't want to just replace the function with the newer one as it might break something else. What would be the right way to fix this? Pls let me know if any additional information is required that might help narrow down on the issue. The device is an ESP32. Thanks.