![]() |
|
http_request on ethernet - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6) +--- Thread: http_request on ethernet (/showthread.php?tid=7626) |
http_request on ethernet - remiasz - 02-15-2025 A16 with ESPHome is connected by wifi I try send http_request but it dos'nt work Log below [23:17:54][D][http_request.arduino:125]: Content-Length: 170 [23:17:54][ 45046][E][WiFiClient.cpp:517] flush(): fail on fd 50, errno: 11, "No more processes" [23:17:54][W][component:237]: Component web_server took a long time for an operation (68 ms). When I connect by ethernet device is rebooted [23:24:14][ 24068][E][WiFiGeneric.cpp:1438] hostByName(): DNS Failed for mydomain.cloud [23:24:14][W][http_request.arduino:112]: HTTP R [23:24:14]assert failed: xEventGroupSetBits event_groups.c:596 (xEventGroup) [23:24:14] [23:24:14] [23:24:14]Backtrace:0x40083b45:0x3ffb3dc00x4008c7a5:0x3ffb3de0 0x40091f2d:0x3ffb3e00 0x4008ccc2:0x3ffb3f30 0x4014b264:0x3ffb3f50 0x40100bdd:0x3ffb3f70 0x40100c99:0x3ffb3fa0 0x40101423:0x3ffb3fc0 0x401085dd:0x3ffb4020 0x4010b833:0x3ffb4070 0x401110aa:0x3ffb40a0 0x401008d9:0x3ffb40c0 WARNING Found stack trace! Trying to decode it WARNING Decoded 0x40083b45: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402 WARNING Decoded 0x4008c7a5: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128 WARNING Decoded 0x40091f2d: __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85 WARNING Decoded 0x4008ccc2: xEventGroupSetBits at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/event_groups.c:597 (discriminator 1) WARNING Decoded 0x4014b264: wifi_dns_found_callback(char const*, ip_addr const*, void*) at C:/Users/IT/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:1413 WARNING Decoded 0x40100bdd: dns_call_found at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:999 WARNING Decoded 0x40100c99: dns_correct_response at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:1197 WARNING Decoded 0x40101423: dns_recv at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:1364 WARNING Decoded 0x401085dd: udp_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/udp.c:404 WARNING Decoded 0x4010b833: ip4_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/ipv4/ip4.c:794 WARNING Decoded 0x401110aa: ethernet_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/netif/ethernet.c:186 WARNING Decoded 0x401008d9: tcpip_thread_handle_msg at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c:180 (inlined by) tcpip_thread at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c:154 [23:24:14] [23:24:14] [23:24:14] [23:24:14] [23:24:14]ELF file SHA256: 0000000000000000 [23:24:14] [23:24:14]Rebooting... My yaml is simple for test Code: esphome:In A6 http_request works Please help RE: http_request on ethernet - admin - 02-16-2025 A6 use by wifi, A16 use by ethernet. maybe you can test with wifi will work well. RE: http_request on ethernet - remiasz - 02-17-2025 I tried by wifi and by ethernet. By wifi I get error "[23:17:54][ 45046][E][WiFiClient.cpp:517] flush(): fail on fd 50, errno: 11, "No more processes" by ethernet device is rebooted as wrote RE: http_request on ethernet - admin - 02-17-2025 i think you can test with our KCS v2 firmware firstly. check whether is a hardware or software problem. if KCS work well, you need to check with your esphome yaml file. RE: http_request on ethernet - remiasz - 02-21-2025 With KCSv2 firmware server was called. I checked that problem was generated by hostbyname() function. I replaced in URL domain name to IP address and it works. I have KC868-A6 too and in A6 calls by domain name works. RE: http_request on ethernet - admin - 02-22-2025 maybe sometime the DNS issue. |