Good morning,
I have been trying to build the “Timer/Pulse Web Server” I am using V2.3.3 Arduino IDE. I am using an esp32 wroom, I copied the “Timer/Pulse Web Server code exactly and changed only SSID and password. I upgraded the libraries as needed. When I try and compile the sketch, I get the following error.
————————————————————————————————————
c:\Users\lfree\iCloudDrive\ARDUINO\ESPAsyncWebServer\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function ‘bool getMD5(uint8_t*, uint16_t, char*)’:
c:\Users\lfree\iCloudDrive\ARDUINO\ESPAsyncWebServer\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:74:3: error: ‘mbedtls_md5_starts_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_starts’?
74 | mbedtls_md5_starts_ret(&_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_starts
c:\Users\lfree\iCloudDrive\ARDUINO\ESPAsyncWebServer\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:75:3: error: ‘mbedtls_md5_update_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_update’?
75 | mbedtls_md5_update_ret(&_ctx, data, len);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_update
c:\Users\lfree\iCloudDrive\ARDUINO\ESPAsyncWebServer\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:76:3: error: ‘mbedtls_md5_finish_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_finish’?
76 | mbedtls_md5_finish_ret(&_ctx, _buf);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_finish
exit status 1
Compilation error: exit status 1
After doing a lot of research I find this problem mentioned many times (with no solution). The closest I came to a solution was this thread “ https://github.com/me-no-dev/ESPAsyncWebServer/issues/1419”, unfortunately most Of the comments are above my skill level.
Please help point me in the right direction.
Thank You.
Larry
Hi.
Is that the complete error code?
Or do you get any warning about multiple libraries?
Regards,
Sara
Hi.
Go to this path: c:\Users\lfree\iCloudDrive\ARDUINO
Delete the ESPAsyncWebServer folder.
Then, install again via .ZIP folder as explained in our tutorials and try again. (Don’t install via library manager, it needs to be via .ZIP folder)
Let me know if this helps.
Regards,
Sara
Hi,
Thank you for the quick response. Your solution worked with no problem.
Larry