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
I set my iPhone to flight mode and the connection moved to DISCONNECTED as expected but the connection retrial seems to not respect RTN14e.
(RTN14e) Once the connection state has been in the DISCONNECTED state for more than the default connectionStateTtl, the state will change to SUSPENDED and be emitted with the reason, and the Connection#errorReason will be updated. In this state, a new connection attempt will be made periodically as specified within suspendedRetryTimeout of ClientOptions.
The network connection is down: moves to DISCONNECTED and retries after 15s again and again until the connectionStateTtl is reached and then it moves to SUSPENDED. The connection retries after 30s (SUSPENDED -> CONNECTING) but fails and moves to DISCONNECTED. Then the library starts again with retrials of 15s (DISCONNECTED to CONNECTING).
Which version of the Ably SDK are you using?
v1.1.11 - Beta 1
On which platform does the issue happen?
iOS 13
Which version of Xcode are you using?
Xcode 11.1
What did you do?
I set my iPhone to flight mode and the connection moved to
DISCONNECTED
as expected but the connection retrial seems to not respect RTN14e.The network connection is down: moves to
DISCONNECTED
and retries after 15s again and again until theconnectionStateTtl
is reached and then it moves toSUSPENDED
. The connection retries after 30s (SUSPENDED
->CONNECTING
) but fails and moves toDISCONNECTED
. Then the library starts again with retrials of 15s (DISCONNECTED to CONNECTING).What did you expect to happen?
Moving from
DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
... after TTL -->SUSPENDED
(30s) ->CONNECTING
(fails) ->SUSPENDED
(30s) ->CONNECTING
(fails) ->SUSPENDED
(30s) ...What happened instead?
Moving from
DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
... after TTL -->SUSPENDED
(30s) ->CONNECTING
(fails) ->DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
(15s) ->CONNECTING
(fails) ->DISCONNECTED
... after TTL -->SUSPENDED
(30s).The text was updated successfully, but these errors were encountered: