Ultraworg / LEDVANCE_BLE_MESH

17 stars 2 forks source link

Header fields are too long (fixed) #4

Closed benniju closed 1 month ago

benniju commented 2 months ago

I always got the error "Header fields are too long" with the HTTP error code "431 Request Header Fields Too Large" when trying to add or update a device on most browsers/clients. I could fix this error by changing CONFIG_HTTPD_MAX_REQ_HDR_LEN=512 in sdkconfig to 1024 and cleaing the build directory before building again.

Now my lamp works in Home Assistant.

Ultraworg commented 1 month ago

thanks for noticing this. I updated the sdkconfig example accordingly.