Getting ECONNABORTED when trying to connect()

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Getting ECONNABORTED when trying to connect()

Postby MalteJ » Thu Jun 15, 2017 3:52 pm

Hi,

I have problems connecting to a remote server.
In one project my code works flawlessly, in the other the connect() call brings an ECONNABORTED error.
What can be the reason for a ECONNABORTED?

Thank you!

Best,
Malte

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Re: Getting ECONNABORTED when trying to connect()

Postby MalteJ » Thu Jun 15, 2017 3:59 pm

the connect() call takes quite a time.
Before it returns an error I get this line in the log:
  • I (16465) wifi: pm start, type:0
so it looks like this:
  • I (7304) HTTP: created socket with socket_id = 0x2
    I (7405) HTTP: socket_id = 0x2
    I (7405) HTTP: connect()...
    I (16465) wifi: pm start, type:0

    E (24905) HTTP: Connect to server failed! errno=113
    E (24905) HTTP: Connect to http server failed!
    E (24905) HTTP: Exiting task due to fatal error...

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Re: Getting ECONNABORTED when trying to connect()

Postby MalteJ » Tue Jun 20, 2017 2:49 pm

I have updated to the latest esp-idf SDK.
The problem disappeared.

Thanks.

rizzir
Posts: 1
Joined: Wed Jun 28, 2017 10:25 am

Re: Getting ECONNABORTED when trying to connect()

Postby rizzir » Wed Jun 28, 2017 10:44 am

I'm also really struggeling with this but unfortunately an update of the ESP-IDF did not help (using current master already). The problem turned out to be the firewall of my own laptop. I had written a simple echo server in and when I ran the server on my Raspberry Pi it worked flawlessly. Maybe that helps someone.

cheers,

rizzir

sumesh
Posts: 16
Joined: Fri Dec 22, 2017 12:11 am

Re: Getting ECONNABORTED when trying to connect()

Postby sumesh » Tue Apr 17, 2018 2:02 am

Did u try setting the receiving port correctly? i was having the same issue..

1) i disabled all the firewalls
2) changed the receiving port to 80 (http) instead of default 21

hope this helps :)

Best Regards,
Sumesh

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Getting ECONNABORTED when trying to connect()

Postby Ritesh » Fri Oct 05, 2018 9:19 pm

MalteJ wrote:I have updated to the latest esp-idf SDK.
The problem disappeared.

Thanks.
Hi,

We are using ESP32 IDF 2.1 Stable Release for our product development purpose and we are facing same issue which you have mentioned into earlier posts like below
I (7304) HTTP: created socket with socket_id = 0x2
I (7405) HTTP: socket_id = 0x2
I (7405) HTTP: connect()...
I (16465) wifi: pm start, type:0

E (24905) HTTP: Connect to server failed! errno=113
E (24905) HTTP: Connect to http server failed!
E (24905) HTTP: Exiting task due to fatal error...
So, In which ESP32 SDK, you were tested and which is working fine without any issue? so that we will check same into that SDK as well.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Getting ECONNABORTED when trying to connect()

Postby Ritesh » Sun Oct 07, 2018 10:03 am

Hi ESP_Angus or WiFive or SDK Developer,

Would you please check my last post into this topic as we are also facing this type of issue while using ESP32 IDF 2.1 in our product development purpose?

Are you sure that issue has been fixed into ESP32 IDF 3.0 or 3.1 Stable Release if it is really issue of IDF or Stack itself?

Let me know if need anything else from my side regarding this issue
Regards,
Ritesh Prajapati

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Getting ECONNABORTED when trying to connect()

Postby Ritesh » Mon Oct 08, 2018 8:27 am

Hi ESP_Angus and SDK Developers,

