Skip to content

OTA Loses Connection #1

@willson556

Description

@willson556

After a number of days, the OTA update checks start to fail with:

2019-05-09 17:20:15.554433 E (91547715) TRANS_SSL: mbedtls_net_connect returned                                                                                                    -42
2019-05-09 17:20:15.555280 E (91547718) HTTP_CLIENT: Connection failed, sock < 0
2019-05-09 17:20:15.558277 E (91547720) ota: HTTP GET request failed: ESP_ERR_HT                                                                                                   TP_CONNECT

It could be that our max number of sockets is too low:

CONFIG_LWIP_MAX_SOCKETS=10

May be worth trying to raise to 32 or so.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions