Skip to content

Add Documentation for "Header Fields are too long for the server to interpret" error #147

Open
@Nickobellic15X

Description

@Nickobellic15X

Feature request is related to a problem, not sure if it's intended by design, here it is:

When running the "default_demo" example, the code compiles and executes fine, but when trying to connect to the AP the ESP starts, my phone (Android 12) after connecting to the AP mentions that the "Header Fields are too long for the server to interpret", this seems like a common issue in newer phones, I've encountered this issue in Android 11, and iOS 15.

Possible Quick Fix for now:

The solution I found to be working is mentioned here.

In my opinion, this solution should be included in the official documentation.

Steps for mitigating the issue:

  1. Go to the project directory in CMD (or terminal of your choice with ESP-IDF).
  2. Open Menuconfig idf.py menuconfig
  3. Go To Componenet config -> HTTP Server -> Max HTTP URI Length: Change the default value from 512 to 1024.
    image

Thank you,
Nikhil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions