Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[not conforming to RTL2g] realtime#close emits detached event on an already detached channel #1088

Closed
tiholic opened this issue Nov 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@tiholic
Copy link

tiholic commented Nov 10, 2020

Which version of the Ably SDK are you using?

1.2.3

On which platform does the issue happen?

iOS13.6

Are you using Cocoapods?

1.9.3

Which version of Xcode are you using?

11.6

What did you do?

Performed these steps in order:

  1. Create realtime instance
  2. Started ChannelState listener on a channel
  3. Connected to realtime
  4. attached to that channel
  5. detached from that channel
  6. closed realtime connection

What did you expect to happen?

Expected channel events in this order: attaching -> attached -> detaching -> detached and expect no more events after detaching from channel.

What happened instead?

Observed channel state change events in this order: attaching -> attached -> detaching -> detached -> detached.
i.e., an extra detached event was emitted after the channel was detached, when realtime close was invoked.

In this extra event, ARTChannelStateChange#previous and ARTChannelStateChange#current are bearing the same values which is against RTL2g

The library must never emit a ChannelState ChannelEvent for a state equal to the previous state

Relevant logs for since step 3 through 6 above:

2020-11-10 22:17:37.163682+0530 Runner[37541:374196] AblyFlutterPlugin.m:246 connectRealtime(AblyFlutterMessage)
2020-11-10 22:17:37.164030+0530 Runner[37541:374196] VERBOSE: (ARTRealtime.m:476) R:0x600001457de0 realtime state transitions to 1 - Connecting
2020-11-10 22:17:37.165373+0530 Runner[37541:374196] DEBUG: RT:0x600001457de0 realtime is transitioning from 0 - Initialized to 1 - Connecting
2020-11-10 22:17:37.167052+0530 Runner[37541:374196] VERBOSE: (ARTWebSocketTransport.m:76) R:0x0 WS:0x600000049500 alloc
2020-11-10 22:17:37.167738+0530 Runner[37541:374196] DEBUG: (ARTWebSocketTransport.m:127) R:0x600001457de0 WS:0x600000049500 websocket connect with key
2020-11-10 22:17:37.168239+0530 Runner[37541:374196] DEBUG: (ARTWebSocketTransport.m:202) R:0x600001457de0 WS:0x600000049500 url wss://sandbox-realtime.ably.io:443/?key=_tmp_r6sEQw.KVX27Q:Di7HC3pWj-LztxeF&echo=true&format=msgpack&v=1.2&lib=cocoa.ios-1.2.3
2020-11-10 22:17:37.212857+0530 Runner[37541:374196] INFO: Reachability: started listening for host sandbox-realtime.ably.io
2020-11-10 22:17:37.213462+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50-ARTRealtimeConnectionEventConnecting
2020-11-10 22:17:37.213623+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50
2020-11-10 22:17:37.246359+0530 Runner[37541:374196] INFO: Reachability: host sandbox-realtime.ably.io is reachable: true
2020-11-10 22:17:37.255736+0530 Runner[37541:374520] flutter: 2020-11-10 22:17:37.251701 : ConnectionStateChange event: ConnectionEvent.connecting
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:17:37.942353+0530 Runner[37541:374495] DEBUG: (ARTWebSocketTransport.m:274) R:0x600001457de0 WS:0x600000049500 websocket did open
2020-11-10 22:17:37.945692+0530 Runner[37541:374495] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:17:37.946034+0530 Runner[37541:374495] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Open state did receive data {length = 399, bytes = 0x85a66163 74696f6e 04ac636f 6e6e6563 ... 65727661 6ccd3a98 }
2020-11-10 22:17:37.954818+0530 Runner[37541:374495] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 399, bytes = 0x85a66163 74696f6e 04ac636f 6e6e6563 ... 65727661 6ccd3a98 }'; got: {
    action = 4;
    connectionDetails =     {
        clientId = "*";
        connectionKey = "e02mEF2LwArRdB!b0fu8nHxeYBbWyvf-c991e02mEF2LwArRdB";
        connectionStateTtl = 120000;
        maxFrameSize = 262144;
        maxIdleInterval = 15000;
        maxInboundRate = 250;
        maxMessageSize = 16384;
        maxOutboundRate = 100;
        serverId = "frontend.3387.1.eu-west-2-A.i-02fd4821d1520cb7c.e02mEF2LwArRdB";
    };
    connectionId = b0fu8nHxeY;
    connectionKey = "e02mEF2LwArRdB!b0fu8nHxeYBbWyvf-c991e02mEF2LwArRdB";
    connectionSerial = "-1";
}
2020-11-10 22:17:37.955357+0530 Runner[37541:374495] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 4;
    connectionDetails =     {
        clientId = "*";
        connectionKey = "e02mEF2LwArRdB!b0fu8nHxeYBbWyvf-c991e02mEF2LwArRdB";
        connectionStateTtl = 120000;
        maxFrameSize = 262144;
        maxIdleInterval = 15000;
        maxInboundRate = 250;
        maxMessageSize = 16384;
        maxOutboundRate = 100;
        serverId = "frontend.3387.1.eu-west-2-A.i-02fd4821d1520cb7c.e02mEF2LwArRdB";
    };
    connectionId = b0fu8nHxeY;
    connectionKey = "e02mEF2LwArRdB!b0fu8nHxeYBbWyvf-c991e02mEF2LwArRdB";
    connectionSerial = "-1";
}
2020-11-10 22:17:37.957705+0530 Runner[37541:374495] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:17:37.958511+0530 Runner[37541:374495] VERBOSE: R:0x600001457de0 set idle timer had been ignored
2020-11-10 22:17:37.958878+0530 Runner[37541:374495] VERBOSE: R:0x600001457de0 did receive Protocol Message Connected (connection state is Connecting)
2020-11-10 22:17:37.961120+0530 Runner[37541:374495] VERBOSE: (ARTRealtime.m:476) R:0x600001457de0 realtime state transitions to 2 - Connected
2020-11-10 22:17:37.962358+0530 Runner[37541:374495] DEBUG: RT:0x600001457de0 realtime is transitioning from 1 - Connecting to 2 - Connected
2020-11-10 22:17:37.966413+0530 Runner[37541:374495] DEBUG: (ARTRealtimeChannel.m:588) RT:0x600001457de0 C:0x600001243640 (test-channel) channel state transitions from 0 - Initialized to 1 - Attaching
2020-11-10 22:17:37.966660+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0-ARTChannelEventAttaching
2020-11-10 22:17:37.966852+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0
2020-11-10 22:17:37.967296+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x6000025e89f0> - 
	 current: Attaching; 
	 previous: Initialized; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:17:37.967605+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x6000025e89f0> - 
	 current: Attaching; 
	 previous: Initialized; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:17:37.967504+0530 Runner[37541:374495] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
    action = 10;
    channel = "test-channel";
}
2020-11-10 22:17:37.969977+0530 Runner[37541:374495] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> encoding '{
    action = 10;
    channel = "test-channel";
}'; got: {length = 30, bytes = 0x82a76368 616e6e65 6cac7465 73742d63 ... a6616374 696f6e0a }
2020-11-10 22:17:37.970741+0530 Runner[37541:374495] DEBUG: (ARTRealtime.m:1159) RT:0x600001457de0 sending action 10 - Attach
2020-11-10 22:17:37.972098+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50-ARTRealtimeConnectionEventConnected
2020-11-10 22:17:37.972902+0530 Runner[37541:374520] flutter: ChannelStateChange: ChannelState.attaching
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:17:37.972942+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50
2020-11-10 22:17:37.976593+0530 Runner[37541:374520] flutter: 2020-11-10 22:17:37.975942 : ConnectionStateChange event: ConnectionEvent.connected
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:17:38.555960+0530 Runner[37541:374495] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:17:38.556327+0530 Runner[37541:374495] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Open state did receive data {length = 81, bytes = 0x84a66163 74696f6e 0ba5666c 616773ce ... 33393338 313a2d31 }
2020-11-10 22:17:38.556863+0530 Runner[37541:374495] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 81, bytes = 0x84a66163 74696f6e 0ba5666c 616773ce ... 33393338 313a2d31 }'; got: {
    action = 11;
    channel = "test-channel";
    channelSerial = "e02CWxTCQArRcp30239381:-1";
    flags = 917504;
}
2020-11-10 22:17:38.557480+0530 Runner[37541:374495] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 11;
    channel = "test-channel";
    channelSerial = "e02CWxTCQArRcp30239381:-1";
    flags = 917504;
}
2020-11-10 22:17:38.557873+0530 Runner[37541:374495] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:17:38.558365+0530 Runner[37541:374495] VERBOSE: R:0x600001457de0 did receive Protocol Message Attached (connection state is Connected)
2020-11-10 22:17:38.558600+0530 Runner[37541:374495] DEBUG: (ARTRealtimeChannel.m:661) R:0x600001457de0 C:0x600001243640 (test-channel) received channel message 11 - Attached
2020-11-10 22:17:38.558843+0530 Runner[37541:374495] DEBUG: (ARTRealtimeChannel.m:664) R:0x600001457de0 C:0x600001243640 (test-channel) <ARTProtocolMessage: 0x6000019486c0> {
 count: 0,
 id: (null),
 action: 11 (Attached),
 channel: test-channel,
 channelSerial: e02CWxTCQArRcp30239381:-1,
 connectionId: (null),
 connectionKey: (null),
 connectionSerial: 0,
 msgSerial: (null),
 timestamp: (null),
 flags: 917504,
 flags.hasPresence: NO,
 flags.hasBacklog: NO,
 flags.resumed: NO,
 messages: (null)
 params: (null)
}
2020-11-10 22:17:38.574660+0530 Runner[37541:374495] DEBUG: (ARTRealtimeChannel.m:588) RT:0x600001457de0 C:0x600001243640 (test-channel) channel state transitions from 1 - Attaching to 2 - Attached
2020-11-10 22:17:38.575030+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0-ARTChannelEventAttached
2020-11-10 22:17:38.575406+0530 Runner[37541:374495] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0
2020-11-10 22:17:38.576226+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x6000025eb570> - 
	 current: Attached; 
	 previous: Attaching; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:17:38.576490+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x6000025eb570> - 
	 current: Attached; 
	 previous: Attaching; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:17:38.578282+0530 Runner[37541:374520] flutter: ChannelStateChange: ChannelState.attached
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:17:52.913126+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:17:52.914497+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Open state did receive data {length = 9, bytes = 0x81a6616374696f6e00}
2020-11-10 22:17:52.915023+0530 Runner[37541:375348] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 9, bytes = 0x81a6616374696f6e00}'; got: {
    action = 0;
}
2020-11-10 22:17:52.915430+0530 Runner[37541:375348] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 0;
}
2020-11-10 22:17:52.916448+0530 Runner[37541:375348] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:17:52.917927+0530 Runner[37541:375348] VERBOSE: R:0x600001457de0 did receive Protocol Message Heartbeat (connection state is Connected)
2020-11-10 22:17:52.918836+0530 Runner[37541:375348] VERBOSE: R:0x600001457de0 heartbeat received
2020-11-10 22:18:03.119793+0530 Runner[37541:374520] flutter: Detaching from channel test-channel: Current state ChannelState.attached
2020-11-10 22:18:03.122764+0530 Runner[37541:374520] flutter: Detached
2020-11-10 22:18:03.125749+0530 Runner[37541:374196] AblyFlutterPlugin.m:246 detachRealtimeChannel(AblyFlutterMessage)
2020-11-10 22:18:03.126154+0530 Runner[37541:374196] DEBUG: (ARTRealtimeChannel.m:588) RT:0x600001457de0 C:0x600001243640 (test-channel) channel state transitions from 2 - Attached to 3 - Detaching
2020-11-10 22:18:03.126337+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0-ARTChannelEventDetaching
2020-11-10 22:18:03.126499+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0
2020-11-10 22:18:03.126731+0530 Runner[37541:374196] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
    action = 12;
    channel = "test-channel";
}
2020-11-10 22:18:03.126930+0530 Runner[37541:374196] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> encoding '{
    action = 12;
    channel = "test-channel";
}'; got: {length = 30, bytes = 0x82a76368 616e6e65 6cac7465 73742d63 ... a6616374 696f6e0c }
2020-11-10 22:18:03.127761+0530 Runner[37541:374196] DEBUG: (ARTRealtime.m:1159) RT:0x600001457de0 sending action 12 - Detach
2020-11-10 22:18:03.128465+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x60000259d170> - 
	 current: Detaching; 
	 previous: Attached; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:18:03.128931+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x60000259d170> - 
	 current: Detaching; 
	 previous: Attached; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:18:03.136671+0530 Runner[37541:374520] flutter: ChannelStateChange: ChannelState.detaching
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:18:03.268986+0530 Runner[37541:375695] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:18:03.269276+0530 Runner[37541:375695] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Open state did receive data {length = 30, bytes = 0x82a66163 74696f6e 0da76368 616e6e65 ... 2d636861 6e6e656c }
2020-11-10 22:18:03.269654+0530 Runner[37541:375695] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 30, bytes = 0x82a66163 74696f6e 0da76368 616e6e65 ... 2d636861 6e6e656c }'; got: {
    action = 13;
    channel = "test-channel";
}
2020-11-10 22:18:03.269961+0530 Runner[37541:375695] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 13;
    channel = "test-channel";
}
2020-11-10 22:18:03.270590+0530 Runner[37541:375695] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:18:03.271322+0530 Runner[37541:375695] VERBOSE: R:0x600001457de0 did receive Protocol Message Detached (connection state is Connected)
2020-11-10 22:18:03.272998+0530 Runner[37541:375695] DEBUG: (ARTRealtimeChannel.m:661) R:0x600001457de0 C:0x600001243640 (test-channel) received channel message 13 - Detached
2020-11-10 22:18:03.273878+0530 Runner[37541:375695] DEBUG: (ARTRealtimeChannel.m:588) RT:0x600001457de0 C:0x600001243640 (test-channel) channel state transitions from 3 - Detaching to 4 - Detached
2020-11-10 22:18:03.274759+0530 Runner[37541:375695] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0-ARTChannelEventDetached
2020-11-10 22:18:03.275424+0530 Runner[37541:375695] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0
2020-11-10 22:18:03.276556+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x600002592ac0> - 
	 current: Detached; 
	 previous: Detaching; 
	 reason: Error 0 - channel has detached (reason: (null)); 
	 resumed: 0;
2020-11-10 22:18:03.276930+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x600002592ac0> - 
	 current: Detached; 
	 previous: Detaching; 
	 reason: Error 0 - channel has detached (reason: (null)); 
	 resumed: 0;
2020-11-10 22:18:03.279535+0530 Runner[37541:374520] flutter: ChannelStateChange: ChannelState.detached
Reason: ErrorInfo message=channel has detached code=null statusCode=null href=null
2020-11-10 22:18:08.062166+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:18:08.062564+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Open state did receive data {length = 9, bytes = 0x81a6616374696f6e00}
2020-11-10 22:18:08.062890+0530 Runner[37541:375348] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 9, bytes = 0x81a6616374696f6e00}'; got: {
    action = 0;
}
2020-11-10 22:18:08.063607+0530 Runner[37541:375348] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 0;
}
2020-11-10 22:18:08.064068+0530 Runner[37541:375348] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:18:08.064381+0530 Runner[37541:375348] VERBOSE: R:0x600001457de0 did receive Protocol Message Heartbeat (connection state is Connected)
2020-11-10 22:18:08.064721+0530 Runner[37541:375348] VERBOSE: R:0x600001457de0 heartbeat received
2020-11-10 22:18:15.723014+0530 Runner[37541:374196] AblyFlutterPlugin.m:246 closeRealtime(AblyFlutterMessage)
2020-11-10 22:18:15.723406+0530 Runner[37541:374196] INFO: Reachability: stopped listening for host sandbox-realtime.ably.io
2020-11-10 22:18:15.723623+0530 Runner[37541:374196] VERBOSE: (ARTRealtime.m:911) R:0x600001457de0 cancel timers
2020-11-10 22:18:15.723820+0530 Runner[37541:374196] VERBOSE: (ARTRealtime.m:476) R:0x600001457de0 realtime state transitions to 5 - Closing
2020-11-10 22:18:15.723967+0530 Runner[37541:374196] DEBUG: RT:0x600001457de0 realtime is transitioning from 2 - Connected to 5 - Closing
2020-11-10 22:18:15.724090+0530 Runner[37541:374196] INFO: Reachability: stopped listening for host (null)
2020-11-10 22:18:15.724257+0530 Runner[37541:374196] DEBUG: (ARTWebSocketTransport.m:108) R:0x600001457de0 WS:0x600000049500 websocket sending action 7 - Close
2020-11-10 22:18:15.724443+0530 Runner[37541:374196] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
    action = 7;
}
2020-11-10 22:18:15.724620+0530 Runner[37541:374196] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> encoding '{
    action = 7;
}'; got: {length = 9, bytes = 0x81a6616374696f6e07}
2020-11-10 22:18:15.724847+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50-ARTRealtimeConnectionEventClosing
2020-11-10 22:18:15.738287+0530 Runner[37541:374196] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50
2020-11-10 22:18:15.739827+0530 Runner[37541:374520] flutter: 2020-11-10 22:18:15.739598 : ConnectionStateChange event: ConnectionEvent.closing
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:18:15.854382+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:347) R:0x600001457de0 WS:0x600000049500 websocket did receive message
2020-11-10 22:18:15.854724+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:373) R:0x600001457de0 WS:0x600000049500 websocket in Closing state did receive data {length = 9, bytes = 0x81a6616374696f6e08}
2020-11-10 22:18:15.855095+0530 Runner[37541:375348] DEBUG: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack> decoding '{length = 9, bytes = 0x81a6616374696f6e08}'; got: {
    action = 8;
}
2020-11-10 22:18:15.855602+0530 Runner[37541:375348] VERBOSE: RS:0x600001942ac0 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
    action = 8;
}
2020-11-10 22:18:15.855986+0530 Runner[37541:375348] VERBOSE: (ARTRealtime.m:1355) R:0x600001457de0 activity
2020-11-10 22:18:15.856928+0530 Runner[37541:375348] VERBOSE: R:0x600001457de0 did receive Protocol Message Closed (connection state is Closing)
2020-11-10 22:18:15.857498+0530 Runner[37541:375348] INFO: R:0x600001457de0 Realtime closed
2020-11-10 22:18:15.858214+0530 Runner[37541:375348] VERBOSE: (ARTRealtime.m:476) R:0x600001457de0 realtime state transitions to 6 - Closed
2020-11-10 22:18:15.858922+0530 Runner[37541:375348] DEBUG: RT:0x600001457de0 realtime is transitioning from 5 - Closing to 6 - Closed
2020-11-10 22:18:15.859607+0530 Runner[37541:375348] INFO: Reachability: stopped listening for host (null)
2020-11-10 22:18:15.860444+0530 Runner[37541:375348] DEBUG: (ARTAuth.m:617) RS:0x600001942ac0 authorization cancelled with (null)
2020-11-10 22:18:15.862517+0530 Runner[37541:375348] DEBUG: (ARTRealtimeChannel.m:588) RT:0x600001457de0 C:0x600001243640 (test-channel) channel state transitions from 4 - Detached to 4 - Detached
2020-11-10 22:18:15.863159+0530 Runner[37541:375348] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0-ARTChannelEventDetached
2020-11-10 22:18:15.864907+0530 Runner[37541:375348] VERBOSE: PublicEventEmitter Notification emitted 0x600000862df0
2020-11-10 22:18:15.865915+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x600002594750> - 
	 current: Detached; 
	 previous: Detached; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:18:15.866064+0530 Runner[37541:375348] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50-ARTRealtimeConnectionEventClosed
2020-11-10 22:18:15.866318+0530 Runner[37541:374196] CHANNEL STATE CHANGED: <ARTChannelStateChange: 0x600002594750> - 
	 current: Detached; 
	 previous: Detached; 
	 reason: (null); 
	 resumed: 0;
2020-11-10 22:18:15.866826+0530 Runner[37541:375348] VERBOSE: PublicEventEmitter Notification emitted 0x600000869e50
2020-11-10 22:18:15.867222+0530 Runner[37541:375348] DEBUG: (ARTWebSocketTransport.m:280) R:0x0 WS:0x600000049500 websocket did disconnect (code 1000) (null)
2020-11-10 22:18:15.867416+0530 Runner[37541:375348] VERBOSE: (ARTWebSocketTransport.m:82) R:0x0 WS:0x600000049500 dealloc
2020-11-10 22:18:15.872521+0530 Runner[37541:374520] flutter: ChannelStateChange: ChannelState.detached
Reason: ErrorInfo message=null code=null statusCode=null href=null
2020-11-10 22:18:15.874561+0530 Runner[37541:374520] flutter: 2020-11-10 22:18:15.874330 : ConnectionStateChange event: ConnectionEvent.closed
Reason: ErrorInfo message=null code=null statusCode=null href=null

┆Issue is synchronized with this Jira Bug by Unito

@ricardopereira
Copy link
Contributor

Reproduced successfully 😄 Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

4 participants