ESP32 - Wifi hangs while using MBedTLS

admkkind
Posts: 1
Joined: Fri Mar 01, 2019 4:36 am

ESP32 - Wifi hangs while using MBedTLS

Postby admkkind » Fri Mar 01, 2019 5:43 am

Hi all,

Facing an issue while communicating ESP32 over wifi with TLS security.

For development esp-idf(Version: v3.3-beta1) is used.
For TLS communication, MbedTLS library is used.

Setup is made as follows,

> ESP32 has Station Mode configuration with client program running.
> PC runs server program.
> PC is connected to switch/router via lan and ESP32 connected via wifi.
> Existing example programs were used from MbedTLS library.

When program starts running, ESP32 gives the following error,

____________________________________________________________________
. Seeding the random number generator... ok
. Loading the CA root certificate ... ok (0 skipped)
. Connecting to tcp/192.168.1.3/4433... ok
. Setting up the SSL/TLS structure... ok
. Performing the SSL/TLS handshake...E (5895) wifi: pp.c 3409

E (10865) task_wdt: Task watchdog got triggered. The following tasks did not re:
E (10865) task_wdt: - IDLE0 (CPU 0)
E (10865) task_wdt: Tasks currently running:
E (10865) task_wdt: CPU 0: wifi
E (10865) task_wdt: CPU 1: IDLE1
________________________________________________________________________
The client task on ESP32 gets blocked.
Can anyone help on this issue?

Who is online

Users browsing this forum: No registered users and 109 guests