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