Hi,
I have seen a lot of communication on this error, but did not find a solution.
To avoid the error, I used Firefox on PC and android, but as I want to use Web view in android studio now, I am again facing the same error, which surprised me, as this problem seems already soo old.
In arduino, I already changed httpd_max...., but it did not solve anything.
Is there an IDF version with a solution ?
Will there be a solution in arduino ?
Thanks in advance
Regards
Ludo
Header fields are too long for server to interpret
Re: Header fields are too long for server to interpret
The main issue appears to be that Arduino does not rebuild esp-idf if the configuration is changed. Thus you have two options: either rebuild esp-idf with the appropriate settings and replace the relevant prebuild arduino-eps32 libraries (see this discussion), or get the latest arduino-esp32 release (CONFIG_HTTPD_MAX_REQ_HDR_LEN was bumped to 1024).
Re: Header fields are too long for server to interpret
Hi,
I tried the https_server with IDF environment, and had the same problem with headers too long.
When changing the HTTPD_MAX_REQ_HDR_LEN to1024, the problem was solved.
I am still puzzled why in Arduino, nothing happens when you change the HTTPD_MAX_REQ_HDR_LEN to 1024,
and recompile the program. I am also puzzled that after soo many months of everyone using chrome having the problem, it is simply changed into the core (it is just 1 parameter from 512 to 1024)
As there is no solution, I am trying to solve this by using esp32-arduino-builder, but this is really difficult to find a simple answer to : how do I recompile the library (think I know now), but which part of the recompilation needs to be merged with arduino IDE /how do you do that ?
Has anyone a tuturial or a description of how to use esp32-arduino-builder ?
Thanks in advance
best regards
Ludo
I tried the https_server with IDF environment, and had the same problem with headers too long.
When changing the HTTPD_MAX_REQ_HDR_LEN to1024, the problem was solved.
I am still puzzled why in Arduino, nothing happens when you change the HTTPD_MAX_REQ_HDR_LEN to 1024,
and recompile the program. I am also puzzled that after soo many months of everyone using chrome having the problem, it is simply changed into the core (it is just 1 parameter from 512 to 1024)
As there is no solution, I am trying to solve this by using esp32-arduino-builder, but this is really difficult to find a simple answer to : how do I recompile the library (think I know now), but which part of the recompilation needs to be merged with arduino IDE /how do you do that ?
Has anyone a tuturial or a description of how to use esp32-arduino-builder ?
Thanks in advance
best regards
Ludo
Re: Header fields are too long for server to interpret
Hi,
Thank you for your input.
I installed arduino IDE2.0.0-rc8
I added https://raw.githubusercontent.com/espre ... index.json to the additional boards manager URL's, as per mentioned document.
Unfortunately, I still get the same error: Header fields are too long for server to interpret
What am I still overlooking ?
Regards
Ludo
Thank you for your input.
I installed arduino IDE2.0.0-rc8
I added https://raw.githubusercontent.com/espre ... index.json to the additional boards manager URL's, as per mentioned document.
Unfortunately, I still get the same error: Header fields are too long for server to interpret
What am I still overlooking ?
Regards
Ludo
Re: Header fields are too long for server to interpret
Can you confirm that Arduino is indeed calling the correct version of the esp32 SDK? CONFIG_HTTPD_MAX_REQ_HDR_LEN is set to 1024 according to \esp32-2.0.4\tools\sdk\esp32\sdkconfig.
Did you check the length of the header that is sent to the esp?
Did you check the length of the header that is sent to the esp?
Re: Header fields are too long for server to interpret
Hi,
I cannot check now, have done a complete delete, as I was now getting errors on src/parsebytes.h , fd_forward.h,
Have reinstalled Arduino IDE 2.0.0-rc8
and put https://raw.githubusercontent.com/espre ... index.json in the additional boards manager URLs.
When I look to the boards manager, it shows Esp32 by espressif systems version 1.06
This Arduino 2.0.0-rc8 is installed in c:/programfiles/arduino, but I cannot find any SDKconfig in this directory. In which directory should I look for this ?
Which IDE version should I use with wich version of board library ?
Is it possible to use IDE version 1.8.19 ?...if so, which board library ?
I am sorry about the mess, but difficult to understand what needs to be combined with what/where....
regards
Ludo
I cannot check now, have done a complete delete, as I was now getting errors on src/parsebytes.h , fd_forward.h,
Have reinstalled Arduino IDE 2.0.0-rc8
and put https://raw.githubusercontent.com/espre ... index.json in the additional boards manager URLs.
When I look to the boards manager, it shows Esp32 by espressif systems version 1.06
This Arduino 2.0.0-rc8 is installed in c:/programfiles/arduino, but I cannot find any SDKconfig in this directory. In which directory should I look for this ?
Which IDE version should I use with wich version of board library ?
Is it possible to use IDE version 1.8.19 ?...if so, which board library ?
I am sorry about the mess, but difficult to understand what needs to be combined with what/where....
regards
Ludo
Re: Header fields are too long for server to interpret
Hi,
I installed now also ESP32 v 2.04 again, and found sdkconfig containing the correct value.
But now, getting Compilation error: fd_forward.h: No such file or directory
There seems to be incompatibility between older examples and the new build.
regards
Ludo
I installed now also ESP32 v 2.04 again, and found sdkconfig containing the correct value.
But now, getting Compilation error: fd_forward.h: No such file or directory
There seems to be incompatibility between older examples and the new build.
regards
Ludo
Re: Header fields are too long for server to interpret
Hi,
The header problem is solved now.
CCrause, thank you for your help, you put me in the right direction.
regards
Ludo
The header problem is solved now.
CCrause, thank you for your help, you put me in the right direction.
regards
Ludo
Who is online
Users browsing this forum: Google [Bot] and 204 guests