You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
battuashwik [8:11 PM] @WolframHempel@yasserf i notice that the javascript client doesn't change state even when i turn off the deepstream server
[8:11]
ideally it should turn the connectionState to closed or error??
wolframhempel [8:13 PM]
that's strange - it should (and so far always reliably has) - it will change the state to reconnecting upon connectionloss
battuashwik [8:13 PM]
I have disabled reconnections by setting maxreconnectionAttempts to 0
[8:13]
i need a reconnecting strategy where it should continuously try ever 4 seconds
wolframhempel [8:14 PM]
ok...
battuashwik [8:14 PM]
currently u have only exponential backoff reconnecting strategy which wont work for me
wolframhempel [8:15 PM]
ok, first things first - you don't receive any connectionStateChanged events and getConnectionState() continues to return open even after the connection is lost?
battuashwik [8:15 PM]
that i haven't checked
[8:15]
i mean connectionStateChanged doesn't emit
[8:15]
i haven't checked the getConnectionState manually
[8:15]
i ll add a inteval timer and let you know in 5 min
wolframhempel [8:17 PM]
cheers - to achieve the reconnection behaviour you've described, could you configure your client with
maxReconnectAttempts: Infinity
battuashwik [8:19 PM]
uploaded this image: Screen Shot 2017-01-22 at 12.49.27 AM.png
Add Comment
battuashwik [8:20 PM]
connection state is open even when the server is shutdown
[8:21]
Ahh i will try that config
wolframhempel [8:22 PM]
thanks - We'll look into it. I'm wondering if there's something about the maxReconnectInterval setting at 0 that makes it believe its done reconnecting
The text was updated successfully, but these errors were encountered:
battuashwik [8:11 PM]
@WolframHempel @yasserf i notice that the javascript client doesn't change state even when i turn off the deepstream server
[8:11]
ideally it should turn the connectionState to closed or error??
wolframhempel [8:13 PM]
that's strange - it should (and so far always reliably has) - it will change the state to reconnecting upon connectionloss
battuashwik [8:13 PM]
I have disabled reconnections by setting maxreconnectionAttempts to 0
[8:13]
i need a reconnecting strategy where it should continuously try ever 4 seconds
wolframhempel [8:14 PM]
ok...
battuashwik [8:14 PM]
currently u have only exponential backoff reconnecting strategy which wont work for me
wolframhempel [8:15 PM]
ok, first things first - you don't receive any
connectionStateChanged
events andgetConnectionState()
continues to return open even after the connection is lost?battuashwik [8:15 PM]
that i haven't checked
[8:15]
i mean connectionStateChanged doesn't emit
[8:15]
i haven't checked the getConnectionState manually
[8:15]
i ll add a inteval timer and let you know in 5 min
wolframhempel [8:17 PM]
cheers - to achieve the reconnection behaviour you've described, could you configure your client with
battuashwik [8:19 PM]
uploaded this image: Screen Shot 2017-01-22 at 12.49.27 AM.png
Add Comment
battuashwik [8:20 PM]
connection state is open even when the server is shutdown
[8:21]
Ahh i will try that config
wolframhempel [8:22 PM]
thanks - We'll look into it. I'm wondering if there's something about the maxReconnectInterval setting at 0 that makes it believe its done reconnecting
The text was updated successfully, but these errors were encountered: