MDWamp icon indicating copy to clipboard operation
MDWamp copied to clipboard

I am able to connect but I am unable to receive an events from my subscription

Open mpc20001 opened this issue 6 years ago • 0 comments

I am able to connect but I am unable to receive an events from my subscription. I also lose connection after exactly 1 minute which seems fishy, like i never really connected at all and 1 minute is the limit for not detecting a connection. here is the printed info from when I make the initial connection. i am using swift 4.1 with ios 10

info Optional([AnyHashable("roles"): { broker = { features = { "publisher_exclusion" = 1; "subscriber_blackwhite_listing" = 1; "subscriber_metaevents" = 1; }; }; callee = { "call_canceling" = 1; "progressive_call_results" = 1; }; caller = { "call_canceling" = 1; "callee_blackwhite_listing" = 1; "caller_exclusion" = 1; "caller_identification" = 1; "progressive_call_results" = 1; }; dealer = { features = { "caller_identification" = 1; "progressive_call_results" = 1; }; }; publisher = { "publisher_exclusion" = 1; "publisher_identification" = 1; "subscriber_blackwhite_listing" = 1; }; subscriber = { "pattern_based_subscription" = 1; "publication_trustlevels" = 1; }; }, AnyHashable("authmethods"): <__NSArray0 0x6080000013e0>(

) , AnyHashable("transport"): { cookies = ( ); headers = { Connection = ( Upgrade ); Host = ( "sockets_server:5555" ); Origin = ( "https://..com" ); "Sec-WebSocket-Key" = ( "*******" ); "Sec-WebSocket-Protocol" = ( "wamp.2.json" ); "Sec-WebSocket-Version" = ( 13 ); Upgrade = ( websocket ); }; "query_params" = ( ); "transport_address" = "..."; type = ratchet; url = "/server"; }])

After 1 minute my disconnect message is this

  • Stream end encountered code is 1001 - Hopefully you can help diagnose what I am doing wrong.

mpc20001 avatar Aug 16 '18 22:08 mpc20001