I'm trying to start an http_server (v3.3-rc) using the example in the docs. I'm getting an error:
I've traced it to this call to socket():C:/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed!
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Code: Select all
// from the example:
httpd_handle_t HttpServer::start_webserver(void)
{
/* Generate default configuration */
httpd_config_t config = HTTPD_DEFAULT_CONFIG();
/* Empty handle to esp_http_server */
httpd_handle_t server = NULL;
/* Start the httpd server */
ESP_LOGI(TAG, "calling httpd_start().");
if (httpd_start(&server, &config) == ESP_OK)
// from httpd_main.c
esp_err_t httpd_start(httpd_handle_t *handle, const httpd_config_t *config)
{
...
if (httpd_server_init(hd) != ESP_OK) {
static esp_err_t httpd_server_init(struct httpd_data *hd)
{
int fd = socket(PF_INET6, SOCK_STREAM, 0);
Thanks...