Blynk edgent error mbedlts/net.h

hi all guys. i have some error with blynk edgent in esp32. here the screenshoot of error

in the error message show #include "mbedtls/net.h" no such file directory
anyone can fix this? please

Please post your full sketch and full error message, using code tags when you do. This prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination

In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

i use example of blynk>>blynk.Edgent>>edgent_esp32

Hi @iaosx1. Support for the Nano ESP32 board is added to Arduino IDE by the "Arduino ESP32 Boards" platform. This platform contains a bundled "WiFiClientSecure" library. That library would normally be used when compiling the Edgent_ESP32 sketch, but it is not used when compiling on your computer. The reason is that you installed a different "WiFiClientSecure" library. The library you installed was written for use with boards other than the Nano ESP32 and is not compatible with the Nano ESP32. So when this library is used, it causes compilation to fail.

The most simple solution would be to simply delete the WiFiClientSecure library you installed. This solution will be appropriate if you didn't have a valid reason for installing this other WiFiClientSecure library and so don't have any need for it. You can do that by deleting the folder at this path on your computer:

C:\Users\Ibaadul Atqiyaa\Documents\Arduino\libraries\WiFiClientSecure-main

:warning: Please be careful when deleting things from your computer. When in doubt, back up!


If you do need that library you installed for other applications, then of course deleting it will not be an appropriate solution. If needed, we can provide instructions for an alternative solution. So if this is the case then just let us know by adding a reply here on the forum thread.

thanks y'all guys, im trying to downgrade of version board in esp32 to 2.0.14 and it work and compatible to blynk version 2.x. thank you