You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I debug espconn_gethostbyname? I call it to retrieve the IP of "api.openweathermap.org". Sometimes (for a few hours in a row) it returns ERR_MEM although there should be more than enough memory available. I print the amount of free heap in the log and it is always around 49264 bytes more or less.
Has anyone experienced a similar behavior?
I suspect there is a fixed buffer inside the espconn_gethostbyname function which is too small for some requests. Maybe Espressif can enlighten us.
Edit:
dns is part of lwip, so I enabled debugging there and will report back new findings.