This issue was fixed in Web Gateway versions 10.2, 9.2.12, and 8.2.21.
For versions 9.2.12 and 8.2.21, server and client timeouts for haproxy can now be configured via an environment variable.
To configure the variable:
- Go to Configuration, File Editor.
- Open the file mwg.
- In the Editor window, insert the environment variable below any existing entry:
MWG_LB_INACTIVITY_TIMEOUT=(timeout in seconds)
export MWG_LB_INACTIVITY_TIMEOUT
- Save changes.
For the timeout value, use the maximum timeout you have in any setting (by proxy control event or general timeout)
Example:
If the maximum timeout value for a connection in the policy is 1000 seconds, set it as below:
MWG_LB_INACTIVITY_TIMEOUT=1000
export MWG_LB_INACTIVITY_TIMEOUT
In version 10.2, you can configure the setting directly in GUI, no environment variable needed:
- Go to Configuration, Proxies, Proxy HA, Inactivity Timeout
- Change the default value (120 seconds) to the maximum timeout you have in any setting by proxy control event or general timeout.
- Save changes.