Problem
Error Messages
During FlexNet Code Insight operations, the operation might get interrupted because of the following error messages:
Error 1
An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.
Error 2
org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
Note: Further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [HELP0x0d0x0aEHLO ]. HTTP method names must be tokens
Root Cause
This error occurs when the size of the HTTP response headers exceeds the configured buffer limit (maxHttpHeaderSize) in the Tomcat server configuration. Code Insight runs on Apache Tomcat, and its default HTTP header buffer size may not be sufficient for certain operations, particularly during product startup or when performing tasks such as creating or updating inventories and executing project-related API interactions.
Effects
- Product startup failure.
- Failed API calls.
- Unexpected behavior such as:
- Inventories not being created.
- Inventories not being published.
- General instability in FNCI services.
To resolve this issue, increase the maxHttpHeaderSize value in the Tomcat configuration.
To increase the maxHttpHeaderSize value:
- Navigate to the Tomcat Configuration Directory:
Path:<codeInsightInstallDir>/tomcat/conf - Edit the
server.xmlFile:- Locate the
<Connector>tag under the (FlexNet Code Insight) FNCI SSL section. - Modify or add the
maxHttpHeaderSizeattribute. - Increase the attribute size to "65536" i.e. 64 Kilobytes.
The configuration should look like the following:<!-- FNCI SSL: Edit this section to match your certificate information --> <Connector protocol="org.apache.coyote.http11.Http11Protocol" port="8888" minSpareThreads="25" enableLookups="false" disableUploadTimeout="true" acceptCount="100" maxThreads="150" maxHttpHeaderSize="65536" scheme="https" secure="true" SSLEnabled="true" keystoreFile="codeinsight.jks" keystorePass="codeinsight" keyAlias="codeinsightAlias" keyPass="codeinsightPass" clientAuth="false" sslProtocol="TLS" /> - Locate the
- After saving the changes, restart the Tomcat server to apply the new configuration.
NOTE: The recommended value for maxHttpHeaderSize is 16384 bytes as per the Code Insight Installation and Configuration Guide. However, some API calls may require a larger buffer size, up to 65536 bytes (64KB)—to function correctly without triggering this error.
NOTE: The following issue is only observed in an SSL-enabled environment.
After performing the suggested steps, the product should work properly and as expected.
Related Articles
Code Insight FAQ 22Number of Views "Arithmetic overflow error converting expression to data type int." when importing PO data 10Number of Views FlexNet Code Insight 2018 R3 Upgrade Guide 16Number of Views Code Insight Reports 8Number of Views "Arithmetic overflow error converting IDENTITY to data type int." error when running a custom business adapter 18Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago