ansible-role-varnish
ansible-role-varnish copied to clipboard
When internet is slow, getting a timeout log but not getting a callback
Hi @TatankaConCube
I am using this 'connectycube_sdk: ^2.11.2' for adding chat in our application. When the network is good, things work well but when network is flaky i can see the internal logs of timeout but couldn't get the callback.
I tried resetting the timeout too but that too didn't work.
Can you please help with this issue
do you mean this CubeChatConnection.instance.connectionStateStream
listener? could you please provide the log with the 'timeout' issue you say? can you reproduce the same issue in our Chat Sample?
@TatankaConCube yes i did use this as well. Also i have used
CubeChatConnectionSettings.instance.totalReconnections = 1; CubeChatConnectionSettings.instance.reconnectionTimeout = 300;
the reconnection manager will try to reconnect after losing the connection (the state changes to the ForceClosed
), does the reconnection manager try to reconnect? do you receive the updated state ForceClosed
?
@TatankaConCube yes it tries to reconnect. But after all the tries fail it doesnot give the timeout callback.
could you please provide the full log that contains the described issue?