ESP32 camera works fine, have port forwarded on router. I have no problem accessing in UK, but someone trying to access from outside the UK gets error
Header fields are too long for server to interpret
I am sure the header length must be limited in the web server code somewhere, any suggestions for solving the problem by changing the code or any other means appreciated.
I have one phone which could not start video stream, phone not been updated for months, but after updating the Browser, Chrome in this case the video streaming worked, took some time to work that one out, so always update everything before testing.
Hi Artur.
To be honest, I have no idea on how to solve that problem.
After searching for a while, I’ve seen people with the same problem changing the following setting.
CONFIG_HTTPD_MAX_REQ_HDR_LEN
But I’ve seen this for IDF
(https://esp32.com/viewtopic.php?t=9547
https://www.esp32.com/viewtopic.php?t=8530)
In Arduino IDE, I think you can change this setting by going to your sdkconfig.h file in your ESP32 folder in your Arduino IDE (https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/config/sdkconfig.h)
To access that folder in your computer, open the folder explorer and enter: C:\Users\<YOUR_WINDOWS_USERNAME>\AppData\Local\Arduino15 and press enter key:
Then, go to \packages\esp32\hardware\esp32\1.0.1\tools\sdk
You should find the sdkconfig.h file.
Please note that I couldn’t reproduce that issue, and so I have no idea if this suggestion will work.
Let me know if you were able to solve the problem. That way I know how to advise future doubts about this subject.
Regards,
Sara
Thanks, really appreciate the reply, I have just had another phone on same network overseas connect without issue so seems the problem may not be in the ESP32, I will let you know if I discover why this happens, but will investigate the info you have provided. Thanks again
Hi Arthur, Sara
Have you solved this problem?
When I put ESP to the network through the router, I also have this message : Header fields are too long for server to …
Regards
Mariusz