ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
Posted: Fri May 10, 2024 5:45 pm
Hi,
I have a custom board with an ESP32S3 WROOM module on it.
Running wifi code I intermittently get this error:
Getting the recent mbedtls errors I see these:
I have read other posts which suggest this may be a memory problem, however before this call I checked the heap and see:
It seems like this should be plenty (PSRAM + Internal RAM).
Is this a memory failure? or if this is a true network error, how to solve it?
The server it's connecting to is a Google server <my site>.cloudfunctions.net.
ESP-IDF Ver 5.2.1
Thanks for your help!
I have a custom board with an ESP32S3 WROOM module on it.
Running wifi code I intermittently get this error:
Code: Select all
esp-tls: couldn't get hostname for :<<website>>: getaddrinfo() returns 202, addrinfo=0x0
esp-tls: Failed to open new connection
transport_base: Failed to open a new connection
HTTP_CLIENT: Connection failed, sock < 0
Code: Select all
Last esp error code: 0x8001
Last mbedtls failure: 0x0
Code: Select all
Before client open: Free heap:8009232 Internal:77495 MinFreeHeap:8005344
Is this a memory failure? or if this is a true network error, how to solve it?
The server it's connecting to is a Google server <my site>.cloudfunctions.net.
ESP-IDF Ver 5.2.1
Thanks for your help!