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

luisfynn
Posts: 10
Joined: Fri Feb 25, 2022 9:26 am

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

Postby luisfynn » Mon Dec 26, 2022 5:38 am

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.
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 connect same https site using hot-spot(AP-2), esp got ip(172.x.x.x) but esp use previous dest ip(192.x.x.x) <---I think it's problem. even if the same https site, esp need update new dest ip.

how to clear and recevie dest ip when new connection is running??
Last edited by luisfynn on Mon Dec 26, 2022 8:29 am, edited 2 times in total.

luisfynn
Posts: 10
Joined: Fri Feb 25, 2022 9:26 am

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

Postby luisfynn » Mon Dec 26, 2022 7:36 am

luisfynn wrote:
Mon Dec 26, 2022 2:59 am
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.
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) and then I try to connect https://~(the same site) using AP-b(hotspot 172.x.x.x), then esp board got ip(172.x.x.x) but https desp ip does not update(use older ip[192.x.x.x]) <- I think this is problem.. how to clear https dest ip??

Who is online

Users browsing this forum: Bing [Bot] and 62 guests