espressif / esp-thread-br

Espressif Thread Border Router SDK
Apache License 2.0
91 stars 18 forks source link

Form thread network in Web GUI doesn't work (TZ-989) #78

Open jeremyherbert opened 6 days ago

jeremyherbert commented 6 days ago

I am trying to form a network using the web GUI and the default settings in the GUI, but I get an error message:

SCR-20240704-pxsp

SCR-20240704-pxun

It appears that the webserver on the ESP32-S3 (thread border router dev kit) is rejecting the POST request:

SCR-20240704-pyds

I am using Chrome Version 126.0.6478.127 (Official Build) (x86_64)

jeremyherbert commented 6 days ago

The fix is to go into menuconfig and change Component config => HTTP Server => Max HTTP Request Header Length to a bigger number (I changed from 512 to 2048). Perhaps the default values should be updated in the project? My HTTP headers are nothing unusual, so it seems like the default value is not large enough.