0

I have used the official sample code to build up a webserver for esp32 cam. However, when I tried to make it accessible everywhere by using ngrok, I kept getting the 'Header fields are too long for server to interpret' error. I have tried changing the CONFIG_HTTPD_MAX_REQ_HDR_LEN in sdkconfig file to 1024 and 2048, but it did not work. Any help is appreciated!

The solution I have tried (did not work for me): ESP32 httpd: Header fields are too long for the server to interpret

高造擎
  • 71
  • 5
  • I had this happen to me as well. I increased to HRR_LEN to 1024 but still received the error. Once I walked away for a moment, it came to me. Try clearing all cache/cookies. – wildernessfamily Nov 20 '22 at 19:32

0 Answers0