Search found 10 matches

by luisfynn
Fri Dec 30, 2022 1:45 am
Forum: ESP-IDF
Topic: dns can't update dest IP when using 2 AP(wifi router)
Replies: 0
Views: 886

dns can't update dest IP when using 2 AP(wifi router)

hello. I am luis. I use IDF_V4.4.1 I try to send some file using WIFI I use 2AP(wifi router) First My esp has connected AP(wifi router)-A and send file to dest. and 1minute later, My esp has connected AP(wifi router)-B and send file to dest(same dest) but dest ip doesnt update .. My esp has 172.20.1...
by luisfynn
Mon Dec 26, 2022 7:36 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

From your log, it seems the max SYN retries reached and peer no response. You need check whether the packet sent out from WIFI, it need capture air packet or route packet. when I connect https://~ using AP-a(iptime 192.x.x.x), then esp board got ip(192.x.x.x) and connect https dest ip(192.x.x.x) an...
by luisfynn
Mon Dec 26, 2022 5:38 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

From your log, it seems the max SYN retries reached and peer no response. You need check whether the packet sent out from WIFI, it need capture air packet or route packet. I think if I connect https site using iptime(AP-1) at first, esp got ip(192.x.x.x) and remember dest ip(192.x.x.x). and then I ...
by luisfynn
Mon Dec 26, 2022 2:59 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

ESP_YJM wrote:
Mon Dec 26, 2022 2:18 am
From your log, it seems the max SYN retries reached and peer no response. You need check whether the packet sent out from WIFI, it need capture air packet or route packet.
how I capture air packet?? please let me know.
by luisfynn
Mon Dec 26, 2022 2:04 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

It seems your log not print any lwip log, you may need clean your build project and re-build. For DNS debug open, you may modify the clode https://github.com/espressif/esp-lwip/blob/2.1.2-esp/src/include/lwip/opt.h#L3533. Change LWIP_DBG_OFF to LWIP_DBG_ON. I chaned async mode and insert debug code...
by luisfynn
Mon Dec 26, 2022 12:12 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

It seems your log not print any lwip log, you may need clean your build project and re-build. For DNS debug open, you may modify the clode https://github.com/espressif/esp-lwip/blob/2.1.2-esp/src/include/lwip/opt.h#L3533. Change LWIP_DBG_OFF to LWIP_DBG_ON. where can I turn on that option??? attach...
by luisfynn
Fri Dec 23, 2022 5:03 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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. static esp_err_t esp_tcp_connect(const char *host, int hostlen, int port, int *sockfd, const esp_tls_t *tls, const esp_tls_cfg_t *cfg) { esp_err_t ret; stru...
by luisfynn
Fri Dec 23, 2022 1:34 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

ESP_YJM wrote:
Thu Dec 22, 2022 9:59 am
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.
PC is ok. What can I do to solve this problem???
by luisfynn
Thu Dec 22, 2022 12:10 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 7492

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

I test http post send using wifi I connect WIFI-A device and http post send. continuosly I try to connect WIFI-B device and http post send but it always fail. all of wifi connection is success. -this is error log E (702663) esp-tls: Failed to connnect to host (errno 113) E (702663) esp-tls: Failed t...
by luisfynn
Fri Feb 25, 2022 9:33 am
Forum: General Discussion
Topic: how to solve [Errno 2] could not open port /dev/ttyS7??
Replies: 1
Views: 1932

how to solve [Errno 2] could not open port /dev/ttyS7??

hello I am luis

I use window 10 and ubuntu 20.04 on Windows.
but I have a problem
I have a problem like this

===================problem=======================
그림1.png
그림1.png (27.47 KiB) Viewed 1932 times