Skip to content

http_request.buffer_size_tx probably needs to be raised #44

@the-ress

Description

@the-ress

It seems the buffer size for checking updates is too small.

I created a project off this repo and update checks were always failing:

[15:21:14.099][V][http_request.idf:178][update_task]: redirecting to url: https://github.com:443/[...].manifest.json
[15:21:14.216][V][http_request.idf:178][update_task]: redirecting to url: https://release-assets.githubusercontent.com:443/github-production-release-asset/[...]
[15:21:15.059][VV][esp-idf:000][update_task]: E (21380) HTTP_CLIENT: Out of buffer
[15:21:15.059][E][http_request.idf:183][update_task]: esp_http_client_open failed: ESP_FAIL
[15:21:15.060][E][component:314][update_task]: http_request set Error flag: unspecified
[15:21:16.057][E][component:342]: http_request cleared Error flag

After raising buffer_size_tx to 1024, it seems to work fine:

http_request:
  buffer_size_tx: 1024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions