Skip to content

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

Description

@mpc20001

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions