Search found 300 matches

by ESP_YJM
Fri Dec 23, 2022 3:47 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 6879

Re: esp-tls: Failed to connnect to host (errno 113)

Could you please enable DNS_DEBUG and TCP_DEBUG in lwip to check. Or could you please capture the air packet to see the DNS flow and TCP flow.
by ESP_YJM
Fri Dec 23, 2022 3:44 am
Forum: ESP-IDF
Topic: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?
Replies: 6
Views: 4541

Re: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?

Hi mbratch It seems the socket has run out. Some of the sockets enter TIME-WAIT state and can't be released immediately. You can enable enable_so_linger option in https://github.com/espressif/esp-idf/blob/v5.0/components/esp_http_server/include/esp_http_server.h#L190. It will release the sockets im...
by ESP_YJM
Fri Dec 23, 2022 2:18 am
Forum: ESP-IDF
Topic: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?
Replies: 6
Views: 4541

Re: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?

Hi mbratch It seems the socket has run out. Some of the sockets enter TIME-WAIT state and can't be released immediately. You can enable enable_so_linger option in https://github.com/espressif/esp-idf/blob/v5.0/components/esp_http_server/include/esp_http_server.h#L190. It will release the sockets imm...
by ESP_YJM
Thu Dec 22, 2022 9:59 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 6879

Re: esp-tls: Failed to connnect to host (errno 113)

Errno 113 generally is due to TCP SYN we sent with no response. You can use PC to connect WIFI-B and check whther TCP connection can be success.
by ESP_YJM
Tue Dec 20, 2022 9:42 am
Forum: ESP-IDF
Topic: Stability MQTT
Replies: 8
Views: 4578

Re: Stability MQTT

Any update for your test?
by ESP_YJM
Tue Dec 20, 2022 9:41 am
Forum: ESP-IDF 中文讨论版
Topic: esp-rain/example/led_lights使用 set-target 报错
Replies: 3
Views: 1902

Re: esp-rain/example/led_lights使用 set-target 报错

你在哪个目录执行的?执行 git submodule update --init --recursive 有没有报错?另外你看下 rmaker_common 目录下有没有文件?
by ESP_YJM
Mon Dec 19, 2022 6:25 am
Forum: ESP-IDF 中文讨论版
Topic: esp-rain/example/led_lights使用 set-target 报错
Replies: 3
Views: 1902

Re: esp-rain/example/led_lights使用 set-target 报错

你需要执行下 git submodule update --init --recursive
by ESP_YJM
Wed Dec 14, 2022 11:25 am
Forum: ESP-IDF
Topic: Stability MQTT
Replies: 8
Views: 4578

Re: Stability MQTT

Yes, As I explained above, this is not a problem. You can ignore it for esp_mqtt_handle_transport_read_error print.
by ESP_YJM
Wed Dec 14, 2022 9:31 am
Forum: ESP-IDF
Topic: Stability MQTT
Replies: 8
Views: 4578

Re: Stability MQTT

D (00:03:25.783) mqtt_client: esp_mqtt_handle_transport_read_error: transport_read(): call timed out before data was ready! For question one, i think it is not a problem. We want to read data and no data received. This is only a debug log level.You can ignore it. assert failed: xQueueGenericSend qu...
by ESP_YJM
Wed Dec 14, 2022 8:06 am
Forum: General Discussion
Topic: WebSocket client failing to connect to websocket server
Replies: 1
Views: 1476

Re: WebSocket client failing to connect to websocket server

Could you please capture the packet on your websocket server. It seems the server not response Sec-WebSocket-Accept in header. You can also capture the packet with your python websocket client. I can compare with them.