User1771714573 posted
Hi Santhosh_Periasamy,
This is not a problem of rewriting rules in a reverse proxy, but proxy server.
The task of the header Sec-WebSocket-Accept is to prevent giving the connection as opened when the response is a cached one from a proxy.
You can try to switch to HTTPS and WSS, or directly disable the caching function on ARR, the proxy cannot cache secure connections, the problem may disappear.
Best regards,
Brucz