-
Notifications
You must be signed in to change notification settings - Fork 25
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
1.0 auth flow doesn't work? #622
Comments
Possibly relevant: transportReconnectWithRenewedToken just calls transportConnectForcingNewToken with forceNewToken: true, which appears to trigger a close and reopen of the transport: https://github.com/ably/ably-ios/blob/master/Source/ARTRealtime.m#L796 . (Even so, that claims to do so with resume options, so perhaps there's a second bug for why that doesn't cause the transport to attempt a resume) |
Fixes #622. The test suite has a few broken tests. I don't think they're caused by this change, although I haven't checked. We probably should take a deeper look at them before doing a release.
I haven't explicitly for this case, since it no longer exists. However, we test by spec item, and there are tests checking that e. g. DISCONNECTED and then CONNECTED connections are resumed properly. |
Fixes #622. The test suite has a few broken tests. I don't think they're caused by this change, although I haven't checked. We probably should take a deeper look at them before doing a release.
Customer points out that on getting a new token (as requested by the server sending an AUTH), instead of sending the token in its own AUTH message, the library appears to disconnect and start a new websocket connection, without even attempting a resume. (Note wss url at 18:52:09.869, no
resume
param)The text was updated successfully, but these errors were encountered: