• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

timer/pulse web server question

Q&A Forum › Category: ESP32 › timer/pulse web server question
0 Vote Up Vote Down
Larry Freeze asked 6 months ago

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

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
Is that the complete error code?
Or do you get any warning about multiple libraries?
Regards,
Sara

0 Vote Up Vote Down
Larry Freeze answered 6 months ago

Hi Sara,
That’s the complete error code.
Larry

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

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

0 Vote Up Vote Down
Larry Freeze answered 6 months ago

Hi,
Thank you for the quick response.  Your solution worked with no problem.
Larry

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Great!
I’m glad it’s working.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.