Idle WebSocket connections are always terminated after the shorter of “timeout client” or “timeout server”. If a shorter “timeout server” or “timeout client” is set in the websocket backend, it is respected, but a longer one is not. Explicitly setting “timeout tunnel” or “option http-tunnel” in the websocket backend has no effect.
The same configuration in 1.6.11 has no such issue.
I have the exact same problem.
Trying to fine tune the timeout settings for websocket.
Using HAProxy 1.7.3.
It closes after the delay configured on “timeout client”.
The manual explicitly mentions that websocket are switching to tunnel mode once established and that only the “timeout tunnel” should apply then, which is NOT the case.
Tested again with the latest 1.7.5.
I takes the lowest value from either “timeout client” or “timeout server” instead of the value of “timeout tunnel”.