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

subscription time out after unsubscribe #4

Closed
mporeh opened this issue Mar 20, 2013 · 3 comments
Closed

subscription time out after unsubscribe #4

mporeh opened this issue Mar 20, 2013 · 3 comments

Comments

@mporeh
Copy link

mporeh commented Mar 20, 2013

i have an ios app which for ever room a user enters theirs is a pubnub subscription created with the room id, when the user leaves the room an unsubscribe call is made.

my issue is that if i enter the room,,, chat a bit, exit it and then enter the same room again, the newest subscription call fails due to timeout

@traderd65
Copy link

Can you please email a description of your use case, including SDK version to help @ pubnub . com or submit it at: https://help.pubnub.com/anonymous_requests/new

@mporeh
Copy link
Author

mporeh commented Mar 20, 2013

i am not sure where in the pubnub.com website to do this... also
after a bit more testing i realized that the second subscription always fails regardless of what was the first subscription.. so to sum things up the scenario i am having is as follows (pubnub ios sdk 3.4)

1 - [PubNub subscribeOnChannel:[PNChannel channelWithName:@"111111"
shouldObservePresence:NO] withPresenceEvent:NO];
// success

2 - [PubNub unsubscribeFromChannel:[PNChannel channelWithName:@"111111"
shouldObservePresence:NO] withPresenceEvent:NO];

// success

3 - [PubNub subscribeOnChannel:[PNChannel channelWithName:@"222222"
shouldObservePresence:NO] withPresenceEvent:NO];

// failed on timeout

@geremyCohen
Copy link
Contributor

Issue continued via support ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants