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've been calling Realtime#channels#get#attach without calling Realtime#connect first
This iteratively tries to attach to the channel and on timeout, RealtimeChannelStatus will be set as suspended. I wasn't sure until paddybyers asked me whether I connected to the realtime instance in the first place!
Suggestion
Improvise VERBOSE/INFO logging on timeout and if realtime instance status is not connected to show:
attach timeout, realtime instance is not connected
retrying attach
NOTE: This enhancement must be done on platform code ably-java and ably-cocoa
Hmm. I just went through conversation and there doesn't seem to be a decision on how to tackle this. Considering this is an issue rooting from the platform implementations I would say they should be handled there. WDYT @QuintinWillison ? If so I can create issues for corresponding platforms
@ikbalkaya yes, please create platform issues and link them back to this issue. This issue should remain open until those dependencies have been updated here.
Why?
I've been calling
Realtime#channels#get#attach
without callingRealtime#connect
firstThis iteratively tries to attach to the channel and on timeout, RealtimeChannelStatus will be set as suspended. I wasn't sure until paddybyers asked me whether I connected to the
realtime
instance in the first place!Suggestion
Improvise
VERBOSE
/INFO
logging on timeout and if realtime instance status is not connected to show:NOTE: This enhancement must be done on platform code
ably-java
andably-cocoa
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: