Technical Tip: JavaScript Files Fail to Load with ERR_INCOMPLETE_CHUNKED_ENCODING Due to Chunked Response Handling in FortiWeb
| Description | This article describes a scenario where web applications protected by FortiWeb fail to load JavaScript resources, resulting in browser errors such as ‘ERR_INCOMPLETE_CHUNKED_ENCODING’ or ‘NS_ERROR_NET_PARTIAL_TRANSFER’. The backend server responds with HTTP 200 using chunked transfer encoding. However, the response may not be fully delivered to the browser when processed by FortiWeb, leading to incomplete content delivery. |
| Scope | FortiWeb. |
| Solution | FortiWeb’s default HTTP parser size can be too small for certain large, chunked responses. When the response exceeds this limit, FortiWeb truncates the data before forwarding it to the client.
The error is cleared after the above configuration is applied to the respective Server Policy.
Parameter notes:
Related document: |


