Summary
When you try to upload a file to a web server, you get an HTTP 504 error.
You have the following topology:
Client machine > HTTP proxy > InterScan VirusWall (ISVW) 6.02 Linux or ISVW 7.0 Windows > Internet
Details
Root cause
ISVW successfully forwarded the POST request to the web server, but the web server did not finish the HTTP response in 60 seconds. As a result, the connection timed out with an “HTTP/1.0 504 Gateway Timeout” error message.
The response content showed that the server was providing a progress report through the same HTTP response, as shown below:
<script type="text/javascript">setProgress(168,691)</script>
3d
<script type="text/javascript">setProgress(169,691)</script>
3d
<script type="text/javascript">setProgress(170,691)</script>
3d
<script type="text/javascript">setProgress(169,691)</script>
3d
<script type="text/javascript">setProgress(170,691)</script>
The HTTP trickling feature did not help because the progress report data is very small.
Workaround
As a workaround, bypass the scanning of HTTP responses from the specific web server:
- Open this file:
- For Windows: <ISVW_Installation_folder>\http\conf\ServerIPWhiteList.ini
- For Linux: <ISVW_Installation_folder>/http/conf/ServerIPWhiteList.ini
- Add the web server's IP address(es) at the bottom, as shown below:
#Bypass scanning HTTP response from web server with progress report
192.xxx.xx.xx - Save the changes and then restart the InterScan VirusWall service.