Websocket connections through AVI L7 Virtual Service are forcefully closed.
search cancel

Websocket connections through AVI L7 Virtual Service are forcefully closed.

book

Article ID: 392066

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

Client traffic through AVI L7 Virtual Service using WebSockets can get forcefully disconnected at predictable intervals.

Environment

This issue affects the following versions of AVI:

30.2.1, 30.2.2 and 31.1.1

 

Cause

This bug causes the client connection using Websockets to be forcefully terminated when the server timeout (knob under pool settings) is reached. This connection will be closed even if the connection is being actively used. 

By default the timeout settings is 60 minutes:

 

 

Resolution

Bug ID: AV-232388
Fix versions: 30.2.2-2p4, 30.2.3, 31.1.1-2p2

In case an upgrade is not an immediate option as a workaround to mitigate how often this issue is seen you can increase the timeout settings of the server timeout to its maximum value of 21600000 milliseconds which is 6 hours: