I have mobile strophejs client which has a logic to send CSI unavailable stanza when client is going to background mode. After client is disabled via CSI plugin, it is not able to receive ping requests and response to them and at the result the client connection is closing automatically by ping_timeout after few minutes sitting in background mode.
How to prevent that web-socket session from being killed via ping timeout as client is not longer able to response for ping requests but I want to have that connection to be stable till user will go to the available mode?
In the client app I'm seeing Cannot read property 'send' of null from below code when client is trying to go to available mode after sitting in background mode for a while:
Environment
Configuration (only if needed):
Errors from error.log/crash.log
No errors
Bug description
I have mobile strophejs client which has a logic to send CSI
unavailable
stanza when client is going to background mode. After client is disabled via CSI plugin, it is not able to receive ping requests and response to them and at the result the client connection is closing automatically by ping_timeout after few minutes sitting in background mode.How to prevent that web-socket session from being killed via ping timeout as client is not longer able to response for ping requests but I want to have that connection to be stable till user will go to the available mode? In the client app I'm seeing
Cannot read property 'send' of null
from below code when client is trying to go to available mode after sitting in background mode for a while:(websocket|<0.28201.4>) Closing c2s session for 560dbc22-44df-4f8e-a78e-d615c0e51393@...com/56c385d6-1fd2-4aec-8e6c-9f30f50fa5e2: Connection failed: ping_timeout