Question Michael Loutraris · Nov 10, 2016

%CSP.Websocket and Timeouts

We are trying to understand how websocket connections from a javascript client may timeout in cache. Does anyone know if and of the session timeout or any other timeouts apply to any synchronous websocket connections? I have not been able to prove that they do timeout at all.

Comments

Dmitry Maslennikov · Nov 10, 2016

Do you have any issues with it, can you explain what are you asking for exactly?

0
Michael Loutraris  Nov 10, 2016 to Dmitry Maslennikov

Well we are seeing web socket connections going away and we don't know if it is timeout related. We want to know definitively if there is one so we can try and adjust.

0
Tomas Vaverka · Nov 10, 2016

AFAIK there is not any default timeout on Caché WebSocket implementation in the Caché server or CSP gateway. It  just open a persistent connection between CSP Gateway and Caché server (if SharedConnection=0) to allow to exchange messages.

If the connection is closed for some reason, I would start to look at some intermediates - like firewall, proxy or any other tool which could close the connection. 

Or maybe your websocket implementation does it?

0
Michael Loutraris  Nov 10, 2016 to Tomas Vaverka

Thank you and we are looking at those as we speak, but we want to definitely rule it out. Is there any way to get a concrete answer? Should I put in a WRC? We just need to be 100% sure.

0
Michael Loutraris  Nov 11, 2016 to Michael Loutraris

As a followup, we were able to find the problem, it was in our processing code and not timeout related. Thanks to all.

0