We have enabled debug logs of LWIP and TCP and found that maximum SYNC retries have been reached. SO, Do you have any idea or any clue for this type of issue?
[11:04:26.727]tcp_close: closing in State: ESTABLISHED
[11:04:26.727]tcp_slowtmr: processing active pcb
[11:04:26.836]tcp_slowtmr: processing active pcb
[11:04:26.836]tcp_slowtmr: polling application
[11:04:26.836]tcp_slowtmr: processing active pcb
[11:04:26.836]tcp_slowtmr: polling application
[11:04:26.836]tcp_slowtmr: processing active pcb
[11:04:26.836]tcp_slowtmr: polling application
[11:04:26.836]tcp_slowtmr: processing active pcb
[11:04:26.836]tcp_slowtmr: polling application
[11:04:26.836]tcp_slowtmr: processing active pcb
[11:04:27.326]tcp_slowtmr: polling application
[11:04:27.326]tcp_slowtmr: processing active pcb
[11:04:27.326]tcp_slowtmr: polling application
[11:04:27.326]tcp_slowtmr: processing active pcb
[11:04:27.326]tcp_slowtmr: polling application
[11:04:27.326]tcp_slowtmr: processing active pcb
[11:04:27.326]tcp_slowtmr: polling application
[11:04:27.326]tcp_slowtmr: processing active pcb
[11:04:27.326]tcp_slowtmr: polling application
[11:04:27.326]tcp_slowtmr: processing active pcb
[11:04:27.816]tcp_slowtmr: processing active pcb
[11:04:27.816]tcp_slowtmr: polling application
[11:04:27.816]tcp_slowtmr: processing active pcb
[11:04:27.816]tcp_slowtmr: polling application
[11:04:27.816]tcp_slowtmr: processing active pcb
[11:04:27.816]tcp_slowtmr: polling application
[11:04:27.816]tcp_slowtmr: processing active pcb
[11:04:27.816]tcp_slowtmr: polling application
[11:04:27.816]tcp_slowtmr: processing active pcb
[11:04:28.306]tcp_slowtmr: polling application
[11:04:28.306]tcp_slowtmr: processing active pcb
[11:04:28.306]tcp_slowtmr: polling application
[11:04:28.306]tcp_slowtmr: processing active pcb
[11:04:28.306]tcp_slowtmr: polling application
[11:04:28.306]tcp_slowtmr: processing active pcb
[11:04:28.306]tcp_slowtmr: polling application
[11:04:28.306]tcp_slowtmr: processing active pcb
[11:04:28.306]tcp_slowtmr: polling application
[11:04:28.306]tcp_slowtmr: processing active pcb
[11:04:28.791]tcp_slowtmr: processing active pcb
[11:04:28.791]tcp_slowtmr: polling application
[11:04:28.791]tcp_slowtmr: processing active pcb
[11:04:28.791]tcp_slowtmr: polling application
[11:04:28.791]tcp_slowtmr: processing active pcb
[11:04:28.791]tcp_slowtmr: polling application
[11:04:28.791]tcp_slowtmr: processing active pcb
[11:04:28.791]tcp_slowtmr: polling application
[11:04:28.791]tcp_slowtmr: processing active pcb
[11:04:29.286]tcp_slowtmr: polling application
[11:04:29.286]tcp_slowtmr: processing active pcb
[11:04:29.286]tcp_slowtmr: polling application
[11:04:29.286]tcp_slowtmr: processing active pcb
[11:04:29.286]tcp_slowtmr: polling application
[11:04:29.286]tcp_slowtmr: processing active pcb
[11:04:29.286]tcp_slowtmr: polling application
[11:04:29.286]tcp_slowtmr: processing active pcb
[11:04:29.286]tcp_slowtmr: polling application
[11:04:29.286]tcp_slowtmr: processing active pcb
[11:04:29.776]tcp_slowtmr: processing active pcb
[11:04:29.776]tcp_slowtmr: polling application
[11:04:29.776]tcp_slowtmr: processing active pcb
[11:04:29.776]tcp_slowtmr: polling application
[11:04:29.776]tcp_slowtmr: processing active pcb
[11:04:29.776]tcp_slowtmr: polling application
[11:04:29.776]tcp_slowtmr: processing active pcb
[11:04:29.776]tcp_slowtmr: polling application
[11:04:29.776]tcp_slowtmr: processing active pcb
[11:04:30.265]tcp_slowtmr: polling application
[11:04:30.265]tcp_slowtmr: processing active pcb
[11:04:30.265]tcp_slowtmr: polling application
[11:04:30.265]tcp_slowtmr: processing active pcb
[11:04:30.265]tcp_slowtmr: polling application
[11:04:30.265]tcp_slowtmr: processing active pcb
[11:04:30.265]tcp_slowtmr: polling application
[11:04:30.265]tcp_slowtmr: processing active pcb
[11:04:30.265]tcp_slowtmr: polling application
[11:04:30.265]tcp_slowtmr: processing active pcb
[11:04:30.756]tcp_slowtmr: processing active pcb
[11:04:30.756]tcp_slowtmr: polling application
[11:04:30.756]tcp_slowtmr: processing active pcb
[11:04:30.756]tcp_slowtmr: polling application
[11:04:30.756]tcp_slowtmr: processing active pcb
[11:04:30.756]tcp_slowtmr: polling application
[11:04:30.756]tcp_slowtmr: processing active pcb
[11:04:30.756]tcp_slowtmr: polling application
[11:04:30.756]tcp_slowtmr: processing active pcb
[11:04:31.246]tcp_slowtmr: polling application
[11:04:31.246]tcp_slowtmr: processing active pcb
[11:04:31.246]tcp_slowtmr: polling application
[11:04:31.246]tcp_slowtmr: processing active pcb
[11:04:31.246]tcp_slowtmr: polling application
[11:04:31.246]tcp_slowtmr: processing active pcb
[11:04:31.246]tcp_slowtmr: polling application
[11:04:31.246]tcp_slowtmr: processing active pcb
[11:04:31.246]tcp_slowtmr: polling application
[11:04:31.246]tcp_slowtmr: processing active pcb
[11:04:31.731]tcp_slowtmr: processing active pcb
[11:04:31.731]tcp_slowtmr: polling application
[11:04:31.731]tcp_slowtmr: processing active pcb
[11:04:31.731]tcp_slowtmr: polling application
[11:04:31.731]tcp_slowtmr: processing active pcb
[11:04:31.731]tcp_slowtmr: polling application
[11:04:31.731]tcp_slowtmr: processing active pcb
[11:04:31.731]tcp_slowtmr: polling application
[11:04:31.731]tcp_slowtmr: processing active pcb
[11:04:32.226]tcp_slowtmr: polling application
[11:04:32.226]tcp_slowtmr: processing active pcb
[11:04:32.226]tcp_slowtmr: polling application
[11:04:32.226]tcp_slowtmr: processing active pcb
[11:04:32.226]tcp_slowtmr: polling application
[11:04:32.226]tcp_slowtmr: processing active pcb
[11:04:32.226]tcp_slowtmr: polling application
[11:04:32.226]tcp_slowtmr: processing active pcb
[11:04:32.226]tcp_slowtmr: polling application
[11:04:32.226]tcp_slowtmr: processing active pcb
[11:04:32.715]tcp_slowtmr: processing active pcb
[11:04:32.715]tcp_slowtmr: polling application
[11:04:32.715]tcp_slowtmr: processing active pcb
[11:04:32.715]tcp_slowtmr: polling application
[11:04:32.715]tcp_slowtmr: processing active pcb
[11:04:32.715]tcp_slowtmr: polling application
[11:04:32.715]tcp_slowtmr: processing active pcb
[11:04:32.715]tcp_slowtmr: polling application
[11:04:32.715]tcp_slowtmr: processing active pcb
[11:04:33.205]tcp_slowtmr: polling application
[11:04:33.205]tcp_slowtmr: processing active pcb
[11:04:33.205]tcp_slowtmr: polling application
[11:04:33.205]tcp_slowtmr: processing active pcb
[11:04:33.205]tcp_slowtmr: polling application
[11:04:33.205]tcp_slowtmr: processing active pcb
[11:04:33.205]tcp_slowtmr: polling application
[11:04:33.205]tcp_slowtmr: processing active pcb
[11:04:33.205]tcp_slowtmr: polling application
[11:04:33.205]tcp_slowtmr: processing active pcb
[11:04:33.696]tcp_slowtmr: processing active pcb
[11:04:33.696]tcp_slowtmr: polling application
[11:04:33.696]tcp_slowtmr: processing active pcb
[11:04:33.696]tcp_slowtmr: polling application
[11:04:33.696]tcp_slowtmr: processing active pcb
[11:04:33.696]tcp_slowtmr: polling application
[11:04:33.696]tcp_slowtmr: processing active pcb
[11:04:33.696]tcp_slowtmr: polling application
[11:04:33.696]tcp_slowtmr: processing active pcb
[11:04:34.186]tcp_slowtmr: polling application
[11:04:34.186]tcp_slowtmr: processing active pcb
[11:04:34.186]tcp_slowtmr: polling application
[11:04:34.186]tcp_slowtmr: processing active pcb
[11:04:34.186]tcp_slowtmr: polling application
[11:04:34.186]tcp_slowtmr: processing active pcb
[11:04:34.186]tcp_slowtmr: polling application
[11:04:34.186]tcp_slowtmr: processing active pcb
[11:04:34.186]tcp_slowtmr: polling application
[11:04:34.186]tcp_slowtmr: processing active pcb
[11:04:34.671]tcp_slowtmr: processing active pcb
[11:04:34.671]tcp_slowtmr: polling application
[11:04:34.671]tcp_slowtmr: processing active pcb
[11:04:34.671]tcp_slowtmr: polling application
[11:04:34.671]tcp_slowtmr: processing active pcb
[11:04:34.671]tcp_slowtmr: polling application
[11:04:34.671]tcp_slowtmr: processing active pcb
[11:04:34.671]tcp_slowtmr: polling application
[11:04:34.671]tcp_slowtmr: processing active pcb
[11:04:35.166]tcp_slowtmr: polling application
[11:04:35.166]tcp_slowtmr: processing active pcb
[11:04:35.166]tcp_slowtmr: polling application
[11:04:35.166]tcp_slowtmr: processing active pcb
[11:04:35.166]tcp_slowtmr: polling application
[11:04:35.166]tcp_slowtmr: processing active pcb
[11:04:35.166]tcp_slowtmr: polling application
[11:04:35.166]tcp_slowtmr: processing active pcb
[11:04:35.166]tcp_slowtmr: polling application
[11:04:35.166]tcp_slowtmr: processing active pcb
[11:04:35.655]tcp_slowtmr: processing active pcb
[11:04:35.655]tcp_slowtmr: polling application
[11:04:35.655]tcp_slowtmr: processing active pcb
[11:04:35.655]tcp_slowtmr: polling application
[11:04:35.655]tcp_slowtmr: processing active pcb
[11:04:35.655]tcp_slowtmr: polling application
[11:04:35.655]tcp_slowtmr: processing active pcb
[11:04:35.655]tcp_slowtmr: polling application
[11:04:35.655]tcp_slowtmr: processing active pcb
[11:04:36.145]tcp_slowtmr: polling application
[11:04:36.145]tcp_slowtmr: processing active pcb
[11:04:36.145]tcp_slowtmr: polling application
[11:04:36.145]tcp_slowtmr: processing active pcb
[11:04:36.145]tcp_slowtmr: polling application
[11:04:36.145]tcp_slowtmr: processing active pcb
[11:04:36.145]tcp_slowtmr: polling application
[11:04:36.145]tcp_slowtmr: processing active pcb
[11:04:36.145]tcp_slowtmr: polling application
[11:04:36.145]tcp_slowtmr: processing active pcb
[11:04:36.636]tcp_slowtmr: processing active pcb
[11:04:36.636]tcp_slowtmr: polling application
[11:04:36.636]tcp_slowtmr: processing active pcb
[11:04:36.636]tcp_slowtmr: polling application
[11:04:36.636]tcp_slowtmr: processing active pcb
[11:04:36.636]tcp_slowtmr: polling application
[11:04:36.636]tcp_slowtmr: processing active pcb
[11:04:36.636]tcp_slowtmr: polling application
[11:04:36.636]tcp_slowtmr: processing active pcb
[11:04:37.125]tcp_slowtmr: polling application
[11:04:37.125]tcp_slowtmr: processing active pcb
[11:04:37.125]tcp_slowtmr: polling application
[11:04:37.125]tcp_slowtmr: processing active pcb
[11:04:37.125]tcp_slowtmr: polling application
[11:04:37.125]tcp_slowtmr: processing active pcb
[11:04:37.125]tcp_slowtmr: polling application
[11:04:37.125]tcp_slowtmr: processing active pcb
[11:04:37.125]tcp_slowtmr: polling application
[11:04:37.125]tcp_slowtmr: processing active pcb
[11:04:37.616]tcp_slowtmr: processing active pcb
[11:04:37.616]tcp_slowtmr: polling application
[11:04:37.616]tcp_slowtmr: processing active pcb
[11:04:37.616]tcp_slowtmr: polling application
[11:04:37.616]tcp_slowtmr: processing active pcb
[11:04:37.616]tcp_slowtmr: polling application
[11:04:37.616]tcp_slowtmr: processing active pcb
[11:04:37.616]tcp_slowtmr: polling application
[11:04:37.616]tcp_slowtmr: processing active pcb
[11:04:38.106]tcp_slowtmr: polling application
[11:04:38.106]tcp_slowtmr: processing active pcb
[11:04:38.106]tcp_slowtmr: polling application
[11:04:38.106]tcp_slowtmr: processing active pcb
[11:04:38.106]tcp_slowtmr: polling application
[11:04:38.106]tcp_slowtmr: processing active pcb
[11:04:38.106]tcp_slowtmr: polling application
[11:04:38.106]tcp_slowtmr: processing active pcb
[11:04:38.106]tcp_slowtmr: polling application
[11:04:38.106]tcp_slowtmr: processing active pcb
[11:04:38.595]tcp_slowtmr: processing active pcb
[11:04:38.595]tcp_slowtmr: polling application
[11:04:38.595]tcp_slowtmr: processing active pcb
[11:04:38.595]tcp_slowtmr: polling application
[11:04:38.595]tcp_slowtmr: processing active pcb
[11:04:38.595]tcp_slowtmr: polling application
[11:04:38.595]tcp_slowtmr: processing active pcb
[11:04:38.595]tcp_slowtmr: polling application
[11:04:38.595]tcp_slowtmr: processing active pcb
[11:04:39.085]tcp_slowtmr: polling application
[11:04:39.085]tcp_slowtmr: processing active pcb
[11:04:39.085]tcp_slowtmr: polling application
[11:04:39.085]tcp_slowtmr: processing active pcb
[11:04:39.085]tcp_slowtmr: polling application
[11:04:39.085]tcp_slowtmr: processing active pcb
[11:04:39.085]tcp_slowtmr: polling application
[11:04:39.085]tcp_slowtmr: processing active pcb
[11:04:39.085]tcp_slowtmr: polling application
[11:04:39.085]tcp_slowtmr: processing active pcb
[11:04:39.582]tcp_slowtmr: processing active pcb
[11:04:39.582]tcp_slowtmr: polling application
[11:04:39.582]tcp_slowtmr: processing active pcb
[11:04:39.582]tcp_slowtmr: polling application
[11:04:39.582]tcp_slowtmr: processing active pcb
[11:04:39.582]tcp_slowtmr: polling application
[11:04:39.582]tcp_slowtmr: processing active pcb
[11:04:39.582]tcp_slowtmr: polling application
[11:04:39.582]tcp_slowtmr: processing active pcb
[11:04:40.065]tcp_slowtmr: polling application
[11:04:40.065]tcp_slowtmr: processing active pcb
[11:04:40.065]tcp_slowtmr: polling application
[11:04:40.065]tcp_slowtmr: processing active pcb
[11:04:40.065]tcp_slowtmr: polling application
[11:04:40.065]tcp_slowtmr: processing active pcb
[11:04:40.065]tcp_slowtmr: polling application
[11:04:40.065]tcp_slowtmr: processing active pcb
[11:04:40.065]tcp_slowtmr: polling application
[11:04:40.065]tcp_slowtmr: processing active pcb
[11:04:40.556]tcp_slowtmr: processing active pcb
[11:04:40.556]tcp_slowtmr: polling application
[11:04:40.556]tcp_slowtmr: processing active pcb
[11:04:40.556]tcp_slowtmr: polling application
[11:04:40.556]tcp_slowtmr: processing active pcb
[11:04:40.556]tcp_slowtmr: polling application
[11:04:40.556]tcp_slowtmr: processing active pcb
[11:04:40.556]tcp_slowtmr: polling application
[11:04:40.556]tcp_slowtmr: processing active pcb
[11:04:41.046]tcp_slowtmr: polling application
[11:04:41.046]tcp_slowtmr: processing active pcb
[11:04:41.046]tcp_slowtmr: polling application
[11:04:41.046]tcp_slowtmr: processing active pcb
[11:04:41.046]tcp_slowtmr: polling application
[11:04:41.046]tcp_slowtmr: processing active pcb
[11:04:41.046]tcp_slowtmr: polling application
[11:04:41.046]tcp_slowtmr: processing active pcb
[11:04:41.046]tcp_slowtmr: polling application
[11:04:41.046]tcp_slowtmr: processing active pcb
[11:04:41.535]tcp_slowtmr: processing active pcb
[11:04:41.535]tcp_slowtmr: polling application
[11:04:41.535]tcp_slowtmr: processing active pcb
[11:04:41.535]tcp_slowtmr: polling application
[11:04:41.535]tcp_slowtmr: processing active pcb
[11:04:41.535]tcp_slowtmr: polling application
[11:04:41.535]tcp_slowtmr: processing active pcb
[11:04:41.535]tcp_slowtmr: polling application
[11:04:41.535]tcp_slowtmr: processing active pcb
[11:04:42.025]tcp_slowtmr: polling application
[11:04:42.025]tcp_slowtmr: processing active pcb
[11:04:42.025]tcp_slowtmr: polling application
[11:04:42.025]tcp_slowtmr: processing active pcb
[11:04:42.025]tcp_slowtmr: polling application
[11:04:42.025]tcp_slowtmr: processing active pcb
[11:04:42.025]tcp_slowtmr: polling application
[11:04:42.025]tcp_slowtmr: processing active pcb
[11:04:42.025]tcp_slowtmr: polling application
[11:04:42.025]tcp_slowtmr: processing active pcb
[11:04:42.519]tcp_slowtmr: processing active pcb
[11:04:42.519]tcp_slowtmr: polling application
[11:04:42.519]tcp_slowtmr: processing active pcb
[11:04:42.519]tcp_slowtmr: polling application
[11:04:42.519]tcp_slowtmr: processing active pcb
[11:04:42.519]tcp_slowtmr: polling application
[11:04:42.519]tcp_slowtmr: processing active pcb
[11:04:42.519]tcp_slowtmr: polling application
[11:04:42.519]tcp_slowtmr: processing active pcb
[11:04:43.006]tcp_slowtmr: polling application
[11:04:43.006]tcp_slowtmr: processing active pcb
[11:04:43.006]tcp_slowtmr: polling application
[11:04:43.006]tcp_slowtmr: processing active pcb
[11:04:43.006]tcp_slowtmr: polling application
[11:04:43.006]tcp_slowtmr: processing active pcb
[11:04:43.006]tcp_slowtmr: polling application
[11:04:43.006]tcp_slowtmr: processing active pcb
[11:04:43.006]tcp_slowtmr: polling application
[11:04:43.006]tcp_slowtmr: processing active pcb
[11:04:43.491]tcp_slowtmr: processing active pcb
[11:04:43.491]tcp_slowtmr: polling application
[11:04:43.491]tcp_slowtmr: processing active pcb
[11:04:43.491]tcp_slowtmr: polling application
[11:04:43.491]tcp_slowtmr: processing active pcb
[11:04:43.491]tcp_slowtmr: polling application
[11:04:43.491]tcp_slowtmr: processing active pcb
[11:04:43.491]tcp_slowtmr: polling application
[11:04:43.491]tcp_slowtmr: processing active pcb
[11:04:43.985]tcp_slowtmr: polling application
[11:04:43.985]tcp_slowtmr: processing active pcb
[11:04:43.985]tcp_slowtmr: polling application
[11:04:43.985]tcp_slowtmr: processing active pcb
[11:04:43.985]tcp_slowtmr: polling application
[11:04:43.985]tcp_slowtmr: processing active pcb
[11:04:43.985]tcp_slowtmr: polling application
[11:04:43.985]tcp_slowtmr: processing active pcb
[11:04:43.985]tcp_slowtmr: polling application
[11:04:43.985]tcp_slowtmr: processing active pcb
[11:04:44.497]tcp_slowtmr: max SYN retries reached
[11:04:44.497]tcp_pcb_purge
[11:04:44.497]tcp_pcb_purge: data left on ->unacked
[11:04:44.497]tcp_slowtmr: processing active pcb
[11:04:44.497]tcp_slowtmr: polling application
[11:04:44.497]tcp_slowtmr: processing active pcb
[11:04:44.497]tcp_slowtmr: polling application
[11:04:44.497]tcp_slowtmr: processing active pcb
[11:04:44.497]tcp_slowtmr: polling application
[11:04:44.497]tcp_slowtmr: processing active pcb
[11:04:44.497]tcp_slowtmr: polling application
[11:04:44.497][FirmWareDownLoad.c ConnectToSocket 298] : ... socket connect failed errno=113
[11:04:44.497][FirmWareDownLoad.c GetFirmware 682] : failed to connect to socket : urlvar.socket = 4
[11:04:44.497][FirmWareDownLoad.c GetFirmware 686] : Socket Connection fail
Regards,
Ritesh Prajapati

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Getting ECONNABORTED when trying to connect()

Postby Ritesh » Mon Oct 08, 2018 11:55 am

Hi Espressif System SDK Developers,

Is there any update regarding this issue or not?
Regards,
Ritesh Prajapati

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Getting ECONNABORTED when trying to connect()

Postby fly135 » Mon Oct 08, 2018 3:36 pm

I can't help but wonder why you don't try building with the latest stable release and check the results yourself. I am able to communicate with HTTP servers just fine with v3.1.

Who is online

Users browsing this forum: Bing [Bot], MicroController and 211 guests